Logo

Linux 内核

6.13.0-rc6

快速搜索

目录

  • 开发流程
  • 提交补丁
  • 行为准则
  • 维护者手册
  • 所有开发流程文档
  • 核心 API
  • 驱动 API
  • 子系统
    • 核心子系统
    • 人机界面
    • 网络接口
      • 网络
      • NetLabel
      • InfiniBand
      • ISDN
      • MHI
    • 存储接口
    • 其他子系统
  • 锁定
  • 许可规则
  • 编写文档
  • 开发工具
  • 测试指南
  • 黑客指南
  • 追踪
  • 故障注入
  • 实时补丁
  • Rust
  • 管理
  • 构建系统
  • 报告问题
  • 用户空间工具
  • 用户空间 API
  • 固件
  • 固件和设备树
  • CPU 架构
  • 未分类的文档
  • 翻译

本页

  • 显示源文件

Family ovs_datapath netlink 规范¶

目录

  • Family ovs_datapath netlink 规范

    • 摘要

    • 操作

      • get

      • new

      • del

    • 多播组

    • 定义

      • ovs-header

      • user-features

      • datapath-stats

      • megaflow-stats

    • 属性集

      • datapath

摘要¶

通过通用 netlink 进行 OVS 数据路径配置。

操作¶

get¶

获取/转储 OVS 数据路径配置和状态

值:

3

属性集:

datapath

操作:
请求
属性:

[name]

回复
属性:

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

转储:
请求
属性:

[name]

回复
属性:

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

new¶

创建新的 OVS 数据路径

值:

1

属性集:

datapath

操作:
请求
属性:

[name, upcall-pid, user-features]

del¶

删除现有的 OVS 数据路径

值:

2

属性集:

datapath

操作:
请求
属性:

[name]

多播组¶

  • ovs_datapath

定义¶

ovs-header¶

类型:

结构体

成员:
dp-ifindex (u32):

user-features¶

类型:

标志

名称前缀:

ovs-dp-f-

枚举名称:

无

条目:
unaligned:

允许最后一个 Netlink 属性不对齐

vport-pids:

允许数据路径将多个 Netlink PID 与每个 vport 关联

tc-recirc-sharing:

允许 tc 卸载 recirc 共享

dispatch-upcall-per-cpu:

允许每个 CPU 分发 upcall

datapath-stats¶

枚举名称:

ovs-dp-stats

类型:

结构体

成员:
n-hit (u64):

n-missed (u64):

n-lost (u64):

n-flows (u64):

megaflow-stats¶

枚举名称:

ovs-dp-megaflow-stats

类型:

结构体

成员:
n-mask-hit (u64):

n-masks (u32):

padding (u32):

n-cache-hit (u64):

pad1 (u64):

属性集¶

datapath¶

name (string)¶

upcall-pid (u32)¶

文档:

upcall pid

stats (binary)¶

结构体:

datapath-stats

megaflow-stats (binary)¶

结构体:

megaflow-stats

user-features (u32)¶

枚举:

user-features

enum-as-flags:

True

pad (unused)¶

masks-cache-size (u32)¶

per-cpu-pids (binary)¶

子类型:

u32

ifindex (u32)¶

©内核开发社区。| 由 Sphinx 5.3.0 & Alabaster 0.7.16 驱动 | 页面源文件