diff options
| author | 2026-05-11 07:02:44 +0000 | |
|---|---|---|
| committer | 2026-05-12 18:30:26 -0700 | |
| commit | b588019e85f490696bf19f0747e93f14b1563927 (patch) | |
| tree | 69616dcd4929fdcd3e3e65bf7d2324210e4639c3 /scripts/Makefile.thinlto | |
| parent | Merge branch 'rework-pci_device_id-initialisation' (diff) | |
rtnetlink: add RTEXT_FILTER_NAME_ONLY support
iproute2 can spend considerable amount of time in ll_init_map()
or ll_link_get() to dump verbose netdev attributes, contributing
to RTNL pressure.
Add RTEXT_FILTER_NAME_ONLY new flag so that rtnl_fill_ifinfo()
limits its output to:
- struct nlmsghdr
- IFLA_IFNAME
- IFLA_PROP_LIST (alternate names)
We can later avoid using RTNL when RTEXT_FILTER_NAME_ONLY
is requested, as none of these attributes need RTNL.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260511070244.971028-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
