The ovs specs describe get and new but not the set and del commands the
kernel has registered since the families were added. This series adds
them and names the attributes each handler reads. Nothing here changes
the kernel.
v3:
- no change since v2 beyond the items listed above.
v2:
https://lore.kernel.org/netdev/20261012065552.2426415-1-houminxi@gmail.com/ (local)
- ovs_flow new lists ufid-flags and probe, which ovs_flow_cmd_new()
reads.
- The commit message now says probe changes from binary to flag, and
that new needs CAP_NET_ADMIN.
- The key attribute doc no longer says a key is required for every
request except a dump. get, set and del accept a ufid with no key,
and only a new flow needs a key. A set that replaces the actions
still needs a key.
v1:
https://lore.kernel.org/netdev/20261006130533.1620706-1-houminxi@gmail.com/ (local)
- probe is a flag, matching the NLA_FLAG policy. A false flag is left
out, where the binary attribute was sent empty.
- del lists probe.
- The set doc says replacing the actions needs a key even when a ufid
is present.
Minxi Hou (2):
netlink: specs: add ovs_flow del and set operations
netlink: specs: add ovs datapath and vport set operations
Documentation/netlink/specs/ovs_datapath.yaml | 18 +++++++
Documentation/netlink/specs/ovs_flow.yaml | 41 ++++++++++++++++++-
Documentation/netlink/specs/ovs_vport.yaml | 15 +++++++
3 files changed, 72 insertions(+), 2 deletions(-)
Signed-off-by: Minxi Hou <redacted>
base-commit: 05b5019b01fb9443b09ae4ed34af1135a80a84c8
--
2.56.0