1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linu 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 2 3 name: ovs_datapath 3 name: ovs_datapath 4 version: 2 4 version: 2 5 protocol: genetlink-legacy 5 protocol: genetlink-legacy 6 uapi-header: linux/openvswitch.h << 7 6 8 doc: 7 doc: 9 OVS datapath configuration over generic netl 8 OVS datapath configuration over generic netlink. 10 9 11 definitions: 10 definitions: 12 - 11 - 13 name: ovs-header 12 name: ovs-header 14 type: struct 13 type: struct 15 members: 14 members: 16 - 15 - 17 name: dp-ifindex 16 name: dp-ifindex 18 type: u32 17 type: u32 19 - 18 - 20 name: user-features 19 name: user-features 21 type: flags 20 type: flags 22 name-prefix: ovs-dp-f- << 23 enum-name: << 24 entries: 21 entries: 25 - 22 - 26 name: unaligned 23 name: unaligned 27 doc: Allow last Netlink attribute to b 24 doc: Allow last Netlink attribute to be unaligned 28 - 25 - 29 name: vport-pids 26 name: vport-pids 30 doc: Allow datapath to associate multi 27 doc: Allow datapath to associate multiple Netlink PIDs to each vport 31 - 28 - 32 name: tc-recirc-sharing 29 name: tc-recirc-sharing 33 doc: Allow tc offload recirc sharing 30 doc: Allow tc offload recirc sharing 34 - 31 - 35 name: dispatch-upcall-per-cpu 32 name: dispatch-upcall-per-cpu 36 doc: Allow per-cpu dispatch of upcalls 33 doc: Allow per-cpu dispatch of upcalls 37 - 34 - 38 name: datapath-stats 35 name: datapath-stats 39 enum-name: ovs-dp-stats << 40 type: struct 36 type: struct 41 members: 37 members: 42 - 38 - 43 name: n-hit !! 39 name: hit 44 type: u64 40 type: u64 45 - 41 - 46 name: n-missed !! 42 name: missed 47 type: u64 43 type: u64 48 - 44 - 49 name: n-lost !! 45 name: lost 50 type: u64 46 type: u64 51 - 47 - 52 name: n-flows !! 48 name: flows 53 type: u64 49 type: u64 54 - 50 - 55 name: megaflow-stats 51 name: megaflow-stats 56 enum-name: ovs-dp-megaflow-stats << 57 type: struct 52 type: struct 58 members: 53 members: 59 - 54 - 60 name: n-mask-hit !! 55 name: mask-hit 61 type: u64 56 type: u64 62 - 57 - 63 name: n-masks !! 58 name: masks 64 type: u32 59 type: u32 65 - 60 - 66 name: padding 61 name: padding 67 type: u32 62 type: u32 68 - 63 - 69 name: n-cache-hit !! 64 name: cache-hits 70 type: u64 65 type: u64 71 - 66 - 72 name: pad1 67 name: pad1 73 type: u64 68 type: u64 74 69 75 attribute-sets: 70 attribute-sets: 76 - 71 - 77 name: datapath 72 name: datapath 78 name-prefix: ovs-dp-attr- << 79 enum-name: ovs-datapath-attrs << 80 attributes: 73 attributes: 81 - 74 - 82 name: name 75 name: name 83 type: string 76 type: string 84 - 77 - 85 name: upcall-pid 78 name: upcall-pid 86 doc: upcall pid 79 doc: upcall pid 87 type: u32 80 type: u32 88 - 81 - 89 name: stats 82 name: stats 90 type: binary 83 type: binary 91 struct: datapath-stats 84 struct: datapath-stats 92 - 85 - 93 name: megaflow-stats 86 name: megaflow-stats 94 type: binary 87 type: binary 95 struct: megaflow-stats 88 struct: megaflow-stats 96 - 89 - 97 name: user-features 90 name: user-features 98 type: u32 91 type: u32 99 enum: user-features 92 enum: user-features 100 enum-as-flags: true 93 enum-as-flags: true 101 - 94 - 102 name: pad 95 name: pad 103 type: unused 96 type: unused 104 - 97 - 105 name: masks-cache-size 98 name: masks-cache-size 106 type: u32 99 type: u32 107 - 100 - 108 name: per-cpu-pids 101 name: per-cpu-pids 109 type: binary 102 type: binary 110 sub-type: u32 103 sub-type: u32 111 - << 112 name: ifindex << 113 type: u32 << 114 104 115 operations: 105 operations: 116 fixed-header: ovs-header 106 fixed-header: ovs-header 117 name-prefix: ovs-dp-cmd- << 118 list: 107 list: 119 - 108 - 120 name: get !! 109 name: dp-get 121 doc: Get / dump OVS data path configurat 110 doc: Get / dump OVS data path configuration and state 122 value: 3 111 value: 3 123 attribute-set: datapath 112 attribute-set: datapath 124 do: &dp-get-op 113 do: &dp-get-op 125 request: 114 request: 126 attributes: 115 attributes: 127 - name 116 - name 128 reply: 117 reply: 129 attributes: 118 attributes: 130 - name 119 - name 131 - upcall-pid 120 - upcall-pid 132 - stats 121 - stats 133 - megaflow-stats 122 - megaflow-stats 134 - user-features 123 - user-features 135 - masks-cache-size 124 - masks-cache-size 136 - per-cpu-pids 125 - per-cpu-pids 137 dump: *dp-get-op 126 dump: *dp-get-op 138 - 127 - 139 name: new !! 128 name: dp-new 140 doc: Create new OVS data path 129 doc: Create new OVS data path 141 value: 1 130 value: 1 142 attribute-set: datapath 131 attribute-set: datapath 143 do: 132 do: 144 request: 133 request: 145 attributes: 134 attributes: >> 135 - dp-ifindex 146 - name 136 - name 147 - upcall-pid 137 - upcall-pid 148 - user-features 138 - user-features 149 - 139 - 150 name: del !! 140 name: dp-del 151 doc: Delete existing OVS data path 141 doc: Delete existing OVS data path 152 value: 2 142 value: 2 153 attribute-set: datapath 143 attribute-set: datapath 154 do: 144 do: 155 request: 145 request: 156 attributes: 146 attributes: >> 147 - dp-ifindex 157 - name 148 - name 158 149 159 mcast-groups: 150 mcast-groups: 160 list: 151 list: 161 - 152 - 162 name: ovs_datapath 153 name: ovs_datapath
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.