← Back
Editing: ovs_datapath.rst
.. LINENO 2 .. SPDX-License-Identifier: GPL-2.0 .. NOTE: This document was auto-generated. .. _netlink-ovs_datapath: ============================================= Family ``ovs_datapath`` netlink specification ============================================= .. contents:: :depth: 3 ------- Summary ------- OVS datapath configuration over generic netlink. ---------- Operations ---------- .. LINENO 117 .. _ovs_datapath-operation-get: get === Get / dump OVS data path configuration and state :value: 3 :attribute-set: :ref:`ovs_datapath-attribute-set-datapath` :do: .. LINENO 121 **request** :attributes: [``name``] **reply** :attributes: [``name``, ``upcall-pid``, ``stats``, ``megaflow-stats``, ``user-features``, ``masks-cache-size``, ``per-cpu-pids``] :dump: .. LINENO 121 **request** :attributes: [``name``] **reply** :attributes: [``name``, ``upcall-pid``, ``stats``, ``megaflow-stats``, ``user-features``, ``masks-cache-size``, ``per-cpu-pids``] .. LINENO 136 .. _ovs_datapath-operation-new: new === Create new OVS data path :value: 1 :attribute-set: :ref:`ovs_datapath-attribute-set-datapath` :do: .. LINENO 141 **request** :attributes: [``name``, ``upcall-pid``, ``user-features``] .. LINENO 147 .. _ovs_datapath-operation-del: del === Delete existing OVS data path :value: 2 :attribute-set: :ref:`ovs_datapath-attribute-set-datapath` :do: .. LINENO 152 **request** :attributes: [``name``] ---------------- Multicast groups ---------------- - ovs_datapath ----------- Definitions ----------- .. LINENO 12 .. _ovs_datapath-definition-ovs-header: ovs-header ========== :type: struct :members: :dp-ifindex (``u32``): .. LINENO 19 .. _ovs_datapath-definition-user-features: user-features ============= :type: flags :name-prefix: ovs-dp-f- :enum-name: None :entries: :unaligned: Allow last Netlink attribute to be unaligned :vport-pids: Allow datapath to associate multiple Netlink PIDs to each vport :tc-recirc-sharing: Allow tc offload recirc sharing :dispatch-upcall-per-cpu: Allow per-cpu dispatch of upcalls .. LINENO 37 .. _ovs_datapath-definition-ovs-dp-stats: ovs-dp-stats ============ :type: struct :members: :n-hit (``u64``): :n-missed (``u64``): :n-lost (``u64``): :n-flows (``u64``): .. LINENO 53 .. _ovs_datapath-definition-ovs-dp-megaflow-stats: ovs-dp-megaflow-stats ===================== :type: struct :members: :n-mask-hit (``u64``): :n-masks (``u32``): :padding (``u32``): :n-cache-hit (``u64``): :pad1 (``u64``): -------------- Attribute sets -------------- .. _ovs_datapath-attribute-set-datapath: datapath ======== .. LINENO 79 name (``string``) ~~~~~~~~~~~~~~~~~ .. LINENO 82 upcall-pid (``u32``) ~~~~~~~~~~~~~~~~~~~~ :doc: upcall pid .. LINENO 86 stats (``binary``) ~~~~~~~~~~~~~~~~~~ :struct: :ref:`ovs_datapath-definition-ovs-dp-stats` .. LINENO 90 megaflow-stats (``binary``) ~~~~~~~~~~~~~~~~~~~~~~~~~~~ :struct: :ref:`ovs_datapath-definition-ovs-dp-megaflow-stats` .. LINENO 94 user-features (``u32``) ~~~~~~~~~~~~~~~~~~~~~~~ :enum: :ref:`ovs_datapath-definition-user-features` :enum-as-flags: True .. LINENO 99 pad (``unused``) ~~~~~~~~~~~~~~~~ .. LINENO 102 masks-cache-size (``u32``) ~~~~~~~~~~~~~~~~~~~~~~~~~~ .. LINENO 105 per-cpu-pids (``binary``) ~~~~~~~~~~~~~~~~~~~~~~~~~ :sub-type: u32 .. LINENO 109 ifindex (``u32``) ~~~~~~~~~~~~~~~~~
Save File
Cancel