netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Dumazet <edumazet@google.com>
To: "David S . Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>,
	 Paolo Abeni <pabeni@redhat.com>
Cc: Ido Schimmel <idosch@nvidia.com>,
	netdev@vger.kernel.org, eric.dumazet@gmail.com,
	 Eric Dumazet <edumazet@google.com>
Subject: [PATCH v2 net-next 0/2] net: use net->dev_by_index in two places
Date: Sun, 11 Feb 2024 21:44:02 +0000	[thread overview]
Message-ID: <20240211214404.1882191-1-edumazet@google.com> (raw)

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


             reply	other threads:[~2024-02-11 21:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-11 21:44 Eric Dumazet [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240211214404.1882191-1-edumazet@google.com \
    --to=edumazet@google.com \
    --cc=davem@davemloft.net \
    --cc=eric.dumazet@gmail.com \
    --cc=idosch@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).