diff options
| author | Hangbin Liu <liuhangbin@gmail.com> | 2026-04-08 15:08:50 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-12 11:23:49 -0700 |
| commit | 1c43d471a513e93b5420d8af5d43afd3a75f95f1 (patch) | |
| tree | 744c527ad11cec1a9b096d6f00dddc1af8bda2d6 /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 22ef8a263c17f02176e3a322b76da07411092c17 (diff) | |
tools: ynl: ethtool: use doit instead of dumpit for per-device GET
Rename the local helper doit() to do_set() and dumpit() to do_get() to
better reflect their purpose.
Convert do_get() to use ynl.do() with an explicit device header instead
of ynl.dump() followed by client-side filtering. This is more efficient
as the kernel only processes and returns data for the requested device,
rather than dumping all devices across the netns.
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://patch.msgid.link/20260408-b4-ynl_ethtool-v2-2-7623a5e8f70b@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
