History

ethtool: rss: support removing contexts via Netlink

Implement removing additional RSS contexts via Netlink. Technically it'd be possible to shoehorn the delete operation into ethnl_request_ops-compatible handler. The code ends up longer than open coded version, and I think we'll need a custom way of sending notifications at some stage (if we allow tying the context lifetime to the netlink socket, in the future).

Jakub Kicinski committed 1 year ago

Commit fbe09271 parent a166ab78 files · +153 −1Browse files

Showing the changes to include/uapi (1 of 8 files). Show all

Unified · Split

include/uapi/linux/ethtool_netlink_generated.h+2−0
@@ -842,6 +842,7 @@ enum { · 841 unmodified lines
842842 ETHTOOL_MSG_TSCONFIG_SET,
843843 ETHTOOL_MSG_RSS_SET,
844844 ETHTOOL_MSG_RSS_CREATE_ACT,
845+ ETHTOOL_MSG_RSS_DELETE_ACT,
845846
846847 __ETHTOOL_MSG_USER_CNT,
847848 ETHTOOL_MSG_USER_MAX = (__ETHTOOL_MSG_USER_CNT - 1)
@@ -901,6 +902,7 @@ enum { · 53 unmodified lines
901902 ETHTOOL_MSG_RSS_NTF,
902903 ETHTOOL_MSG_RSS_CREATE_ACT_REPLY,
903904 ETHTOOL_MSG_RSS_CREATE_NTF,
905+ ETHTOOL_MSG_RSS_DELETE_NTF,
904906
905907 __ETHTOOL_MSG_KERNEL_CNT,
906908 ETHTOOL_MSG_KERNEL_MAX = (__ETHTOOL_MSG_KERNEL_CNT - 1)