diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-05-25 11:35:42 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-27 05:20:15 +0300 |
| commit | d628604f7ea75a4dfe7ee3792f3c79c29ca81c04 (patch) | |
| tree | 0e34a03ee3cb6d6f4dea10bb11c8ce1343d4d121 /include | |
| parent | 6768c7c3d70f0d6f9cb6fad2b33357ec7379d952 (diff) | |
| download | linux-d628604f7ea75a4dfe7ee3792f3c79c29ca81c04.tar.xz | |
rtnetlink: add RTEXT_FILTER_NAME_ONLY support to rtnl_dump_ifinfo()
When user requests RTEXT_FILTER_NAME_ONLY flag, we limit the dump
parts to:
- struct nlmsghdr
- IFLA_IFNAME
- IFLA_PROP_LIST (alternate names)
- This saves space in the dump, pushing more devices per system call.
- This can be done without acquiring RTNL.
I still have a medium term goal to avoid RTNL in rtnl_dump_ifinfo()
regardless of RTEXT_FILTER_NAME_ONLY being used.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20260525083542.1565964-6-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
