Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/2] netlink: specs: fill in the missing ovs operations
@ 2026-10-25 10:34 Minxi Hou
  2026-10-25 10:34 ` [PATCH net-next v4 1/2] netlink: specs: add ovs_flow del and set operations Minxi Hou
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Minxi Hou @ 2026-10-25 10:34 UTC (permalink / raw)
  To: netdev
  Cc: Donald Hunter, Jakub Kicinski, David S . Miller, Eric Dumazet,
	Paolo Abeni, Simon Horman

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.

v4:
https://lore.kernel.org/netdev/20261015024132.698658-1-houminxi@gmail.com/
  - ovs_vport set lists port-no and ifindex. lookup_vport() finds a
    vport by name or by port number, and returns -EOPNOTSUPP as soon as
    it sees an ifindex, before the type or the options are looked at.
  - ovs_datapath new lists masks-cache-size, per-cpu-pids and ifindex.
    new calls ovs_dp_change(), which reads the first two, and reads
    ifindex itself.
  - ovs_flow get lists probe. ovs_flow_cmd_get() reads it to decide
    whether to log.
  - The key attribute doc now says a new request needs a key even when
    it finds an existing flow and replaces its actions, and that a dump
    reads neither the key nor the ufid. A del with neither flushes the
    data path, and the del operation doc says so too.
  - The commit message no longer says the uapi header was updated. The
    same sentence in include/uapi/linux/openvswitch.h is unchanged.

v3:
https://lore.kernel.org/netdev/20261012065552.2426415-1-houminxi@gmail.com/
  - no change since v2.

v2:
https://lore.kernel.org/netdev/20261006130533.1620706-1-houminxi@gmail.com/
  - 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.

Signed-off-by: Minxi Hou <houminxi@gmail.com>

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 | 21 +++++++++
 Documentation/netlink/specs/ovs_flow.yaml     | 46 ++++++++++++++++++-
 Documentation/netlink/specs/ovs_vport.yaml    | 21 +++++++++
 3 files changed, 86 insertions(+), 2 deletions(-)


base-commit: 734bef548a96e8774d6eef5dfa2026c6edc4e80b
-- 
2.56.0


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

end of thread, other threads:[~2026-10-27  0:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-25 10:34 [PATCH net-next v4 0/2] netlink: specs: fill in the missing ovs operations Minxi Hou
2026-10-25 10:34 ` [PATCH net-next v4 1/2] netlink: specs: add ovs_flow del and set operations Minxi Hou
2026-10-25 10:34 ` [PATCH net-next v4 2/2] netlink: specs: add ovs datapath and vport " Minxi Hou
2026-10-27  0:07 ` [PATCH net-next v4 0/2] netlink: specs: fill in the missing ovs operations Jakub Kicinski

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