Commit be75cda9 authored by Daniel Xu's avatar Daniel Xu Committed by Jakub Kicinski
Browse files

bnxt_en: ethtool: Supply ntuple rss context action



Commit 2f4f9fe5 ("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: 2f4f9fe5 ("bnxt_en: Support adding ntuple rules on RSS contexts")
Reviewed-by: default avatarMichael Chan <michael.chan@broadcom.com>
Signed-off-by: default avatarDaniel Xu <dxu@dxuuu.xyz>
Link: https://patch.msgid.link/2e884ae39e08dc5123be7c170a6089cefe6a78f7.1732748253.git.dxu@dxuuu.xyz


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent b9653d19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment