netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v1 0/3] netlink: add display-hint to ynl
@ 2023-06-23 20:19 Donald Hunter
  2023-06-23 20:19 ` [PATCH net-next v1 1/3] netlink: specs: add display-hint to schema definitions Donald Hunter
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Donald Hunter @ 2023-06-23 20:19 UTC (permalink / raw)
  To: netdev, Jakub Kicinski, David S. Miller, Eric Dumazet,
	Paolo Abeni
  Cc: donald.hunter, Donald Hunter

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-24 22:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-23 20:19 [PATCH net-next v1 0/3] netlink: add display-hint to ynl Donald Hunter
2023-06-23 20:19 ` [PATCH net-next v1 1/3] netlink: specs: add display-hint to schema definitions Donald Hunter
2023-06-23 20:19 ` [PATCH net-next v1 2/3] tools: ynl: add display-hint support to ynl Donald Hunter
2023-06-23 20:19 ` [PATCH net-next v1 3/3] netlink: specs: add display hints to ovs_flow Donald Hunter
2023-06-24 22:50 ` [PATCH net-next v1 0/3] netlink: add display-hint to ynl patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).