[Intel-wired-lan] [PATCH] PCI: allow drivers to limit the number of VFs to 0

Keller, Jacob E jacob.e.keller at intel.com
Fri May 25 17:46:47 UTC 2018


> -----Original Message-----
> From: Bjorn Helgaas [mailto:helgaas at kernel.org]
> Sent: Friday, May 25, 2018 10:01 AM
> To: Jakub Kicinski <jakub.kicinski at netronome.com>
> Cc: Bjorn Helgaas <bhelgaas at google.com>; linux-pci at vger.kernel.org;
> netdev at vger.kernel.org; Sathya Perla <sathya.perla at broadcom.com>; Felix
> Manlunas <felix.manlunas at caviumnetworks.com>;
> alexander.duyck at gmail.com; john.fastabend at gmail.com; Keller, Jacob E
> <jacob.e.keller at intel.com>; Donald Dutile <ddutile at redhat.com>; oss-
> drivers at netronome.com; Christoph Hellwig <hch at infradead.org>; Derek
> Chickles <derek.chickles at caviumnetworks.com>; Satanand Burla
> <satananda.burla at caviumnetworks.com>; Raghu Vatsavayi
> <raghu.vatsavayi at caviumnetworks.com>; Ajit Khaparde
> <ajit.khaparde at broadcom.com>; Sriharsha Basavapatna
> <sriharsha.basavapatna at broadcom.com>; Somnath Kotur
> <somnath.kotur at broadcom.com>; Kirsher, Jeffrey T
> <jeffrey.t.kirsher at intel.com>; intel-wired-lan at lists.osuosl.org
> Subject: Re: [PATCH] PCI: allow drivers to limit the number of VFs to 0
> 
> [+cc liquidio, benet, fm10k maintainers:
> 
>   The patch below will affect you if your driver calls
>     pci_sriov_set_totalvfs(dev, 0);
> 
>   Previously that caused a subsequent pci_sriov_get_totalvfs() to return
>   the totalVFs value from the SR-IOV capability.  After this patch, it will
>   return 0, which has implications for VF enablement via the sysfs
>   "sriov_numvfs" file.]
> 

Thanks. I don't foresee any issues with fm10k regarding this..

Thanks,
Jake


More information about the Intel-wired-lan mailing list