diff options
| author | Pavan Chebbi <pavan.chebbi@broadcom.com> | 2026-03-06 14:58:54 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-03-09 19:49:47 -0700 |
| commit | 0d9a60a0618d255530ca56072c5f39eb58e1ed4a (patch) | |
| tree | d3615821c97ceeeba12099c9b9610a2bc0ef8aa8 /tools/perf/scripts/python | |
| parent | 183f682591a932cf80a85bfc7ad748f5d90c2de7 (diff) | |
| download | linux-0d9a60a0618d255530ca56072c5f39eb58e1ed4a.tar.gz linux-0d9a60a0618d255530ca56072c5f39eb58e1ed4a.zip | |
bnxt_en: Fix RSS table size check when changing ethtool channels
When changing channels, the current check in bnxt_set_channels()
is not checking for non-default RSS contexts when the RSS table size
changes. The current check for IFF_RXFH_CONFIGURED is only sufficient
for the default RSS context. Expand the check to include the presence
of any non-default RSS contexts.
Allowing such change will result in incorrect configuration of the
context's RSS table when the table size changes.
Fixes: b3d0083caf9a ("bnxt_en: Support RSS contexts in ethtool .{get|set}_rxfh()")
Reported-by: Björn Töpel <bjorn@kernel.org>
Link: https://lore.kernel.org/netdev/20260303181535.2671734-1-bjorn@kernel.org/
Reviewed-by: Andy Gospodarek <andrew.gospodarek@broadcom.com>
Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Link: https://patch.msgid.link/20260306225854.3575672-1-michael.chan@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
