netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/2] net: use net->dev_by_index in two places
@ 2024-02-11 21:44 Eric Dumazet
  2024-02-11 21:44 ` [PATCH v2 net-next 1/2] vlan: use xarray iterator to implement /proc/net/vlan/config Eric Dumazet
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Eric Dumazet @ 2024-02-11 21:44 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Paolo Abeni
  Cc: Ido Schimmel, netdev, eric.dumazet, Eric Dumazet

Bring "ip link" ordering to /proc/net/dev one (by ifindexes).

Do the same for /proc/net/vlan/config

v2: added suggestions from Jakub Kicinski and Ido Schimmel, thanks !
  Link: https://lore.kernel.org/all/20240209142441.6c56435b@kernel.org/
  Link: https://lore.kernel.org/all/ZckR-XOsULLI9EHc@shredder/

Eric Dumazet (2):
  vlan: use xarray iterator to implement /proc/net/vlan/config
  rtnetlink: use xarray iterator to implement rtnl_dump_ifinfo()

 net/8021q/vlanproc.c | 46 ++++++++++++-----------------------
 net/core/rtnetlink.c | 58 +++++++++++++++-----------------------------
 2 files changed, 36 insertions(+), 68 deletions(-)

-- 
2.43.0.687.g38aa6559b0-goog


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-14  2:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-11 21:44 [PATCH v2 net-next 0/2] net: use net->dev_by_index in two places Eric Dumazet
2024-02-11 21:44 ` [PATCH v2 net-next 1/2] vlan: use xarray iterator to implement /proc/net/vlan/config Eric Dumazet
2024-02-12 16:09   ` Ido Schimmel
2024-02-11 21:44 ` [PATCH v2 net-next 2/2] rtnetlink: use xarray iterator to implement rtnl_dump_ifinfo() Eric Dumazet
2024-02-12 16:10   ` Ido Schimmel
2024-02-14  2:50 ` [PATCH v2 net-next 0/2] net: use net->dev_by_index in two places patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).