From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yu Zhao Subject: Re: [ANNOUNCE] New driver vxge for Neterion's X3100 series 10GbEPCIe adapter Date: Wed, 1 Apr 2009 13:09:40 +0800 Message-ID: <20090401050940.GB11687@yzhao-otc.sh.intel.com> References: <1237018825.4966.412.camel@flash> <20090331061333.GA11240@yzhao-otc.sh.intel.com> <78C9135A3D2ECE4B8162EBDCE82CAD77051BEEA1@nekter> <49D257D0.9050104@intel.com> <78C9135A3D2ECE4B8162EBDCE82CAD77051BF027@nekter> <20090401025327.GA11687@yzhao-otc.sh.intel.com> <78C9135A3D2ECE4B8162EBDCE82CAD77051BF03C@nekter> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Duyck, Alexander H" , Leonid Grossman , Netdev , David Miller To: Ramkrishna Vepa Return-path: Received: from mga02.intel.com ([134.134.136.20]:42902 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751309AbZDAFI6 (ORCPT ); Wed, 1 Apr 2009 01:08:58 -0400 Content-Disposition: inline In-Reply-To: <78C9135A3D2ECE4B8162EBDCE82CAD77051BF03C@nekter> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, Apr 01, 2009 at 11:36:11AM +0800, Ramkrishna Vepa wrote: > > Yes, and that's what the PCI subsystem does. If the vxge VF is > identical > > to its PF, then vxge should be able to drive both PF and VF without > any > > modification. > [Ram] Ok. In that case, is the call to pci_enable/disable_sriov still > required for vxge? Yes, the vxge driver first binds the PF once it's loaded (VF doesn't exist at this time) and calls the SR-IOV API. The VF appears after the SR-IOV is enabled and then the same copy of the vxge driver can bind the VF too if you want to use the VF in the native Linux. Though the hardware is in the SR-IOV mode in this case, it would be equal to the multi-function mode. Or you can assign the VF to the Xen/KVM guest and let another copy of vxge driver (may be vxge for Windows, Solaris, BSD, etc.) running in the guest bind it. Thanks, Yu