Searched hist:"596 f9d55feebdf31c03172fcc82cdec62bb969ea" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_sriov.c | diff 596f9d55feebdf31c03172fcc82cdec62bb969ea Sat Mar 31 19:54:14 CEST 2018 Michael Chan <michael.chan@broadcom.com> 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>
|