~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/netlink/specs/ovs_vport.yaml

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
  2 
  3 name: ovs_vport
  4 version: 2
  5 protocol: genetlink-legacy
  6 uapi-header: linux/openvswitch.h
  7 
  8 doc:
  9   OVS vport configuration over generic netlink.
 10 
 11 definitions:
 12   -
 13     name: ovs-header
 14     type: struct
 15     members:
 16       -
 17         name: dp-ifindex
 18         type: u32
 19   -
 20     name: vport-type
 21     type: enum
 22     enum-name: ovs-vport-type
 23     name-prefix: ovs-vport-type-
 24     entries: [ unspec, netdev, internal, gre, vxlan, geneve ]
 25   -
 26     name: vport-stats
 27     type: struct
 28     enum-name: ovs-vport-stats
 29     members:
 30       -
 31         name: rx-packets
 32         type: u64
 33       -
 34         name: tx-packets
 35         type: u64
 36       -
 37         name: rx-bytes
 38         type: u64
 39       -
 40         name: tx-bytes
 41         type: u64
 42       -
 43         name: rx-errors
 44         type: u64
 45       -
 46         name: tx-errors
 47         type: u64
 48       -
 49         name: rx-dropped
 50         type: u64
 51       -
 52         name: tx-dropped
 53         type: u64
 54 
 55 attribute-sets:
 56   -
 57     name: vport-options
 58     enum-name: ovs-vport-options
 59     name-prefix: ovs-tunnel-attr-
 60     attributes:
 61       -
 62         name: dst-port
 63         type: u32
 64       -
 65         name: extension
 66         type: u32
 67   -
 68     name: upcall-stats
 69     enum-name: ovs-vport-upcall-attr
 70     name-prefix: ovs-vport-upcall-attr-
 71     attributes:
 72       -
 73         name: success
 74         type: u64
 75         value: 0
 76       -
 77         name: fail
 78         type: u64
 79   -
 80     name: vport
 81     name-prefix: ovs-vport-attr-
 82     enum-name: ovs-vport-attr
 83     attributes:
 84       -
 85         name: unspec
 86         type: unused
 87         value: 0
 88       -
 89         name: port-no
 90         type: u32
 91       -
 92         name: type
 93         type: u32
 94         enum: vport-type
 95       -
 96         name: name
 97         type: string
 98       -
 99         name: options
100         type: nest
101         nested-attributes: vport-options
102       -
103         name: upcall-pid
104         type: binary
105         sub-type: u32
106       -
107         name: stats
108         type: binary
109         struct: vport-stats
110       -
111         name: pad
112         type: unused
113       -
114         name: ifindex
115         type: u32
116       -
117         name: netnsid
118         type: u32
119       -
120         name: upcall-stats
121         type: nest
122         nested-attributes: upcall-stats
123 
124 operations:
125   name-prefix: ovs-vport-cmd-
126   list:
127     -
128       name: new
129       doc: Create a new OVS vport
130       attribute-set: vport
131       fixed-header: ovs-header
132       do:
133         request:
134           attributes:
135             - name
136             - type
137             - upcall-pid
138             - ifindex
139             - options
140     -
141       name: del
142       doc: Delete existing OVS vport from a data path
143       attribute-set: vport
144       fixed-header: ovs-header
145       do:
146         request:
147           attributes:
148             - port-no
149             - type
150             - name
151     -
152       name: get
153       doc: Get / dump OVS vport configuration and state
154       attribute-set: vport
155       fixed-header: ovs-header
156       do: &vport-get-op
157         request:
158           attributes:
159             - name
160         reply: &dev-all
161           attributes:
162             - port-no
163             - type
164             - name
165             - upcall-pid
166             - stats
167             - ifindex
168             - netnsid
169             - upcall-stats
170       dump: *vport-get-op
171 
172 mcast-groups:
173   list:
174     -
175       name: ovs_vport

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php