linux/tools/net/ynl
Jakub Kicinski f561ff232a tools: ynl: add sample for ethtool
Configuring / reading ring sizes and counts is a fairly common
operation for ethtool netlink. Present a sample doing that with
YNL:

$ ./ethtool
Channels:
    enp1s0: combined 1
   eni1np1: combined 1
   eni2np1: combined 1
Rings:
    enp1s0: rx 256 tx 256
   eni1np1: rx 0 tx 0
   eni2np1: rx 0 tx 0

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-06-12 11:01:03 +01:00
..
generated tools: ynl: generate code for the ethtool family 2023-06-12 11:01:03 +01:00
lib tools: ynl-gen: support excluding tricky ops 2023-06-12 11:01:02 +01:00
samples tools: ynl: add sample for ethtool 2023-06-12 11:01:03 +01:00
cli.py ynl: re-license uniformly under GPL-2.0 OR BSD-3-Clause 2023-03-07 13:44:30 -08:00
ethtool.py tools: ynl: Rename ethtool to ethtool.py 2023-04-13 22:18:29 -07:00
Makefile tools: ynl: user space helpers 2023-06-06 12:31:31 -07:00
requirements.txt tools: ynl: add the Python requirements.txt file 2023-03-24 19:11:02 -07:00
ynl-gen-c.py tools: ynl-gen: resolve enum vs struct name conflicts 2023-06-12 11:01:03 +01:00
ynl-regen.sh tools: ynl-gen: record extra args for regen 2023-06-12 11:01:02 +01:00