brintos

brintos / linux-shallow public Read only

0
0
Text · 3.1 KiB · edc8c95 Raw
163 lines · yaml
1# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)2 3name: ovs_datapath4version: 25protocol: genetlink-legacy6uapi-header: linux/openvswitch.h7 8doc:9  OVS datapath configuration over generic netlink.10 11definitions:12  -13    name: ovs-header14    type: struct15    members:16      -17        name: dp-ifindex18        type: u3219  -20    name: user-features21    type: flags22    name-prefix: ovs-dp-f-23    enum-name:24    entries:25      -26        name: unaligned27        doc: Allow last Netlink attribute to be unaligned28      -29        name: vport-pids30        doc: Allow datapath to associate multiple Netlink PIDs to each vport31      -32        name: tc-recirc-sharing33        doc: Allow tc offload recirc sharing34      -35        name: dispatch-upcall-per-cpu36        doc: Allow per-cpu dispatch of upcalls37  -38    name: datapath-stats39    enum-name: ovs-dp-stats40    type: struct41    members:42      -43        name: n-hit44        type: u6445      -46        name: n-missed47        type: u6448      -49        name: n-lost50        type: u6451      -52        name: n-flows53        type: u6454  -55    name: megaflow-stats56    enum-name: ovs-dp-megaflow-stats57    type: struct58    members:59      -60        name: n-mask-hit61        type: u6462      -63        name: n-masks64        type: u3265      -66        name: padding67        type: u3268      -69        name: n-cache-hit70        type: u6471      -72        name: pad173        type: u6474 75attribute-sets:76  -77    name: datapath78    name-prefix: ovs-dp-attr-79    enum-name: ovs-datapath-attrs80    attributes:81      -82        name: name83        type: string84      -85        name: upcall-pid86        doc: upcall pid87        type: u3288      -89        name: stats90        type: binary91        struct: datapath-stats92      -93        name: megaflow-stats94        type: binary95        struct: megaflow-stats96      -97        name: user-features98        type: u3299        enum: user-features100        enum-as-flags: true101      -102        name: pad103        type: unused104      -105        name: masks-cache-size106        type: u32107      -108        name: per-cpu-pids109        type: binary110        sub-type: u32111      -112        name: ifindex113        type: u32114 115operations:116  fixed-header: ovs-header117  name-prefix: ovs-dp-cmd-118  list:119    -120      name: get121      doc: Get / dump OVS data path configuration and state122      value: 3123      attribute-set: datapath124      do: &dp-get-op125        request:126          attributes:127            - name128        reply:129          attributes:130            - name131            - upcall-pid132            - stats133            - megaflow-stats134            - user-features135            - masks-cache-size136            - per-cpu-pids137      dump: *dp-get-op138    -139      name: new140      doc: Create new OVS data path141      value: 1142      attribute-set: datapath143      do:144        request:145          attributes:146            - name147            - upcall-pid148            - user-features149    -150      name: del151      doc: Delete existing OVS data path152      value: 2153      attribute-set: datapath154      do:155        request:156          attributes:157            - name158 159mcast-groups:160  list:161    -162      name: ovs_datapath163