summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/qlcnic
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-02-19 11:58:14 -0800
committerDavid S. Miller <davem@davemloft.net>2017-02-20 11:18:49 -0500
commit0bc3827f8c9f74b5335667d70309cefa12ec14ae (patch)
tree16665e7a0120e7687775e76b1254b371247a2093 /drivers/net/ethernet/qlogic/qlcnic
parent372d504575cbefb34be6a934cc3d3ceb62e0892c (diff)
nfp: allow application firmware to limit number of SR-IOV VFs
Some application firmware projects may choose to limit the number of VFs available below what is specified in PCI capability to be able to reuse the PCIe interface resources. There may also be projects which use cases don't require SR-IOV support at all and therefore don't want to spend time implementing/testing it. Check nfd_vf_cfg_max_vfs firmware symbol to see if application firmware is reporting how many VFs it supports. This mechanism is an opt-in, if symbol is not present we will only look at the PCI capability values. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlcnic')
0 files changed, 0 insertions, 0 deletions