MOON
Server: Apache
System: Linux s5.yayogua.com.py 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
User: sanbercountryclu (1012)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //usr/share/doc/ynl/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``)
~~~~~~~~~~~~~~~~~