mbox series

[net-next,v1,0/4] netlink: specs: add ynl spec for ovs_flow

Message ID 20230526123223.35755-1-donald.hunter@gmail.com (mailing list archive)
Headers show
Series netlink: specs: add ynl spec for ovs_flow | expand

Message

Donald Hunter May 26, 2023, 12:32 p.m. UTC
Add a ynl specification for ovs_flow. The spec is sufficient to dump ovs
flows but some attrs have been left as binary blobs because ynl doesn't
support C arrays in struct definitions yet.

Patches 1-3 add features for genetlink-legacy specs
Patch 4 is the ovs_flow netlink spec

Donald Hunter (4):
  doc: ynl: Add doc attr to struct members in genetlink-legacy spec
  tools: ynl: Initialise fixed headers to 0 in genetlink-legacy
  tools: ynl: Support enums in struct members in genetlink-legacy
  netlink: specs: add ynl spec for ovs_flow

 Documentation/netlink/genetlink-legacy.yaml |   6 +
 Documentation/netlink/specs/ovs_flow.yaml   | 822 ++++++++++++++++++++
 tools/net/ynl/lib/nlspec.py                 |   2 +
 tools/net/ynl/lib/ynl.py                    |   8 +-
 4 files changed, 836 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/netlink/specs/ovs_flow.yaml