linux-next/Documentation/netlink/specs
Stanislav Fomichev a9c2a60854 bpf: expose information about supported xdp metadata kfunc
Add new xdp-rx-metadata-features member to netdev netlink
which exports a bitmask of supported kfuncs. Most of the patch
is autogenerated (headers), the only relevant part is netdev.yaml
and the changes in netdev-genl.c to marshal into netlink.

Example output on veth:

$ ip link add veth0 type veth peer name veth1 # ifndex == 12
$ ./tools/net/ynl/samples/netdev 12

Select ifc ($ifindex; or 0 = dump; or -2 ntf check): 12
   veth1[12]    xdp-features (23): basic redirect rx-sg xdp-rx-metadata-features (3): timestamp hash xdp-zc-max-segs=0

Cc: netdev@vger.kernel.org
Cc: Willem de Bruijn <willemb@google.com>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20230913171350.369987-3-sdf@google.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
2023-09-15 11:26:58 -07:00
..
devlink.yaml netlink: specs: devlink: extend health reporter dump attributes by port index 2023-08-14 11:47:25 -07:00
ethtool.yaml netlink: specs: ethtool: mark pads as pads 2023-06-12 11:01:03 +01:00
fou.yaml netlink: specs: fix indent in fou 2023-08-24 19:04:20 -07:00
handshake.yaml net/handshake: Enable the SNI extension to work properly 2023-05-24 22:05:24 -07:00
netdev.yaml bpf: expose information about supported xdp metadata kfunc 2023-09-15 11:26:58 -07: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