[dpdk-dev] [PATCH v2] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-13 Thread Thomas Monjalon
> > max_vfs will only be created by igb_uio driver, for other > > drivers like vfio or pci_uio_generic, max_vfs will miss. > > > > But sriov_numvfs is not driver related, just get the vf numbers > > from that field. > > > > Signed-off-by: Michael Qiu > > I can see a different solution : maybe

[dpdk-dev] [PATCH v2] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-13 Thread Thomas Monjalon
2015-02-13 02:56, Qiu, Michael: > On 2/13/2015 12:26 AM, Thomas Monjalon wrote: > > 2015-02-11 21:25, Michael Qiu: > >> max_vfs will only be created by igb_uio driver, for other > >> drivers like vfio or pci_uio_generic, max_vfs will miss. > >> > >> But sriov_numvfs is not driver related, just get

[dpdk-dev] [PATCH v2] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-13 Thread Qiu, Michael
On 2/12/2015 1:50 PM, David Marchand wrote: > On Wed, Feb 11, 2015 at 2:25 PM, Michael Qiu > wrote: > > max_vfs will only be created by igb_uio driver, for other > drivers like vfio or pci_uio_generic, max_vfs will miss. > > But sriov_numvfs is not

[dpdk-dev] [PATCH v2] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-13 Thread Qiu, Michael
On 2/13/2015 12:26 AM, Thomas Monjalon wrote: > 2015-02-11 21:25, Michael Qiu: >> max_vfs will only be created by igb_uio driver, for other >> drivers like vfio or pci_uio_generic, max_vfs will miss. >> >> But sriov_numvfs is not driver related, just get the vf numbers >> from that field. >> >>

[dpdk-dev] [PATCH v2] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-12 Thread Thomas Monjalon
2015-02-11 21:25, Michael Qiu: > max_vfs will only be created by igb_uio driver, for other > drivers like vfio or pci_uio_generic, max_vfs will miss. > > But sriov_numvfs is not driver related, just get the vf numbers > from that field. > > Signed-off-by: Michael Qiu [...] >

[dpdk-dev] [PATCH v2] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-12 Thread David Marchand
On Wed, Feb 11, 2015 at 2:25 PM, Michael Qiu wrote: > max_vfs will only be created by igb_uio driver, for other > drivers like vfio or pci_uio_generic, max_vfs will miss. > > But sriov_numvfs is not driver related, just get the vf numbers > from that field. > > Signed-off-by: Michael Qiu > ---

[dpdk-dev] [PATCH v2] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-11 Thread Michael Qiu
max_vfs will only be created by igb_uio driver, for other drivers like vfio or pci_uio_generic, max_vfs will miss. But sriov_numvfs is not driver related, just get the vf numbers from that field. Signed-off-by: Michael Qiu --- v2 --> v1: backport for kernel version less than 3.8

[dpdk-dev] [PATCH v2] eal_pci: Fix max_vfs missing for none igb_uio driver

2015-02-11 Thread Qiu, Michael
[+cc] David On 2/11/2015 9:26 PM, Qiu, Michael wrote: > max_vfs will only be created by igb_uio driver, for other > drivers like vfio or pci_uio_generic, max_vfs will miss. > > But sriov_numvfs is not driver related, just get the vf numbers > from that field. > > Signed-off-by: Michael Qiu > ---