net: ethtool: add dedicated GRXRINGS driver callbacks
Subsystems (5)
v4 cover net: ethtool: add dedicated GRXRINGS driver callbacks
This patchset introduces a new dedicated ethtool_ops callback, .get_rx_ring_count, which enables drivers to provide the number of RX rings directly, improving efficiency and clarity in RX ring queries and RSS configuration.
Number of drivers implements .get_rxnfc callback just to report the ring count, so, having a proper callback makes sense and simplify .get_rxnfc (in some cases remove it completely).
This has been suggested by Jakub, and follow the same idea as RXFH driver callbacks [1].
This also port virtio_net to this new callback. Once there is consensus on this approach, I can start moving the drivers to this new callback.
---
Changes in v4:
- Moved ethtool_get_rx_ring_count() to ethtool/common file (Jakub)
- Keep the check for !ops->get_rxnfc only in ethtool_get_rx_ring_count() (Jakub)
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Make ethtool_get_rx_ring_count() non static and use it in rss_set_prep_indir()
- Check return function of ethtool_get_rx_ring_count() in ethtool_get_rx_ring_count() (Jakub)
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- rename get_num_rxrings() to ethtool_get_rx_ring_count() (Jakub)
- initialize struct ethtool_rxnfc() (Jakub)
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Changes v1 from RFC:
- Renaming and changing the return type of .get_rxrings() callback (Jakub)
- Add the docstring format for the new callback (Simon)
- Remove the unecessary WARN_ONCE() (Jakub)
- Link to RFC: https://lore.kernel.org/r/[email protected]
---
Breno Leitao (8):
net: ethtool: pass the num of RX rings directly to ethtool_copy_validate_indir
net: ethtool: add support for ETHTOOL_GRXRINGS ioctl
net: ethtool: remove the duplicated handling from ethtool_get_rxrings
net: ethtool: add get_rx_ring_count callback to optimize RX ring queries
net: ethtool: update set_rxfh to use ethtool_get_rx_ring_count helper
net: ethtool: update set_rxfh_indir to use ethtool_get_rx_ring_count helper
net: ethtool: use the new helper in rss_set_prep_indir()
net: virtio_net: add get_rxrings ethtool callback for RX ring queries
drivers/net/virtio_net.c | 15 +++-------- include/linux/ethtool.h | 2 ++ net/ethtool/common.c | 20 ++++++++++++++ net/ethtool/common.h | 2 ++ net/ethtool/ioctl.c | 69 +++++++++++++++++++++++++++++++++--------------- net/ethtool/rss.c | 15 +++++------ 6 files changed, 82 insertions(+), 41 deletions(-)
---
base-commit: 5e87fdc37f8dc619549d49ba5c951b369ce7c136
change-id: 20250905-gxrings-a2ec22ee2aec
Best regards,
Signature · 1 line
Breno Leitao <[email protected]>
PATCH v4 1/8 net: ethtool: pass the num of RX rings directly to ethtool_copy_validate_indir
Modify ethtool_copy_validate_indir() and callers to validate indirection table entries against the number of RX rings as an integer instead of accessing rx_rings->data.
This will be useful in the future, given that struct ethtool_rxnfc might not exist for native GRXRINGS call.
--- net/ethtool/ioctl.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
net/ethtool/ioctl.c +5 -5
@@ -1246,8 +1246,8 @@ static noinline_for_stack int ethtool_get_rxnfc(struct net_device *dev, }static int ethtool_copy_validate_indir (u32 *indir,void __user *useraddr, -struct ethtool_rxnfc *rx_rings, -u32 size) +int num_rx_rings, +u32 size) {int i;
@@ -1256,7 +1256,7 @@ static int ethtool_copy_validate_indir(u32 *indir, void __user *useraddr,/* Validate ring indices */ for (i =0 ; i < size; i++) -if (indir[i] >= rx_rings->data) +if (indir[i] >= num_rx_rings)return -EINVAL ;return 0 ;
@@ -1366,7 +1366,7 @@ static noinline_for_stack int ethtool_set_rxfh_indir(struct net_device *dev, }else { ret =ethtool_copy_validate_indir (rxfh_dev.indir, useraddr + ringidx_offset, - &rx_rings, + rx_rings.data, rxfh_dev.indir_size);if (ret) goto out;
@@ -1587,7 +1587,7 @@ static noinline_for_stack int ethtool_set_rxfh(struct net_device *dev, rxfh_dev.indir_size = dev_indir_size; ret =ethtool_copy_validate_indir (rxfh_dev.indir, useraddr + rss_cfg_offset, - &rx_rings, + rx_rings.data, rxfh.indir_size);if (ret) goto out_free;
Signature · 1 line
2.47.3
PATCH v4 2/8 net: ethtool: add support for ETHTOOL_GRXRINGS ioctl
In reply to Breno LeitaoThis patch adds handling for the ETHTOOL_GRXRINGS ioctl command in the ethtool ioctl dispatcher. It introduces a new helper function ethtool_get_rxrings() that calls the driver's get_rxnfc() callback with appropriate parameters to retrieve the number of RX rings supported by the device.
By explicitly handling ETHTOOL_GRXRINGS, userspace queries through ethtool can now obtain RX ring information in a structured manner.
In this patch, ethtool_get_rxrings() is a simply copy of ethtool_get_rxnfc().
--- net/ethtool/ioctl.c | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+)
net/ethtool/ioctl.c +40 -0
@@ -1208,6 +1208,44 @@ static noinline_for_stack int ethtool_set_rxnfc(struct net_device *dev,return 0 ; } +static noinline_for_stack int ethtool_get_rxrings(struct net_device *dev, +u32 cmd, +void __user *useraddr) +{ +struct ethtool_rxnfc info; +size_t info_size =sizeof (info); +const struct ethtool_ops *ops = dev->ethtool_ops; +int ret; +void *rule_buf =NULL ; + +if (!ops->get_rxnfc) +return -EOPNOTSUPP ; + + ret =ethtool_rxnfc_copy_struct (cmd, &info, &info_size, useraddr); +if (ret) +return ret; + +if (info.cmd ==ETHTOOL_GRXCLSRLALL ) { +if (info.rule_cnt >0 ) { +if (info.rule_cnt <=KMALLOC_MAX_SIZE /sizeof (u32)) + rule_buf =kcalloc (info.rule_cnt,sizeof (u32), +GFP_USER ); +if (!rule_buf) +return -ENOMEM ; + } + } + + ret = ops->get_rxnfc (dev, &info, rule_buf); +if (ret <0 ) + goto err_out; + + ret =ethtool_rxnfc_copy_to_user (useraddr, &info, info_size, rule_buf); +err_out: +kfree (rule_buf); + +return ret; +} + static noinline_for_stack int ethtool_get_rxnfc(struct net_device *dev,u32 cmd,void __user *useraddr) {
@@ -3377,6 +3415,8 @@ __dev_ethtool(struct net *net, struct ifreq *ifr, void __user *useraddr, rc =ethtool_set_rxfh_fields (dev, ethcmd, useraddr);break ;case ETHTOOL_GRXRINGS : + rc =ethtool_get_rxrings (dev, ethcmd, useraddr); +break ;case ETHTOOL_GRXCLSRLCNT :case ETHTOOL_GRXCLSRULE :case ETHTOOL_GRXCLSRLALL :
Signature · 1 line
2.47.3
PATCH v4 3/8 net: ethtool: remove the duplicated handling from ethtool_get_rxrings
In reply to Breno Leitaoethtool_get_rxrings() was a copy of ethtool_get_rxnfc(). Clean the code that will never be executed for GRXRINGS specifically.
--- net/ethtool/ioctl.c | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-)
net/ethtool/ioctl.c +10 -23
@@ -1212,52 +1212,39 @@ static noinline_for_stack int ethtool_get_rxrings(struct net_device *dev,u32 cmd, void __user *useraddr) { - struct ethtool_rxnfc info; -size_t info_size =sizeof (info); const struct ethtool_ops *ops = dev->ethtool_ops; +struct ethtool_rxnfc info; +size_t info_size;int ret; -void *rule_buf =NULL ;if (!ops->get_rxnfc)return -EOPNOTSUPP ; + info_size =sizeof (info); ret =ethtool_rxnfc_copy_struct (cmd, &info, &info_size, useraddr);if (ret)return ret; -if (info.cmd ==ETHTOOL_GRXCLSRLALL ) { -if (info.rule_cnt >0 ) { -if (info.rule_cnt <=KMALLOC_MAX_SIZE /sizeof (u32)) - rule_buf =kcalloc (info.rule_cnt,sizeof (u32), -GFP_USER ); -if (!rule_buf) -return -ENOMEM ; - } - } - - ret = ops->get_rxnfc (dev, &info, rule_buf); + ret = ops->get_rxnfc (dev, &info,NULL );if (ret <0 ) - goto err_out; - - ret =ethtool_rxnfc_copy_to_user (useraddr, &info, info_size, rule_buf); -err_out: -kfree (rule_buf); +return ret; -return ret; +return ethtool_rxnfc_copy_to_user (useraddr, &info, info_size,NULL ); } static noinline_for_stack int ethtool_get_rxnfc(struct net_device *dev,u32 cmd,void __user *useraddr) { -struct ethtool_rxnfc info; -size_t info_size =sizeof (info);const struct ethtool_ops *ops = dev->ethtool_ops; -int ret; +struct ethtool_rxnfc info;void *rule_buf =NULL ; +size_t info_size; +int ret;if (!ops->get_rxnfc)return -EOPNOTSUPP ; + info_size =sizeof (info); ret =ethtool_rxnfc_copy_struct (cmd, &info, &info_size, useraddr);if (ret)return ret;
Signature · 1 line
2.47.3
PATCH v4 4/8 net: ethtool: add get_rx_ring_count callback to optimize RX ring queries
In reply to Breno LeitaoAdd a new optional get_rx_ring_count callback in ethtool_ops to allow drivers to provide the number of RX rings directly without going through the full get_rxnfc flow classification interface.
Create ethtool_get_rx_ring_count() to use .get_rx_ring_count if available, falling back to get_rxnfc() otherwise. It needs to be non-static, given it will be called by other ethtool functions laters, as those calling get_rxfh().
--- include/linux/ethtool.h | 2 ++ net/ethtool/common.c | 20 ++++++++++++++++++++ net/ethtool/common.h | 2 ++ net/ethtool/ioctl.c | 8 +++----- 4 files changed, 27 insertions(+), 5 deletions(-)
include/linux/ethtool.h +2 -0
@@ -968,6 +968,7 @@ struct kernel_ethtool_ts_info {* @reset: Reset (part of) the device, as specified by a bitmask of * flags from &enum ethtool_reset_flags. Returns a negative * error code or zero. +* @get_rx_ring_count: Return the number of RX rings * @get_rxfh_key_size: Get the size of the RX flow hash key. * Returns zero if not supported for this specific device. * @get_rxfh_indir_size: Get the size of the RX flow hash indirection table.
@@ -1162,6 +1163,7 @@ struct ethtool_ops {int (*set_rxnfc)(struct net_device *,struct ethtool_rxnfc *);int (*flash_device)(struct net_device *,struct ethtool_flash *);int (*reset)(struct net_device *,u32 *); +u32 (*get_rx_ring_count)(struct net_device *dev);u32 (*get_rxfh_key_size)(struct net_device *);u32 (*get_rxfh_indir_size)(struct net_device *);int (*get_rxfh)(struct net_device *,struct ethtool_rxfh_param *);
net/ethtool/common.c +20 -0
@@ -577,6 +577,26 @@ int __ethtool_get_link(struct net_device *dev)return netif_running (dev) && dev->ethtool_ops->get_link (dev); } +int ethtool_get_rx_ring_count (struct net_device *dev) +{ +const struct ethtool_ops *ops = dev->ethtool_ops; +struct ethtool_rxnfc rx_rings = {}; +int ret; + +if (ops->get_rx_ring_count) +return ops->get_rx_ring_count (dev); + +if (!ops->get_rxnfc) +return -EOPNOTSUPP ; + + rx_rings.cmd =ETHTOOL_GRXRINGS ; + ret = ops->get_rxnfc (dev, &rx_rings,NULL ); +if (ret <0 ) +return ret; + +return rx_rings.data; +} +static int ethtool_get_rxnfc_rule_count (struct net_device *dev) {const struct ethtool_ops *ops = dev->ethtool_ops;
net/ethtool/common.h +2 -0
@@ -54,6 +54,8 @@ void ethtool_ringparam_get_cfg(struct net_device *dev,struct kernel_ethtool_ringparam *kparam, struct netlink_ext_ack *extack); +int ethtool_get_rx_ring_count (struct net_device *dev); +int __ethtool_get_ts_info (struct net_device *dev,struct kernel_ethtool_ts_info *info); int ethtool_get_ts_info_by_phc(struct net_device *dev, struct kernel_ethtool_ts_info *info,
net/ethtool/ioctl.c +3 -5
@@ -1212,23 +1212,21 @@ static noinline_for_stack int ethtool_get_rxrings(struct net_device *dev,u32 cmd, void __user *useraddr) { - const struct ethtool_ops *ops = dev->ethtool_ops; struct ethtool_rxnfc info;size_t info_size;int ret; -if (!ops->get_rxnfc) -return -EOPNOTSUPP ; - info_size =sizeof (info); ret =ethtool_rxnfc_copy_struct (cmd, &info, &info_size, useraddr);if (ret)return ret; - ret = ops->get_rxnfc (dev, &info,NULL ); + ret =ethtool_get_rx_ring_count (dev);if (ret <0 )return ret; + info.data = ret; +return ethtool_rxnfc_copy_to_user (useraddr, &info, info_size,NULL ); }
Signature · 1 line
2.47.3
PATCH v4 5/8 net: ethtool: update set_rxfh to use ethtool_get_rx_ring_count helper
In reply to Breno LeitaoModify ethtool_set_rxfh() to use the new ethtool_get_rx_ring_count() helper function for retrieving the number of RX rings instead of directly calling get_rxnfc with ETHTOOL_GRXRINGS.
This way, we can leverage the new helper if it is available in ethtool_ops.
--- net/ethtool/ioctl.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)
net/ethtool/ioctl.c +9 -7
@@ -1531,14 +1531,14 @@ static noinline_for_stack int ethtool_set_rxfh(struct net_device *dev,struct ethtool_rxfh_param rxfh_dev = {};struct ethtool_rxfh_context *ctx =NULL ;struct netlink_ext_ack *extack =NULL ; -struct ethtool_rxnfc rx_rings;struct ethtool_rxfh rxfh;bool create = false; +int num_rx_rings;u8 *rss_config;int ntf =0 ;int ret; -if (!ops->get_rxnfc || !ops->set_rxfh) +if (!ops->set_rxfh)return -EOPNOTSUPP ;if (ops->get_rxfh_indir_size)
@@ -1594,10 +1594,11 @@ static noinline_for_stack int ethtool_set_rxfh(struct net_device *dev,if (!rss_config)return -ENOMEM ; - rx_rings.cmd =ETHTOOL_GRXRINGS ; - ret = ops->get_rxnfc (dev, &rx_rings,NULL ); -if (ret) + num_rx_rings =ethtool_get_rx_ring_count (dev); +if (num_rx_rings <0 ) { + ret = num_rx_rings; goto out_free; + }/* rxfh.indir_size == 0 means reset the indir table to default (master * context) or delete the context (other RSS contexts).
@@ -1610,7 +1611,7 @@ static noinline_for_stack int ethtool_set_rxfh(struct net_device *dev, rxfh_dev.indir_size = dev_indir_size; ret =ethtool_copy_validate_indir (rxfh_dev.indir, useraddr + rss_cfg_offset, - rx_rings.data, + num_rx_rings, rxfh.indir_size);if (ret) goto out_free;
@@ -1622,7 +1623,8 @@ static noinline_for_stack int ethtool_set_rxfh(struct net_device *dev, rxfh_dev.indir_size = dev_indir_size; indir = rxfh_dev.indir;for (i =0 ; i < dev_indir_size; i++) - indir[i] =ethtool_rxfh_indir_default (i, rx_rings.data); + indir[i] = +ethtool_rxfh_indir_default (i, num_rx_rings); }else { rxfh_dev.rss_delete = true; }
Signature · 1 line
2.47.3
PATCH v4 6/8 net: ethtool: update set_rxfh_indir to use ethtool_get_rx_ring_count helper
In reply to Breno LeitaoModify ethtool_set_rxfh() to use the new ethtool_get_rx_ring_count() helper function for retrieving the number of RX rings instead of directly calling get_rxnfc with ETHTOOL_GRXRINGS.
This way, we can leverage the new helper if it is available in ethtool_ops.
--- net/ethtool/ioctl.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
net/ethtool/ioctl.c +8 -8
@@ -1350,13 +1350,12 @@ static noinline_for_stack int ethtool_set_rxfh_indir(struct net_device *dev,const struct ethtool_ops *ops = dev->ethtool_ops;struct ethtool_rxfh_param rxfh_dev = {};struct netlink_ext_ack *extack =NULL ; -struct ethtool_rxnfc rx_rings; +int num_rx_rings;u32 user_size, i;int ret; u32 ringidx_offset = offsetof(struct ethtool_rxfh_indir, ring_index[0]); -if (!ops->get_rxfh_indir_size || !ops->set_rxfh || - !ops->get_rxnfc) +if (!ops->get_rxfh_indir_size || !ops->set_rxfh)return -EOPNOTSUPP ; rxfh_dev.indir_size = ops->get_rxfh_indir_size (dev);
@@ -1376,20 +1375,21 @@ static noinline_for_stack int ethtool_set_rxfh_indir(struct net_device *dev,if (!rxfh_dev.indir)return -ENOMEM ; - rx_rings.cmd =ETHTOOL_GRXRINGS ; - ret = ops->get_rxnfc (dev, &rx_rings,NULL ); -if (ret) + num_rx_rings =ethtool_get_rx_ring_count (dev); +if (num_rx_rings <0 ) { + ret = num_rx_rings; goto out; + }if (user_size ==0 ) {u32 *indir = rxfh_dev.indir;for (i =0 ; i < rxfh_dev.indir_size; i++) - indir[i] =ethtool_rxfh_indir_default (i, rx_rings.data); + indir[i] =ethtool_rxfh_indir_default (i, num_rx_rings); }else { ret =ethtool_copy_validate_indir (rxfh_dev.indir, useraddr + ringidx_offset, - rx_rings.data, + num_rx_rings, rxfh_dev.indir_size);if (ret) goto out;
Signature · 1 line
2.47.3
PATCH v4 7/8 net: ethtool: use the new helper in rss_set_prep_indir()
In reply to Breno LeitaoRefactor rss_set_prep_indir() to utilize the new ethtool_get_rx_ring_count() helper for determining the number of RX rings, replacing the direct use of get_rxnfc with ETHTOOL_GRXRINGS.
This ensures compatibility with both legacy and new ethtool_ops interfaces by transparently multiplexing between them.
--- net/ethtool/rss.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-)
net/ethtool/rss.c +7 -8
@@ -620,23 +620,22 @@ rss_set_prep_indir(struct net_device *dev, struct genl_info *info, struct rss_reply_data *data, struct ethtool_rxfh_param *rxfh, bool *reset, bool *mod) { - const struct ethtool_ops *ops = dev->ethtool_ops; struct netlink_ext_ack *extack = info->extack;struct nlattr **tb = info->attrs; -struct ethtool_rxnfc rx_rings;size_t alloc_size; +int num_rx_rings;u32 user_size;int i, err;if (!tb[ETHTOOL_A_RSS_INDIR ])return 0 ; -if (!data->indir_size || !ops->get_rxnfc) +if (!data->indir_size)return -EOPNOTSUPP ; - rx_rings.cmd =ETHTOOL_GRXRINGS ; - err = ops->get_rxnfc (dev, &rx_rings,NULL ); -if (err) + err =ethtool_get_rx_ring_count (dev); +if (err <0 )return err; + num_rx_rings = err;if (nla_len (tb[ETHTOOL_A_RSS_INDIR ]) %4 ) {NL_SET_BAD_ATTR (info->extack, tb[ETHTOOL_A_RSS_INDIR ]);
@@ -665,7 +664,7 @@ rss_set_prep_indir(struct net_device *dev, struct genl_info *info,nla_memcpy (rxfh->indir, tb[ETHTOOL_A_RSS_INDIR ], alloc_size);for (i =0 ; i < user_size; i++) { -if (rxfh->indir[i] < rx_rings.data) +if (rxfh->indir[i] < num_rx_rings)continue ; NL_SET_ERR_MSG_ATTR_FMT(extack, tb[ETHTOOL_A_RSS_INDIR],
@@ -682,7 +681,7 @@ rss_set_prep_indir(struct net_device *dev, struct genl_info *info, }else {for (i =0 ; i < data->indir_size; i++) rxfh->indir[i] = -ethtool_rxfh_indir_default (i, rx_rings.data); +ethtool_rxfh_indir_default (i, num_rx_rings); } *mod |=memcmp (rxfh->indir, data->indir_table, data->indir_size);
Signature · 1 line
2.47.3
PATCH v4 8/8 net: virtio_net: add get_rxrings ethtool callback for RX ring queries
In reply to Breno LeitaoReplace the existing virtnet_get_rxnfc callback with a dedicated virtnet_get_rxrings implementation to provide the number of RX rings directly via the new ethtool_ops get_rx_ring_count pointer.
This simplifies the RX ring count retrieval and aligns virtio_net with the new ethtool API for querying RX ring parameters.
--- drivers/net/virtio_net.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-)
drivers/net/virtio_net.c +3 -12
@@ -5609,20 +5609,11 @@ static int virtnet_set_rxfh(struct net_device *dev,return 0 ; } -static int virtnet_get_rxnfc (struct net_device *dev,struct ethtool_rxnfc *info,u32 *rule_locs) +static u32 virtnet_get_rx_ring_count (struct net_device *dev) {struct virtnet_info *vi =netdev_priv (dev); -int rc =0 ; -switch (info->cmd) { -case ETHTOOL_GRXRINGS : - info->data = vi->curr_queue_pairs; -break ; -default : - rc = -EOPNOTSUPP ; - } - -return rc; +return vi->curr_queue_pairs; }static const struct ethtool_ops virtnet_ethtool_ops = {
@@ -5650,7 +5641,7 @@ static const struct ethtool_ops virtnet_ethtool_ops = { .set_rxfh = virtnet_set_rxfh, .get_rxfh_fields = virtnet_get_hashflow, .set_rxfh_fields = virtnet_set_hashflow, - .get_rxnfc = virtnet_get_rxnfc, + .get_rx_ring_count = virtnet_get_rx_ring_count, }; static void virtnet_get_queue_stats_rx(struct net_device *dev, int i,
Signature · 1 line
2.47.3
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 10 lines · On Wed, 17 Sep 2025 02:58:07 -0700 you wrote:
This patchset introduces a new dedicated
ethtool_opscallback, .get_rx_ring_count, which enables drivers to provide the number of RX rings directly, improving efficiency and clarity in RX ring queries and RSS configuration.Number of drivers implements .get_rxnfc callback just to report the ring count, so, having a proper callback makes sense and simplify .get_rxnfc (in some cases remove it completely).
[...]
Here is the summary with links:
- [net-next,v4,1/8] net: ethtool: pass the num of RX rings directly to ethtool_copy_validate_indir
https://git.kernel.org/netdev/net-next/c/3efaede2e13b - [net-next,v4,2/8] net: ethtool: add support for ETHTOOL_GRXRINGS ioctl https://git.kernel.org/netdev/net-next/c/06fad5a4aeb2 - [net-next,v4,3/8] net: ethtool: remove the duplicated handling from ethtool_get_rxrings https://git.kernel.org/netdev/net-next/c/87c76c2db002 - [net-next,v4,4/8] net: ethtool: add get_rx_ring_count callback to optimize RX ring queries https://git.kernel.org/netdev/net-next/c/84eaf4359c36 - [net-next,v4,5/8] net: ethtool: update set_rxfh to use ethtool_get_rx_ring_count helper https://git.kernel.org/netdev/net-next/c/d5544688d421 - [net-next,v4,6/8] net: ethtool: update set_rxfh_indir to use ethtool_get_rx_ring_count helper https://git.kernel.org/netdev/net-next/c/dce08107f1f3 - [net-next,v4,7/8] net: ethtool: use the new helper in rss_set_prep_indir() https://git.kernel.org/netdev/net-next/c/8b7c4b612dec - [net-next,v4,8/8] net: virtio_net: add get_rxrings ethtool callback for RX ring queries https://git.kernel.org/netdev/net-next/c/483446690a62
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html