| 11d137aa | 12-Jun-2025 |
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> |
docs: uapi: netlink: update netlink specs link
With the recent parser_yaml extension, and the removal of the auto-generated ReST source files, the location of netlink specs changed.
Update uAPI acc
docs: uapi: netlink: update netlink specs link
With the recent parser_yaml extension, and the removal of the auto-generated ReST source files, the location of netlink specs changed.
Update uAPI accordingly.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
show more ...
|
| a7408b56 | 04-Apr-2024 |
Hangbin Liu <liuhangbin@gmail.com> |
ynl: support binary and integer sub-type for indexed-array
Add binary and integer sub-type support for indexed-array to display bond arp and ns targets. Here is what the result looks like:
# ip li
ynl: support binary and integer sub-type for indexed-array
Add binary and integer sub-type support for indexed-array to display bond arp and ns targets. Here is what the result looks like:
# ip link add bond0 type bond mode 1 \ arp_ip_target 192.168.1.1,192.168.1.2 ns_ip6_target 2001::1,2001::2 # ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/rt_link.yaml \ --do getlink --json '{"ifname": "bond0"}' --output-json | jq '.linkinfo'
"arp-ip-target": [ "192.168.1.1", "192.168.1.2" ], [...] "ns-ip6-target": [ "2001::1", "2001::2" ],
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com> Link: https://lore.kernel.org/r/20240404063114.1221532-3-liuhangbin@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|
| 2db8abf0 | 25-Aug-2023 |
Donald Hunter <donald.hunter@gmail.com> |
doc/netlink: Document the netlink-raw schema extensions
Add a doc page for netlink-raw that describes the schema attributes needed for netlink-raw.
Signed-off-by: Donald Hunter <donald.hunter@gmail
doc/netlink: Document the netlink-raw schema extensions
Add a doc page for netlink-raw that describes the schema attributes needed for netlink-raw.
Signed-off-by: Donald Hunter <donald.hunter@gmail.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://lore.kernel.org/r/20230825122756.7603-5-donald.hunter@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|
| 04eac393 | 27-Mar-2023 |
Donald Hunter <donald.hunter@gmail.com> |
docs: netlink: document the sub-type attribute property
Add a definition for sub-type to the protocol spec doc and a description of its usage for C arrays in genetlink-legacy.
Signed-off-by: Donald
docs: netlink: document the sub-type attribute property
Add a definition for sub-type to the protocol spec doc and a description of its usage for C arrays in genetlink-legacy.
Signed-off-by: Donald Hunter <donald.hunter@gmail.com> Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|