mbox series

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

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

Message

Donald Hunter May 27, 2023, 1:31 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

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

Comments

patchwork-bot+netdevbpf@kernel.org May 30, 2023, 5:10 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 27 May 2023 14:31:03 +0100 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/4] doc: ynl: Add doc attr to struct members in genetlink-legacy spec
    https://git.kernel.org/netdev/net-next/c/6d6bae63053d
  - [net-next,v2,2/4] tools: ynl: Initialise fixed headers to 0 in genetlink-legacy
    https://git.kernel.org/netdev/net-next/c/5ac18889bde0
  - [net-next,v2,3/4] tools: ynl: Support enums in struct members in genetlink-legacy
    https://git.kernel.org/netdev/net-next/c/313a7a808ca8
  - [net-next,v2,4/4] netlink: specs: add ynl spec for ovs_flow
    https://git.kernel.org/netdev/net-next/c/93b230b549bc

You are awesome, thank you!