Re: [PATCH 1/2] netlink: specs: add OVS packet family specification
From: Donald Hunter
Date: Mon May 18 2026 - 10:06:15 EST
Minxi Hou <houminxi@xxxxxxxxx> writes:
> +operations:
> + fixed-header: ovs-header
> + name-prefix: ovs-packet-cmd-
> + list:
> + -
> + name: miss
> + doc: Notify userspace of a flow table miss for a received packet.
> + value: 1
> + attribute-set: packet
> + event:
> + attributes:
Instead of repeating the same attributes, this attribute list could be
declared with an anchor name such as &event-attrs which could be
referenced in the action event. E.g.
attributes: &event-attrs
> + - packet
> + - key
> + - userdata
> + - actions
> + - egress-tun-key
> + - mru
> + - len
> + - hash
> + -
> + name: action
> + doc: Notify userspace as requested by an OVS_ACTION_ATTR_USERSPACE action.
> + value: 2
> + attribute-set: packet
> + event:
> + attributes:
attributes: *event-attrs
> + - packet
> + - key
> + - userdata
> + - actions
> + - egress-tun-key
> + - mru
> + - len
> + - hash
Otherwise looks good to me, thanks.