diff options
author | Michael Chan <michael.chan@broadcom.com> | 2018-03-31 19:54:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-01 05:24:19 +0200 |
commit | 596f9d55feebdf31c03172fcc82cdec62bb969ea (patch) | |
tree | 20475056b1eacdd610583e3ac709fff97f1a7708 /include/xen | |
parent | bnxt_en: Check max_tx_scheduler_inputs value from firmware. (diff) | |
download | linux-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 'include/xen')
0 files changed, 0 insertions, 0 deletions