]> www.infradead.org Git - users/willy/pagecache.git/commit
bnxt_en: ethtool: Supply ntuple rss context action
authorDaniel Xu <dxu@dxuuu.xyz>
Wed, 27 Nov 2024 22:58:29 +0000 (15:58 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 30 Nov 2024 22:16:12 +0000 (14:16 -0800)
commitbe75cda92a65a13db242117d674cd5584477a168
tree251e8ba1955f46ba6b0c918f07567c36e9d07967
parentb9653d19e556c6afd035602927a93d100a0d7644
bnxt_en: ethtool: Supply ntuple rss context action

Commit 2f4f9fe5bf5f ("bnxt_en: Support adding ntuple rules on RSS
contexts") added support for redirecting to an RSS context as an ntuple
rule action. However, it forgot to update the ETHTOOL_GRXCLSRULE
codepath. This caused `ethtool -n` to always report the action as
"Action: Direct to queue 0" which is wrong.

Fix by teaching bnxt driver to report the RSS context when applicable.

Fixes: 2f4f9fe5bf5f ("bnxt_en: Support adding ntuple rules on RSS contexts")
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Link: https://patch.msgid.link/2e884ae39e08dc5123be7c170a6089cefe6a78f7.1732748253.git.dxu@dxuuu.xyz
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c