diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-01-11 02:31:42 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-13 00:29:31 +0300 |
| commit | 60411adedf70abec0ac221ec3d88f6453b031dd2 (patch) | |
| tree | b7fdd4238ba58f70f260ecccc567fe0d5a400ff5 /include/uapi/linux | |
| parent | 6ccc421b14613aac32b2647462ae4d40f5dd43b8 (diff) | |
| download | linux-60411adedf70abec0ac221ec3d88f6453b031dd2.tar.xz | |
tools: ynl: cli: print reply in combined format if possible
As pointed out during review of the --list-attrs support the GET
ops very often return the same attrs from do and dump. Make the
output more readable by combining the reply information, from:
Do request attributes:
- ifindex: u32
netdev ifindex
Do reply attributes:
- ifindex: u32
netdev ifindex
[ .. other attrs .. ]
Dump reply attributes:
- ifindex: u32
netdev ifindex
[ .. other attrs .. ]
To, after:
Do request attributes:
- ifindex: u32
netdev ifindex
Do and Dump reply attributes:
- ifindex: u32
netdev ifindex
[ .. other attrs .. ]
Tested-by: Gal Pressman <gal@nvidia.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20260110233142.3921386-8-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
