diff options
author | Michael Chan <michael.chan@broadcom.com> | 2018-11-15 03:25:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-15 09:37:15 -0800 |
commit | 6ba990384e924476b5eed1734f3bcca0df6fd77e (patch) | |
tree | 5777c62bf1fa8eb7d87c2fceae0dc2b0b3a2b536 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f8504f4ca0a0e9f84546ef86e00b24d2ea9a0bd2 (diff) |
bnxt_en: Fix RSS context allocation.
Recent commit has added the reservation of RSS context. This requires
bnxt_hwrm_vnic_qcaps() to be called before allocating any RSS contexts.
The bnxt_hwrm_vnic_qcaps() call sets up proper flags that will
determine how many RSS contexts to allocate to support NTUPLE.
This causes a regression that too many RSS contexts are being reserved
and causing resource shortage when enabling many VFs. Fix it by calling
bnxt_hwrm_vnic_qcaps() earlier.
Fixes: 41e8d7983752 ("bnxt_en: Modify the ring reservation functions for 57500 series chips.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions