diff options
| author | 2026-04-08 15:08:50 +0800 | |
|---|---|---|
| committer | 2026-04-12 11:23:49 -0700 | |
| commit | 1c43d471a513e93b5420d8af5d43afd3a75f95f1 (patch) | |
| tree | 744c527ad11cec1a9b096d6f00dddc1af8bda2d6 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | tools: ynl: move ethtool.py to selftest (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 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
