Logo

The Linux Kernel

6.8.0-rc2-6.8.0-rc2-sbm+

Quick search

Contents

  • A guide to the Kernel Development Process
  • Submitting patches: the essential guide to getting your code into the kernel
  • Code of conduct
  • Kernel Maintainer Handbook
  • All development-process docs
  • Core API Documentation
  • Driver implementer's API guide
  • Kernel subsystem documentation
    • Core subsystems
    • Human interfaces
    • Networking interfaces
      • Networking
      • NetLabel
      • InfiniBand
      • ISDN
      • MHI
    • Storage interfaces
  • Locking in the kernel
  • Linux kernel licensing rules
  • How to write kernel documentation
  • Development tools for the kernel
  • Kernel Testing Guide
  • Kernel Hacking Guides
  • Linux Tracing Technologies
  • fault-injection
  • Kernel Livepatching
  • Rust
  • The Linux kernel user's and administrator's guide
  • The kernel build system
  • Reporting issues
  • User-space tools
  • The Linux kernel user-space API guide
  • The Linux kernel firmware guide
  • Open Firmware and Devicetree
  • CPU Architectures
  • Unsorted Documentation
  • Reliability, Availability and Serviceability features
  • Translations

This Page

  • Show Source

Family ovs_datapath netlink specification¶

Contents

  • Family ovs_datapath netlink specification

    • Summary

    • Operations

      • get

      • new

      • del

    • Multicast groups

    • Definitions

      • ovs-header

      • user-features

      • datapath-stats

      • megaflow-stats

    • Attribute sets

      • datapath

        • name (string)

        • upcall-pid (u32)

        • stats (binary)

        • megaflow-stats (binary)

        • user-features (u32)

        • pad (unused)

        • masks-cache-size (u32)

        • per-cpu-pids (binary)

        • ifindex (u32)

Summary¶

OVS datapath configuration over generic netlink.

Operations¶

get¶

Get / dump OVS data path configuration and state

value:

3

attribute-set:

datapath

do:
request
attributes:

[name]

reply
attributes:

[name, upcall-pid, stats, megaflow-stats, user-features, masks-cache-size, per-cpu-pids]

dump:
request
attributes:

[name]

reply
attributes:

[name, upcall-pid, stats, megaflow-stats, user-features, masks-cache-size, per-cpu-pids]

new¶

Create new OVS data path

value:

1

attribute-set:

datapath

do:
request
attributes:

[name, upcall-pid, user-features]

del¶

Delete existing OVS data path

value:

2

attribute-set:

datapath

do:
request
attributes:

[name]

Multicast groups¶

  • ovs_datapath

Definitions¶

ovs-header¶

type:

struct

members:
dp-ifindex:

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

datapath-stats¶

enum-name:

ovs-dp-stats

type:

struct

members:
n-hit:

n-missed:

n-lost:

n-flows:

megaflow-stats¶

enum-name:

ovs-dp-megaflow-stats

type:

struct

members:
n-mask-hit:

n-masks:

padding:

n-cache-hit:

pad1:

Attribute sets¶

datapath¶

name (string)¶

upcall-pid (u32)¶

doc:

upcall pid

stats (binary)¶

struct:

datapath-stats

megaflow-stats (binary)¶

struct:

megaflow-stats

user-features (u32)¶

enum:

user-features

enum-as-flags:

True

pad (unused)¶

masks-cache-size (u32)¶

per-cpu-pids (binary)¶

sub-type:

u32

ifindex (u32)¶

©The kernel development community. | Powered by Sphinx 7.2.6 & Alabaster 0.7.16 | Page source