Skip to content

net: ethtool: reduce RTNL pressure in dev_ethtool()

Eric Dumazet netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net: ethtool: grab a netdev reference in dev_ethtool()net/ethtool/ioctl.c+13 -80 replies
2/6net: ethtool: add dev_ethtool_cap_check()net/ethtool/ioctl.c+23 -160 replies
3/6net: ethtool: perform pm duties outside of rtnl locknet/ethtool/ioctl.c+10 -114 replies
4/6net: ethtool: call ethtool_get_one_feature() without RTNLnet/core/dev.c net/ethtool/ioctl.c+21 -190 replies
5/6net: ethtool: implement lockless ETHTOOL_GFLAGSnet/ethtool/ioctl.c+10 -90 replies
6/6net: ethtool: add the ability to run ethtool_[gs]et_rxnfc() without RTNLinclude/linux/ethtool.h net/ethtool/ioctl.c+31 -142 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWillem de Bruijn
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/6] net: ethtool: reduce RTNL pressure in dev_ethtool()

This series is inspired by Jakub feedback for one gve patch :

https://lore.kernel.org/lkml/[email protected]/

Refactor dev_ethtool() and start to implement parallel operations.

Eric Dumazet (6):
net: ethtool: grab a netdev reference in dev_ethtool()
net: ethtool: add dev_ethtool_cap_check()
net: ethtool: perform pm duties outside of rtnl lock
net: ethtool: call ethtool_get_one_feature() without RTNL
net: ethtool: implement lockless ETHTOOL_GFLAGS
net: ethtool: add the ability to run ethtool_[gs]et_rxnfc() without
RTNL

 include/linux/ethtool.h |   2 +
 net/core/dev.c          |  10 +--
 net/ethtool/ioctl.c     | 159 ++++++++++++++++++++++++----------------
 3 files changed, 101 insertions(+), 70 deletions(-)
Signature · 1 line
2.45.2.627.g7a2c4fd464-goog