summaryrefslogtreecommitdiffstats
path: root/tools/pci
diff options
context:
space:
mode:
authorMichael Chan <michael.chan@broadcom.com>2018-03-31 19:54:14 +0200
committerDavid S. Miller <davem@davemloft.net>2018-04-01 05:24:19 +0200
commit596f9d55feebdf31c03172fcc82cdec62bb969ea (patch)
tree20475056b1eacdd610583e3ac709fff97f1a7708 /tools/pci
parentbnxt_en: Check max_tx_scheduler_inputs value from firmware. (diff)
downloadlinux-596f9d55feebdf31c03172fcc82cdec62bb969ea.tar.xz
linux-596f9d55feebdf31c03172fcc82cdec62bb969ea.zip
bnxt_en: Improve resource accounting for SRIOV.
When VFs are created, the current code subtracts the maximum VF resources from the PF's pool. This under-estimates the resources remaining in the PF pool. Instead, we should subtract the minimum VF resources. The VF minimum resources are guaranteed to the VFs and only these should be subtracted from the PF's pool. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/pci')
0 files changed, 0 insertions, 0 deletions