Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/2] Add OVS packet family YNL spec and unicast notification support
@ 2026-05-21  2:20 Minxi Hou
  2026-05-21  2:20 ` [PATCH net-next v4 1/2] netlink: specs: add OVS packet family specification Minxi Hou
  2026-05-21  2:20 ` [PATCH net-next v4 2/2] tools: ynl: add unicast notification receive support Minxi Hou
  0 siblings, 2 replies; 3+ messages in thread
From: Minxi Hou @ 2026-05-21  2:20 UTC (permalink / raw)
  To: netdev
  Cc: donald.hunter, davem, edumazet, kuba, pabeni, horms, aconole,
	linux-kernel, Minxi Hou

This series adds a YAML netlink spec for the OVS_PACKET_FAMILY genetlink
family and a bind-only ntf_bind() helper for receiving unicast
notifications.

Changes in v4:
- patch 2: rename ntf_listen() to ntf_bind(addr=(0, 0)); the name
  listen() was misleading since the operation is a bind(), and the
  address is now an explicit argument defaulting to (0, 0)
  (suggested by Jakub Kicinski)

Changes in v3:
- patch 1: add missing document start "---" after SPDX comment
  (yamllint warning in v2)

Changes in v2:
- patch 1: use YAML anchor (&event-attrs / *event-attrs) to avoid
  repeating the same attribute list for miss and action events
  (suggested by Donald Hunter)
- patch 1: fix enum-name from ovs-packet-attrs to ovs-packet-attr
  to match the kernel enum name ovs_packet_attr
- patch 2: add ntf_bind() to the YnlFamily docstring under the
  "Notification API" heading (suggested by Donald Hunter)

Minxi Hou (2):
  netlink: specs: add OVS packet family specification
  tools: ynl: add unicast notification receive support

 Documentation/netlink/specs/ovs_packet.yaml | 130 ++++++++++++++++++++
 tools/net/ynl/pyynl/lib/ynl.py              |   5 +
 2 files changed, 135 insertions(+)
 create mode 100644 Documentation/netlink/specs/ovs_packet.yaml

-- 
2.54.0


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

end of thread, other threads:[~2026-05-21  2:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-21  2:20 [PATCH net-next v4 0/2] Add OVS packet family YNL spec and unicast notification support Minxi Hou
2026-05-21  2:20 ` [PATCH net-next v4 1/2] netlink: specs: add OVS packet family specification Minxi Hou
2026-05-21  2:20 ` [PATCH net-next v4 2/2] tools: ynl: add unicast notification receive support Minxi Hou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox