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

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Feb 13 14:49:23 CET 2015


> > 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 <michael.qiu at intel.com>
> 
> I can see a different solution : maybe faking a sriov_numvfs parameter from
> igb_uio for kernels that don't have it and doing nothing for kernels that
> already provide sriov_numvfs.
> But your solution is more straightforward (and we don't need to update
> documentation and/or existing scripts afaik).
> 
> Acked-by: David Marchand <david.marchand at 6wind.com>

Applied, thanks


More information about the dev mailing list