summaryrefslogtreecommitdiff
path: root/net/ethtool/common.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2025-07-18 02:43:37 +0300
committerJakub Kicinski <kuba@kernel.org>2025-07-22 04:20:19 +0300
commit5f5c59b78e5a9389da07c1913dbe5ffd6d2759ee (patch)
tree6ad9263a747c1693605c824df90bac3bd910b164 /net/ethtool/common.h
parent80e55735d5a5a1f765e807d4c38027039f48302f (diff)
downloadlinux-5f5c59b78e5a9389da07c1913dbe5ffd6d2759ee.tar.xz
ethtool: rejig the RSS notification machinery for more types
In anticipation for CREATE and DELETE notifications - explicitly pass the notification type to ethtool_rss_notify(), when calling from the IOCTL code. Reviewed-by: Gal Pressman <gal@nvidia.com> Link: https://patch.msgid.link/20250717234343.2328602-3-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ethtool/common.h')
-rw-r--r--net/ethtool/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ethtool/common.h b/net/ethtool/common.h
index b2718afe38b5..c8385a268ced 100644
--- a/net/ethtool/common.h
+++ b/net/ethtool/common.h
@@ -76,9 +76,10 @@ int ethtool_get_module_eeprom_call(struct net_device *dev,
bool __ethtool_dev_mm_supported(struct net_device *dev);
#if IS_ENABLED(CONFIG_ETHTOOL_NETLINK)
-void ethtool_rss_notify(struct net_device *dev, u32 rss_context);
+void ethtool_rss_notify(struct net_device *dev, u32 type, u32 rss_context);
#else
-static inline void ethtool_rss_notify(struct net_device *dev, u32 rss_context)
+static inline void
+ethtool_rss_notify(struct net_device *dev, u32 type, u32 rss_context)
{
}
#endif