[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230722014237.4078962-1-kuba@kernel.org>
Date: Fri, 21 Jul 2023 18:42:35 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
pabeni@...hat.com,
mkubecek@...e.cz,
lorenzo@...nel.org,
Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH net-next 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.
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 | 56 ++++++-------------------
net/ethtool/tunnels.c | 73 ++++++++++++---------------------
6 files changed, 108 insertions(+), 147 deletions(-)
--
2.41.0
Powered by blists - more mailing lists