net: move stale comment about ntuple validation
Subsystems (3)
Jakub Kicinski
maintainerPATCH 1/1 net: move stale comment about ntuple validation
Gal points out that the comment now belongs further down, since
the original if condition was split into two in
commit de7f7582dff2 ("net: ethtool: prevent flow steering to RSS contexts which don't exist")
---
CC: Gal Pressman <[email protected]>
CC: [email protected]
CC: [email protected]
--- net/ethtool/ioctl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
net/ethtool/ioctl.c +3 -1
@@ -992,8 +992,10 @@ static noinline_for_stack int ethtool_set_rxnfc(struct net_device *dev,if (rc)return rc; -/* Nonzero ring with RSS only makes sense if NIC adds them together */ if (cmd ==ETHTOOL_SRXCLSRLINS && info.fs.flow_type &FLOW_RSS ) { +/* Nonzero ring with RSS only makes sense +* if NIC adds them together +*/ if (!ops->cap_rss_rxnfc_adds &ðtool_get_flow_spec_ring (info.fs.ring_cookie))return -EINVAL ;
Signature · 1 line
2.48.1
Quoted 6 lines · Jakub Kicinski
Gal points out that the comment now belongs further down, since
the original if condition was split into two in
commitde7f7582dff2("net: ethtool: prevent flow steering to RSS contexts which don't exist")
Thanks,
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Fri, 14 Feb 2025 14:43:40 -0800 you wrote:
Gal points out that the comment now belongs further down, since
the original if condition was split into two in
commitde7f7582dff2("net: ethtool: prevent flow steering to RSS contexts which don't exist")Signed-off-by Jakub Kicinski <[email protected]>[...]
Here is the summary with links:
- [net-next] net: move stale comment about ntuple validation
https://git.kernel.org/netdev/net-next/c/637026e591fa
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html