From owner-svn-src-all@FreeBSD.ORG Wed Jun 30 22:13:24 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B163E1065677; Wed, 30 Jun 2010 22:13:24 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2E8B88FC2D; Wed, 30 Jun 2010 22:13:23 +0000 (UTC) Received: by gxk7 with SMTP id 7so946229gxk.13 for ; Wed, 30 Jun 2010 15:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=XIJRx51XeTiBO+J3ieTjTss4KVLdApG6ODJRjYywt6U=; b=v0DdBNyvkXwI5BQeCqykUu/mSJFTOdFfkrd2DSOqmGXszxkxItbE9D0AtiecupzSpP LWPqi+k6nShMhX1EmBMtILs8TPNiH+Ck5Yfsw3kTVRJu9zODfS+5AqRj2ftq/6KIoQ5a h+B6LeXhsQnQ/nlxnWcJQa11QFaQfUN7pf1Ck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=AY3jVN46Ba3j5aEMSei8B0BuZeX2X+DK4TeyQ0sUbbEF/pZvIzPrxK2lIg6Ov1kVUo +h2MMPLqAFozFRdDd8WH7iI7Gg2c3jHgjGH4dXklOfXEGD9qwzFQrxpjun1TXULmOIFA rH8I00+cpIrAuaR8webpmC3Hh5yD4dqUhzo10= MIME-Version: 1.0 Received: by 10.229.185.19 with SMTP id cm19mr5604826qcb.249.1277935999212; Wed, 30 Jun 2010 15:13:19 -0700 (PDT) Received: by 10.229.250.197 with HTTP; Wed, 30 Jun 2010 15:13:19 -0700 (PDT) In-Reply-To: <4C2BBC1F.6020405@elischer.org> References: <201006301726.o5UHQl7n011935@svn.freebsd.org> <4C2BBC1F.6020405@elischer.org> Date: Wed, 30 Jun 2010 15:13:19 -0700 Message-ID: From: Jack Vogel To: Julian Elischer Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Jack F Vogel , svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r209611 - head/sys/dev/e1000 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2010 22:13:24 -0000 On Wed, Jun 30, 2010 at 2:50 PM, Julian Elischer wrote: > On 6/30/10 10:26 AM, Jack F Vogel wrote: > >> Author: jfv >> Date: Wed Jun 30 17:26:47 2010 >> New Revision: 209611 >> URL: http://svn.freebsd.org/changeset/base/209611 >> >> Log: >> SR-IOV support added to igb >> >> What this provides is support for the 'virtual function' >> interface that a FreeBSD VM may be assigned from a host >> like KVM on Linux, or newer versions of Xen with such >> support. >> >> When the guest is set up with the capability, a special >> limited function 82576 PCI device is present in its virtual >> PCI space, so with this driver installed in the guest that >> device will be detected and function nearly like the bare >> metal, as it were. >> >> The interface is only allowed a single queue in this configuration >> however initial performance tests have looked very good. >> >> Enjoy!! >> >> > do these extra devices turn up in a standard ifconfig output? > in other words, can we assign them to jails using vimage? > > They only show up if configured in the PF host, for instance if using Linux and KVM (I did develop and test with Fedora 13) you must load the igb driver there specifying that you want vf's created and how many. Next in the management of the guest you need to assign one of these vf devices to the guest. After you do all that and load this igb driver then yes, it will look just like a standard igbX device. Not sure if I understand your question, did any of that help? If you mean can FreeBSD make multiple VF's and then manage them with jails, no, that would be to have PF support, and to do that I need SRIOV support in the kernel/pci subsystem. Now, if someone were interested in actually doing that then I'd be happy to implement the full PF/VF capability the way Linux has, but that's a bigger lift. Just let me know if we want to go in that direction. Jack