aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/netlink
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-08-14 13:56:26 -0700
committerJakub Kicinski <kuba@kernel.org>2023-08-15 19:18:34 -0700
commitded67d90815a412f327051d27eb6c6de57cd2c03 (patch)
tree799e1a7747692abf8571f1c00bf6e82abeeedc2b /Documentation/netlink
parent956db0a13b47df7f3d6d624394e602e8bf9b057e (diff)
downloadlinux-ded67d90815a412f327051d27eb6c6de57cd2c03.tar.gz
netlink: specs: add ovs_vport new command
Add NEW to the spec, it was useful testing the fix for OvS input validation. Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Link: https://lore.kernel.org/r/20230814205627.2914583-3-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/netlink')
-rw-r--r--Documentation/netlink/specs/ovs_vport.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/ovs_vport.yaml b/Documentation/netlink/specs/ovs_vport.yaml
index 17336455bec147..ef298b0014453c 100644
--- a/Documentation/netlink/specs/ovs_vport.yaml
+++ b/Documentation/netlink/specs/ovs_vport.yaml
@@ -82,6 +82,10 @@ attribute-sets:
enum-name: ovs-vport-attr
attributes:
-
+ name: unspec
+ type: unused
+ value: 0
+ -
name: port-no
type: u32
-
@@ -121,6 +125,20 @@ operations:
name-prefix: ovs-vport-cmd-
list:
-
+ name: new
+ doc: Create a new OVS vport
+ attribute-set: vport
+ fixed-header: ovs-header
+ do:
+ request:
+ attributes:
+ - name
+ - type
+ - upcall-pid
+ - dp-ifindex
+ - ifindex
+ - options
+ -
name: get
doc: Get / dump OVS vport configuration and state
value: 3