[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230527133107.68161-1-donald.hunter@gmail.com>
Date: Sat, 27 May 2023 14:31:03 +0100
From: Donald Hunter <donald.hunter@...il.com>
To: netdev@...r.kernel.org,
Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>
Cc: donald.hunter@...hat.com,
Donald Hunter <donald.hunter@...il.com>
Subject: [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
--
2.39.0
Powered by blists - more mailing lists