Re: [PATCH v2 1/2] netlink: specs: add OVS packet family specification

From: Donald Hunter

Date: Tue May 19 2026 - 06:14:16 EST


Minxi Hou <houminxi@xxxxxxxxx> writes:

> Add YAML netlink spec for the OVS_PACKET_FAMILY (ovs_packet).
> This completes the set of OVS genetlink family specs (ovs_datapath,
> ovs_flow, ovs_vport already exist).
>
> The spec defines three operations: MISS (event), ACTION (event),
> and EXECUTE (do). MISS and ACTION are kernel-to-userspace upcalls
> sent via genlmsg_unicast(); EXECUTE is the only registered genl
> operation.
>
> Key, actions, and egress-tun-key attributes are typed as binary
> rather than nest because the nested attribute definitions belong
> to the ovs_flow spec and cross-spec references are not supported
> by the YNL framework.
>
> Signed-off-by: Minxi Hou <houminxi@xxxxxxxxx>

Reviewed-by: Donald Hunter <donald.hunter@xxxxxxxxx>