diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-03-16 07:49:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-03-17 11:53:34 +0300 |
commit | 74bf6477c18b2904936763132e9224a41b8da13a (patch) | |
tree | b1653c77e0111a2166f90da053f3f2a2a62a2aef /mm/interval_tree.c | |
parent | 19a9fbc074a9b1ed63b5b83d3696db447f4c503e (diff) | |
download | linux-74bf6477c18b2904936763132e9224a41b8da13a.tar.xz |
netlink-specs: add partial specification for devlink
Devlink is quite complex but put in the very basics so we can
incrementally fill in the commands as needed.
$ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/devlink.yaml \
--dump get
[{'bus-name': 'netdevsim',
'dev-name': 'netdevsim1',
'dev-stats': {'reload-stats': {'reload-action-info': {'reload-action': 1,
'reload-action-stats': {'reload-stats-entry': [{'reload-stats-limit': 0,
'reload-stats-value': 0}]}}},
'remote-reload-stats': {'reload-action-info': {'reload-action': 2,
'reload-action-stats': {'reload-stats-entry': [{'reload-stats-limit': 0,
'reload-stats-value': 0},
{'reload-stats-limit': 1,
'reload-stats-value': 0}]}}}},
'reload-failed': 0}]
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/interval_tree.c')
0 files changed, 0 insertions, 0 deletions