diff options
author | Donald Hunter <[email protected]> | 2023-08-25 13:27:54 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-27 17:17:11 -0700 |
commit | b2f63d904e7254de447e6e809fc6ebd98323aa39 (patch) | |
tree | 304d4dbfda95857938b02c1a737f3cab5cc9e128 /lib/zstd/zstd_common_module.c | |
parent | dfb0f7d9d979567ad7b1194093e649c7a0d42f90 (diff) |
doc/netlink: Add spec for rt link messages
Add schema for rt link with support for newlink, dellink, getlink,
setlink and getstats.
A dummy link can be created like this:
sudo ./tools/net/ynl/cli.py \
--spec Documentation/netlink/specs/rt_link.yaml \
--do newlink --create \
--json '{"ifname": "dummy0", "linkinfo": {"kind": "dummy"}}'
For example, offload stats can be fetched like this:
./tools/net/ynl/cli.py \
--spec Documentation/netlink/specs/rt_link.yaml \
--dump getstats --json '{ "filter-mask": 8 }'
Signed-off-by: Donald Hunter <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/zstd/zstd_common_module.c')
0 files changed, 0 insertions, 0 deletions