summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorEdward Cree <ecree.xilinx@gmail.com>2024-06-27 18:33:50 +0300
committerJakub Kicinski <kuba@kernel.org>2024-06-29 04:53:21 +0300
commit30a32cdf6b130356805b3193a6208de25cbb2015 (patch)
tree68c4bd6cc5472d648343f8c0a4f1ef3bfd776ee1 /include/linux
parent847a8ab186767be6ee95643f9739fa9d0f839589 (diff)
downloadlinux-30a32cdf6b130356805b3193a6208de25cbb2015.tar.xz
net: ethtool: add an extack parameter to new rxfh_context APIs
Currently passed as NULL, but will allow drivers to report back errors when ethnl support for these ops is added. Signed-off-by: Edward Cree <ecree.xilinx@gmail.com> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Link: https://patch.msgid.link/6e0012347d175fdd1280363d7bfa76a2f2777e17.1719502240.git.ecree.xilinx@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ethtool.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index 4292a25b2427..9cdbc8e3ed5c 100644
--- a/include/linux/ethtool.h
+++ b/include/linux/ethtool.h
@@ -1004,13 +1004,16 @@ struct ethtool_ops {
struct netlink_ext_ack *extack);
int (*create_rxfh_context)(struct net_device *,
struct ethtool_rxfh_context *ctx,
- const struct ethtool_rxfh_param *rxfh);
+ const struct ethtool_rxfh_param *rxfh,
+ struct netlink_ext_ack *extack);
int (*modify_rxfh_context)(struct net_device *,
struct ethtool_rxfh_context *ctx,
- const struct ethtool_rxfh_param *rxfh);
+ const struct ethtool_rxfh_param *rxfh,
+ struct netlink_ext_ack *extack);
int (*remove_rxfh_context)(struct net_device *,
struct ethtool_rxfh_context *ctx,
- u32 rss_context);
+ u32 rss_context,
+ struct netlink_ext_ack *extack);
void (*get_channels)(struct net_device *, struct ethtool_channels *);
int (*set_channels)(struct net_device *, struct ethtool_channels *);
int (*get_dump_flag)(struct net_device *, struct ethtool_dump *);