mirror_ubuntu-kernels/Documentation/netlink/specs
Kory Maincent ee60ea6be0 netlink: specs: Introduce time stamping set command
Add a new commands allowing to set the time stamping.

Example usage :
./ynl/cli.py --spec netlink/specs/ethtool.yaml --no-schema \
	     --do ts-list-get \
	     --json '{"header":{"dev-name":"eth0"}}'
{'header': {'dev-index': 3, 'dev-name': 'eth0'},
 'ts-list-layer': b'\x02\x00\x00\x00\x01\x00\x00\x00\x05\x00\x00\x00'}

./ynl/cli.py --spec netlink/specs/ethtool.yaml --no-schema --do ts-set \
	     --json '{"header":{"dev-name":"eth0"}, "ts-layer":5}'
none

./ynl/cli.py --spec netlink/specs/ethtool.yaml --no-schema --do ts-get \
	     --json '{"header":{"dev-name":"eth0"}}'
{'header': {'dev-index': 3, 'dev-name': 'eth0'}, 'ts-layer': 5}

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-11-18 14:52:58 +00:00
..
devlink.yaml netlink: specs: devlink: add forgotten port function caps enum values 2023-11-01 22:13:43 -07:00
dpll.yaml dpll: spec: add support for pin-dpll signal phase offset/adjust 2023-10-15 16:08:24 +01:00
ethtool.yaml netlink: specs: Introduce time stamping set command 2023-11-18 14:52:58 +00:00
fou.yaml netlink: specs: fix indent in fou 2023-08-24 19:04:20 -07:00
handshake.yaml handshake: Fix sign of key_serial_t fields 2023-10-02 12:34:21 -07:00
mptcp.yaml doc/netlink: Update schema to support cmd-cnt-name and cmd-max-name 2023-10-27 14:56:04 -07:00
netdev.yaml ynl: netdev: drop unnecessary enum-as-flags 2023-10-04 17:33:54 -07:00
nfsd.yaml NFSD: introduce netlink stubs 2023-10-16 12:44:09 -04:00
ovs_datapath.yaml netlink: specs: fixup openvswitch specs for code generation 2023-06-17 00:18:00 -07:00
ovs_flow.yaml netlink: specs: add display hints to ovs_flow 2023-06-24 15:45:49 -07:00
ovs_vport.yaml doc/netlink: Add delete operation to ovs_vport spec 2023-08-25 18:58:34 -07:00
rt_addr.yaml doc/netlink: Add spec for rt addr messages 2023-08-27 17:17:10 -07:00
rt_link.yaml doc/netlink: Add spec for rt link messages 2023-08-27 17:17:11 -07:00
rt_route.yaml doc/netlink: Add spec for rt route messages 2023-08-27 17:17:11 -07:00