summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/ynl.py
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2024-10-09 11:09:55 +0300
committerJakub Kicinski <kuba@kernel.org>2024-10-10 18:30:22 +0300
commit553ea9f1efd6e8410b01f7a31cfb71a97cadcd8b (patch)
tree8822946e5ef90125c78e5b23dbaf321baed120e3 /tools/testing/selftests/net/lib/py/ynl.py
parent14bba9285aedefb99647d716b0f61bf32081e387 (diff)
downloadlinux-553ea9f1efd6e8410b01f7a31cfb71a97cadcd8b.tar.xz
net: shaper: implement introspection support
The netlink op is a simple wrapper around the device callback. Extend the existing fetch_dev() helper adding an attribute argument for the requested device. Reuse such helper in the newly implemented operation. Reviewed-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Link: https://patch.msgid.link/66eb62f22b3a5ba06ca91d01ae77515e5f447e15.1728460186.git.pabeni@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/ynl.py')
0 files changed, 0 insertions, 0 deletions