summaryrefslogtreecommitdiff
path: root/net/ethtool/common.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-07-16 03:03:29 +0300
committerJakub Kicinski <kuba@kernel.org>2025-07-18 02:13:59 +0300
commitd3e2c7bab12409e87bd6b20505c19f5532a727db (patch)
tree6921803e278d95e90a736865c0d111eed731bc25 /net/ethtool/common.h
parentc1b27f0695d65e91878d6ae917c285d3163297e4 (diff)
downloadlinux-d3e2c7bab12409e87bd6b20505c19f5532a727db.tar.xz
ethtool: rss: support setting input-xfrm via Netlink
Support configuring symmetric hashing via Netlink. We have the flow field config prepared as part of SET handling, so scan it for conflicts instead of querying the driver again. Reviewed-by: Gal Pressman <gal@nvidia.com> Link: https://patch.msgid.link/20250716000331.1378807-10-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ethtool/common.h')
-rw-r--r--net/ethtool/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ethtool/common.h b/net/ethtool/common.h
index c41db1595621..b2718afe38b5 100644
--- a/net/ethtool/common.h
+++ b/net/ethtool/common.h
@@ -44,6 +44,7 @@ int ethtool_check_max_channel(struct net_device *dev,
struct ethtool_channels channels,
struct genl_info *info);
int ethtool_check_rss_ctx_busy(struct net_device *dev, u32 rss_context);
+int ethtool_rxfh_config_is_sym(u64 rxfh);
void ethtool_ringparam_get_cfg(struct net_device *dev,
struct ethtool_ringparam *param,