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).
Showing the changes to include/uapi (1 of 8 files). Show all
Unified · Split
| @@ -842,6 +842,7 @@ enum { · 841 unmodified lines | |||
| 842 | ETHTOOL_MSG_TSCONFIG_SET, | 842 | ETHTOOL_MSG_TSCONFIG_SET, |
| 843 | ETHTOOL_MSG_RSS_SET, | 843 | ETHTOOL_MSG_RSS_SET, |
| 844 | ETHTOOL_MSG_RSS_CREATE_ACT, | 844 | ETHTOOL_MSG_RSS_CREATE_ACT, |
| 845 | ETHTOOL_MSG_RSS_DELETE_ACT, | ||
| 845 | 846 | ||
| 846 | __ETHTOOL_MSG_USER_CNT, | 847 | __ETHTOOL_MSG_USER_CNT, |
| 847 | ETHTOOL_MSG_USER_MAX = (__ETHTOOL_MSG_USER_CNT - 1) | 848 | ETHTOOL_MSG_USER_MAX = (__ETHTOOL_MSG_USER_CNT - 1) |
| @@ -901,6 +902,7 @@ enum { · 53 unmodified lines | |||
| 901 | ETHTOOL_MSG_RSS_NTF, | 902 | ETHTOOL_MSG_RSS_NTF, |
| 902 | ETHTOOL_MSG_RSS_CREATE_ACT_REPLY, | 903 | ETHTOOL_MSG_RSS_CREATE_ACT_REPLY, |
| 903 | ETHTOOL_MSG_RSS_CREATE_NTF, | 904 | ETHTOOL_MSG_RSS_CREATE_NTF, |
| 905 | ETHTOOL_MSG_RSS_DELETE_NTF, | ||
| 904 | 906 | ||
| 905 | __ETHTOOL_MSG_KERNEL_CNT, | 907 | __ETHTOOL_MSG_KERNEL_CNT, |
| 906 | ETHTOOL_MSG_KERNEL_MAX = (__ETHTOOL_MSG_KERNEL_CNT - 1) | 908 | ETHTOOL_MSG_KERNEL_MAX = (__ETHTOOL_MSG_KERNEL_CNT - 1) |