Logo

The Linux Kernel

6.8.0

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_vport netlink specification¶

Contents

  • Family ovs_vport netlink specification

    • Summary

    • Operations

      • new

      • del

      • get

    • Multicast groups

    • Definitions

      • ovs-header

      • vport-type

      • vport-stats

    • Attribute sets

      • vport-options

        • dst-port (u32)

        • extension (u32)

      • upcall-stats

        • success (u64)

        • fail (u64)

      • vport

        • unspec (unused)

        • port-no (u32)

        • type (u32)

        • name (string)

        • options (nest)

        • upcall-pid (binary)

        • stats (binary)

        • pad (unused)

        • ifindex (u32)

        • netnsid (u32)

        • upcall-stats (nest)

Summary¶

OVS vport configuration over generic netlink.

Operations¶

new¶

Create a new OVS vport

attribute-set

vport

fixed-header

ovs-header

do
request
attributes

[name, type, upcall-pid, ifindex, options]

del¶

Delete existing OVS vport from a data path

attribute-set

vport

fixed-header

ovs-header

do
request
attributes

[port-no, type, name]

get¶

Get / dump OVS vport configuration and state

attribute-set

vport

fixed-header

ovs-header

do
request
attributes

[name]

reply
attributes

[port-no, type, name, upcall-pid, stats, ifindex, netnsid, upcall-stats]

dump
request
attributes

[name]

reply
attributes

[port-no, type, name, upcall-pid, stats, ifindex, netnsid, upcall-stats]

Multicast groups¶

  • ovs_vport

Definitions¶

ovs-header¶

type

struct

members
dp-ifindex

vport-type¶

type

enum

enum-name

ovs-vport-type

name-prefix

ovs-vport-type-

entries
  • unspec

  • netdev

  • internal

  • gre

  • vxlan

  • geneve

vport-stats¶

type

struct

enum-name

ovs-vport-stats

members
rx-packets

tx-packets

rx-bytes

tx-bytes

rx-errors

tx-errors

rx-dropped

tx-dropped

Attribute sets¶

vport-options¶

dst-port (u32)¶

extension (u32)¶

upcall-stats¶

success (u64)¶

value

0

fail (u64)¶

vport¶

unspec (unused)¶

value

0

port-no (u32)¶

type (u32)¶

enum

vport-type

name (string)¶

options (nest)¶

nested-attributes

vport-options

upcall-pid (binary)¶

sub-type

u32

stats (binary)¶

struct

vport-stats

pad (unused)¶

ifindex (u32)¶

netnsid (u32)¶

upcall-stats (nest)¶

nested-attributes

upcall-stats

©The kernel development community. | Powered by Sphinx 5.0.1 & Alabaster 0.7.12 | Page source