aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorVikas Gupta <[email protected]>2022-08-22 11:06:53 -0400
committerJakub Kicinski <[email protected]>2022-08-23 15:32:17 -0700
commit09a89cc59ad67794a11e1d3dd13c5b3172adcc51 (patch)
treed991abd9aaa892e4bf9e92df9b1809b2b1ece4cf /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent574b2bb9692fd3d45ed631ac447176d4679f3010 (diff)
bnxt_en: fix NQ resource accounting during vf creation on 57500 chips
There are 2 issues: 1. We should decrement hw_resc->max_nqs instead of hw_resc->max_irqs with the number of NQs assigned to the VFs. The IRQs are fixed on each function and cannot be re-assigned. Only the NQs are being assigned to the VFs. 2. vf_msix is the total number of NQs to be assigned to the VFs. So we should decrement vf_msix from hw_resc->max_nqs. Fixes: b16b68918674 ("bnxt_en: Add SR-IOV support for 57500 chips.") Signed-off-by: Vikas Gupta <[email protected]> Signed-off-by: Michael Chan <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions