Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752998AbYKFQ7G (ORCPT ); Thu, 6 Nov 2008 11:59:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751150AbYKFQ6x (ORCPT ); Thu, 6 Nov 2008 11:58:53 -0500 Received: from kroah.org ([198.145.64.141]:39191 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750920AbYKFQ6w (ORCPT ); Thu, 6 Nov 2008 11:58:52 -0500 Date: Thu, 6 Nov 2008 08:49:19 -0800 From: Greg KH To: H L Cc: Yu Zhao , randy.dunlap@oracle.com, grundler@parisc-linux.org, achiang@hp.com, matthew@wil.cx, linux-pci@vger.kernel.org, rdreier@cisco.com, linux-kernel@vger.kernel.org, jbarnes@virtuousgeek.org, virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, mingo@elte.hu Subject: Re: [PATCH 0/16 v6] PCI: Linux kernel SR-IOV support Message-ID: <20081106164919.GA4099@kroah.com> References: <20081106154351.GA30459@kroah.com> <894107.30288.qm@web45108.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <894107.30288.qm@web45108.mail.sp1.yahoo.com> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1759 Lines: 42 A: No. Q: Should I include quotations after my reply? On Thu, Nov 06, 2008 at 08:41:53AM -0800, H L wrote: > I have not modified any existing drivers, but instead I threw together > a bare-bones module enabling me to make a call to pci_iov_register() > and then poke at an SR-IOV adapter's /sys entries for which no driver > was loaded. > > It appears from my perusal thus far that drivers using these new > SR-IOV patches will require modification; i.e. the driver associated > with the Physical Function (PF) will be required to make the > pci_iov_register() call along with the requisite notify() function. > Essentially this suggests to me a model for the PF driver to perform > any "global actions" or setup on behalf of VFs before enabling them > after which VF drivers could be associated. Where would the VF drivers have to be associated? On the "pci_dev" level or on a higher one? Will all drivers that want to bind to a "VF" device need to be rewritten? > I have so far only seen Yu Zhao's "7-patch" set. I've not yet looked > at his subsequently tendered "15-patch" set so I don't know what has > changed. The hardware/firmware implementation for any given SR-IOV > compatible device, will determine the extent of differences required > between a PF driver and a VF driver. Yeah, that's what I'm worried/curious about. Without seeing the code for such a driver, how can we properly evaluate if this infrastructure is the correct one and the proper way to do all of this? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/