Skip to content

net: store netdevs in an xarray

Jakub Kicinski netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 7 repliesApplied 2/2
  2. v12 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- fix the potential mishandling of wrapping (Leon)
v1: https://lore.kernel.org/all/[email protected]/

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: store netdevs in an xarrayinclude/net/net_namespace.h net/core/dev.c+57 -296 repliesApplied
2/2net: convert some netlink netdev iterators to depend on the xarrayinclude/linux/netdevice.h net/core/netdev-genl.c net/ethtool/netlink.c +1 more+52 -1201 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLeon Romanovsky
1/2R-b
2/2R-b

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

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] net: store netdevs in an xarray

One of more annoying developer experience gaps we have in netlink is iterating over netdevs. It's painful. Add an xarray to make it trivial.

v2:
- fix the potential mishandling of wrapping (Leon)
v1: https://lore.kernel.org/all/[email protected]/

Jakub Kicinski (2):
net: store netdevs in an xarray
net: convert some netlink netdev iterators to depend on the xarray

 include/linux/netdevice.h   |  3 ++
 include/net/net_namespace.h |  4 +-
 net/core/dev.c              | 82 ++++++++++++++++++++++++-------------
 net/core/netdev-genl.c      | 37 ++++-------------
 net/ethtool/netlink.c       | 59 +++++++-------------------
 net/ethtool/tunnels.c       | 73 ++++++++++++---------------------
 6 files changed, 109 insertions(+), 149 deletions(-)
Signature · 1 line
2.41.0