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 v5:
- rebase on net-next to resolve conflict with Ilya Maximets'
ntf_listen_all_nsid() (requested by Jakub Kicinski)
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