[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230623201928.14275-1-donald.hunter@gmail.com>
Date: Fri, 23 Jun 2023 21:19:25 +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 v1 0/3] netlink: add display-hint to ynl
Add a display-hint property to the netlink schema, to be used by generic
netlink clients as hints about how to display attribute values.
A display-hint on an attribute definition is intended for letting a
client such as ynl know that, for example, a u32 should be rendered as
an ipv4 address. The display-hint enumeration includes a small number of
networking domain-specific value types.
Donald Hunter (3):
netlink: specs: add display-hint to schema definitions
tools: ynl: add display-hint support to ynl
netlink: specs: add display hints to ovs_flow
Documentation/netlink/genetlink-c.yaml | 6 ++
Documentation/netlink/genetlink-legacy.yaml | 11 +-
Documentation/netlink/genetlink.yaml | 6 ++
Documentation/netlink/specs/ovs_flow.yaml | 107 ++++++++++++++++++++
tools/net/ynl/lib/nlspec.py | 10 ++
tools/net/ynl/lib/ynl.py | 34 ++++++-
6 files changed, 168 insertions(+), 6 deletions(-)
--
2.39.0
Powered by blists - more mailing lists