All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yu Zhao <yu.zhao@intel.com>
To: Ramkrishna Vepa <Ramkrishna.Vepa@neterion.com>
Cc: "Duyck, Alexander H" <alexander.h.duyck@intel.com>,
	Leonid Grossman <Leonid.Grossman@neterion.com>,
	Netdev <netdev@vger.kernel.org>,
	David Miller <davem@davemloft.net>
Subject: Re: [ANNOUNCE] New driver vxge for Neterion's X3100 series 10 GbEPCIe adapter
Date: Wed, 1 Apr 2009 10:53:27 +0800	[thread overview]
Message-ID: <20090401025327.GA11687@yzhao-otc.sh.intel.com> (raw)
In-Reply-To: <78C9135A3D2ECE4B8162EBDCE82CAD77051BF027@nekter>

On Wed, Apr 01, 2009 at 10:38:07AM +0800, Ramkrishna Vepa wrote:
> > For the most part I think the bit you would be interested in is the
> > "sysfs" patch, http://patchwork.kernel.org/patch/8066/, which is what
> I
> > had used in the original implementation to enable the VFs.  I am going
> > to push this to a module parameter similar to your max_config_dev.
> The
> > rest of the patches handle PF to VF communications and configuration
> > which it sounds like is handled via firmware for your adapter.
> [Ram]Currently, the messaging interface is not part of this driver
> submission and each function driver is independent of the other - there
> are no dependencies between the PF and the VF driver.
> 
> > Most of the changes you would probably need to make would be in
> > vxge_probe/vxge_remove.  All you would end up needing to do is call
> > pci_enable_sriov(pdev, max_config_dev - 1) on your physical function
> > devices and then you would end up getting exactly as many VFs as you
> > need.  The call should be safe since I am assuming your VFs don't
> > implement their own SR-IOV capability structures.  The cleanup would
> be
> > pretty strait forward as well since you would just need to call
> > pci_disable_sriov in remove.
> [Ram] When the device indicates that it is SRIOV capable in the pci
> config space, why not create the VF pci config spaces as part of the
> enumeration process? This way, there would be no change required for the
> network drivers. 

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.

Thanks,
Yu

  reply	other threads:[~2009-04-01  2:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-14  8:20 [ANNOUNCE] New driver vxge for Neterion's X3100 series 10 GbE PCIe adapter Ramkrishna Vepa
2009-03-14 20:57 ` David Miller
2009-03-15  1:06   ` Ramkrishna Vepa
2009-03-15 23:29     ` Bill Fink
2009-03-15 23:32       ` Ramkrishna Vepa
2009-03-31  6:13 ` Yu Zhao
2009-03-31 14:38   ` [ANNOUNCE] New driver vxge for Neterion's X3100 series 10 GbEPCIe adapter Leonid Grossman
2009-03-31 17:50     ` Alexander Duyck
2009-04-01  2:38       ` Ramkrishna Vepa
2009-04-01  2:53         ` Yu Zhao [this message]
2009-04-01  3:36           ` [ANNOUNCE] New driver vxge for Neterion's X3100 series 10GbEPCIe adapter Ramkrishna Vepa
2009-04-01  5:09             ` Yu Zhao
2009-04-01  5:44               ` [ANNOUNCE] New driver vxge for Neterion's X3100 series10GbEPCIe adapter Leonid Grossman
2009-04-01  6:14                 ` Alexander Duyck
2009-04-01  6:55                 ` Yu Zhao
2009-04-01 14:30                   ` [ANNOUNCE] New driver vxge for Neterion's X3100series10GbEPCIe adapter Leonid Grossman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090401025327.GA11687@yzhao-otc.sh.intel.com \
    --to=yu.zhao@intel.com \
    --cc=Leonid.Grossman@neterion.com \
    --cc=Ramkrishna.Vepa@neterion.com \
    --cc=alexander.h.duyck@intel.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.