Skip to content

netlink: specs: add ynl spec for ovs_flow

Donald Hunter netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesApplied 4/4
  2. v14 patches 1 replySuperseded

Changes in v2 from the cover letter

- Add reply attribute to flow-get op as reported by Jakub Kicinski

Patches in v2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4doc: ynl: Add doc attr to struct members in genetlink-legacy specDocumentation/netlink/genetlink-legacy.yaml+3 -00 repliesApplied
2/4tools: ynl: Initialise fixed headers to 0 in genetlink-legacytools/net/ynl/lib/ynl.py+1 -10 repliesApplied
3/4tools: ynl: Support enums in struct members in genetlink-legacyDocumentation/netlink/genetlink-legacy.yaml tools/net/ynl/lib/nlspec.py tools/net/ynl/lib/ynl.py+10 -10 repliesApplied
4/4netlink: specs: add ynl spec for ovs_flowDocumentation/netlink/specs/ovs_flow.yaml+831 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net-next v2 0/4] netlink: specs: add ynl spec for ovs_flow

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

Changes in v2:
- Add reply attribute to flow-get op as reported by Jakub Kicinski

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   | 831 ++++++++++++++++++++
 tools/net/ynl/lib/nlspec.py                 |   2 +
 tools/net/ynl/lib/ynl.py                    |   8 +-
 4 files changed, 845 insertions(+), 2 deletions(-)
 create mode 100644 Documentation/netlink/specs/ovs_flow.yaml
Signature · 1 line
2.39.0