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
..
2023-11-05 09:02:32 -10:00
2023-09-22 09:58:49 -06:00
2023-11-09 13:37:28 -08:00
2023-11-10 12:22:14 -08:00
2023-11-01 17:11:41 -10:00
2023-11-01 22:33:53 -07:00
2023-11-02 19:38:47 -10:00
2023-10-27 18:04:29 +08:00
2023-11-02 19:38:47 -10:00
2023-11-17 00:21:14 +00:00
2023-10-22 20:38:55 -06:00
2023-11-06 15:06:06 -08:00
2023-09-11 08:13:18 +00:00
2023-11-07 12:11:26 -08:00
2023-10-06 17:29:53 +02:00
2023-10-31 10:47:50 +10:00
2023-10-29 22:22:48 -07:00
2023-10-29 21:03:35 +01:00
2023-11-04 08:07:19 -10:00
2023-10-10 13:37:43 -06:00
2023-10-18 10:01:34 +02:00
2023-11-02 19:38:47 -10:00
2023-11-18 14:52:58 +00:00
2023-11-18 14:52:58 +00:00
2023-10-10 13:35:55 -06:00
2023-11-03 15:15:47 -10:00
2023-10-23 15:24:11 +02:00
2023-10-30 20:30:49 -10:00
2023-11-01 15:28:33 -10:00
2023-09-02 12:02:41 -07:00
2023-09-23 01:14:21 -06:00
2023-10-23 19:38:22 +01:00
2023-10-22 20:33:38 -06:00
2023-09-22 14:44:04 +02:00
2023-11-10 19:59:03 +09:00
2023-11-06 15:06:06 -08:00
2023-11-03 16:00:42 -10:00
2023-11-07 17:10:02 -08:00
2023-10-31 16:37:07 -04:00
2023-08-30 20:05:42 -07:00
2023-10-09 09:40:53 -07:00
2023-09-22 05:24:20 -06:00