diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-07-11 15:07:05 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-12 22:16:22 -0700 |
commit | 667ac333dbb7e265b3f5bc4bc94e236f64682c86 (patch) | |
tree | 5ff0eaab5ddc56c8ac3a2d9d8246f6ef64e9f89f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 28c8757a792bbbc76407777bd0303862daa75057 (diff) |
eth: bnxt: allow deleting RSS contexts when the device is down
Contexts get deleted from FW when the device is down, but they
are kept in SW and re-added back on open. bnxt_set_rxfh_context()
apparently does not want to deal with complexity of dealing with
both the device down and device up cases. This is perhaps acceptable
for creating new contexts, but not being able to delete contexts
makes core-driven cleanups messy. Specifically with the new RSS
API core will try to delete contexts automatically after bringing
the device down.
Support the delete-while-down case. Skip the FW logic and delete
just the driver state.
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Link: https://patch.msgid.link/20240711220713.283778-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions