diff options
| author | Pavan Chebbi <[email protected]> | 2024-04-09 14:54:25 -0700 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-10 19:55:05 -0700 |
| commit | 17b0dfa1f35bf58c17ae75da4af99e6b2c51ed57 (patch) | |
| tree | e9732e7a19f725d97df1e629e7443ae7f81129dd /tools/perf/scripts/python/gecko.py | |
| parent | 930fd7fe10d977ef880654e926b3a2c3dd52c657 (diff) | |
bnxt_en: Skip ethtool RSS context configuration in ifdown state
The current implementation requires the ifstate to be up when
configuring the RSS contexts. It will try to fetch the RX ring
IDs and will crash if it is in ifdown state. Return error if
!netif_running() to prevent the crash.
An improved implementation is in the works to allow RSS contexts
to be changed while in ifdown state.
Fixes: b3d0083caf9a ("bnxt_en: Support RSS contexts in ethtool .{get|set}_rxfh()")
Reviewed-by: Kalesh AP <[email protected]>
Reviewed-by: Somnath Kotur <[email protected]>
Signed-off-by: Pavan Chebbi <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions