From owner-freebsd-net@FreeBSD.ORG Thu May 22 03:58:47 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EACB94C4 for ; Thu, 22 May 2014 03:58:47 +0000 (UTC) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 88290200D for ; Thu, 22 May 2014 03:58:47 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id m15so2782256wgh.4 for ; Wed, 21 May 2014 20:58:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=PHIKTKAGt7t3oJ9pdLaEZE75pmg86cje0b0UWUXlBfA=; b=TNgxL7vz6HUORQMJ8+4rIyqfnazgzeKqzqbX7koS38UhJD9ZeNT4gw/Z9v8Sv18Iqe INYnuJGmcGFwJsAyjUZP/LjWy0t+NcCMZCFq+9SIDpUo4DKCi7S5zZ8FtvQwjsDBnJ8J wR366u3Zm3jh0flY8+ohTj+mv9oppi2TfkRWuRrHgWErTUjRWoqsfh+BlHYWgQ8ZDvfH XaoVv8N/4tyRN/VoWyMyBGJxatuYs5OM3qV0se+a+IBiAQcrZ237lwpC2Adt20E/GXer f2XidNaNCSoh2PqYizQlXM/aj5IBm5VHL5UIupyMxUXFagWybtFK/fuzFmPqtOWjvocG ASVw== MIME-Version: 1.0 X-Received: by 10.194.60.211 with SMTP id j19mr35808081wjr.51.1400731125795; Wed, 21 May 2014 20:58:45 -0700 (PDT) Received: by 10.194.92.144 with HTTP; Wed, 21 May 2014 20:58:45 -0700 (PDT) Date: Thu, 22 May 2014 09:28:45 +0530 Message-ID: Subject: Regarding Netmap in VM From: Prashant Upadhyaya To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 May 2014 03:58:48 -0000 Hi, Suppose I am on x86 with Intel 82599 NIC. Now I spawn a VM (running FreeBSD as guest OS with Netmap support) For better I/O performance, I have two main choices -- 1. Pass the 82599 NIC as a PCI passthrough device into the VM 2. Use SRIOV VF of 82599 into the VM Question is, will Netmap be able to utilize both the above environments when I run the userspace application in the guest OS in the VM, or will there be any issues. Regards -Prashant