aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMichael Chan <[email protected]>2023-12-01 14:39:10 -0800
committerJakub Kicinski <[email protected]>2023-12-04 15:12:47 -0800
commit08b386b132c61e06e573d6523a8c0c17b90fb8da (patch)
treec24648e9c21ac8910dea38b3a03aa8281a18a709 /tools/perf/scripts/python/libxed.py
parent91051f003948432f83b5d2766eeb83b2b4993649 (diff)
bnxt_en: Fix backing store V2 logic
The current code determines the last backing store valid type during bnxt_hwrm_func_backing_store_qcaps_v2(). In effect, the last type is determined based on what firmware advertises. The more correct way is to determine it based on what the driver is configuring. The driver may not configure all the backing store types advertised by firmware. Move the logic to determine the last type to bnxt_backing_store_cfg_v2(). We need to pass the legacy enable flags to the function in case only the legacy types are being configured. Fixes: 236e237f8ffe ("bnxt_en: Add support for HWRM_FUNC_BACKING_STORE_CFG_V2 firmware calls") Signed-off-by: Michael Chan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions