44.2. 使用网卡 RHEL 9 中的 XDP 功能概述


RHEL 中提供的 XDP 功能取决于网卡及其驱动程序。

以下是启用了 XDP 的网卡和您可以使用的 XDP 特性的概述:

网卡驱动红帽支持状态基本的重定向目标零复制大 MTU

Amazon Elastic Network Adapter

ena

enabled

yes

yes

yes [a]

否

否

aQuantia AQtion Ethernet card

atlantic

enabled

yes

yes

否

否

否

Broadcom NetXtreme-C/E 10/25/40/50 千兆以太网

bnxt_en

支持

yes

yes

是 [a]

否

yes

Cavium Thunder Virtual function

nicvf

enabled

yes

否

否

否

否

Google Virtual NIC (gVNIC) support

gve

enabled

yes

yes

yes

yes

否

Intel® 10GbE PCI Express Virtual Function Ethernet

ixgbevf

enabled

yes

否

否

否

否

Intel® 10GbE PCI Express adapters

ixgbe

enabled

yes

yes

是 [a]

yes

yes [b]

Intel® Ethernet Connection E800 Series

Ice

支持

yes

yes

是 [a]

yes

yes

Intel® Ethernet Controller I225-LM/I225-V family

igc

支持

yes

yes

yes

yes

是 [b]

Intel® PCI Express Gigabit adapters

igb

enabled

yes

yes

是 [a]

否

是 [b]

Intel® Ethernet Controller XL710 Family

i40e

支持

yes

yes

是 [a] [c]

yes

否

Marvell OcteonTX2

rvu_nicpf

enabled

yes

yes

是 [a] [c]

否

否

Mellanox 5th generation network adapters (ConnectX series)

mlx5_core

支持

yes

yes

是 [c]

yes

yes

Mellanox Technologies 1/10/40Gbit Ethernet

mlx4_en

enabled

yes

yes

否

否

否

Microsoft Azure Network Adapter

mana

enabled

yes

yes

yes

否

否

Microsoft Hyper-V virtual network

hv_netvsc

enabled

yes

yes

yes

否

否

Netronome® NFP4000/NFP6000 NIC [d]

nfp

enabled

yes

否

否

yes

否

Pensando Ethernet Adapter

ionic

enabled

yes

yes

yes

否

yes

QEMU Virtio 网络

virtio_net

支持

yes

yes

是 [a]

否

yes

QLogic QED 25/40/100Gb Ethernet NIC

qede

enabled

yes

yes

yes

否

否

STMicroelectronics Multi-Gigabit Ethernet

stmmac

enabled

yes

yes

是 [a]

yes

否

Solarflare SFC9000/SFC9100/EF100-family

sfc

enabled

yes

yes

是 [c]

否

否

Universal TUN/TAP device

tun

enabled

yes

yes

yes

否

否

Virtual Ethernet pair device

veth

支持

yes

yes

yes

否

yes

VMware VMXNET3 ethernet driver

vmxnet3

enabled

yes

yes

是 [a] [c]

否

否

Xen paravirtual network device

xen-netfront

enabled

yes

yes

yes

否

否

[a] 只有在接口上加载 XDP 程序时。
[b] 仅传输侧。无法通过 XDP 接收大型数据包。
[c] 需要分配几个大于或等于最大 CPU 索引的 XDP TX 队列。
[d] 一些列出的功能不适用于 Netronome® NFP3800 NIC。

图例:

  • 红帽支持状态:

    • 支持的 :红帽完全支持此驱动程序提供的 XDP 功能。
    • 启用 :XDP 功能由上游驱动程序提供。红帽以最佳方式解决发现问题,但硬件不受完整的内部质量保证测试套件的影响。
  • 基本的:支持基本的返回代码:DROP、PASS、ABORTED 和 TX。
  • 重定向:支持 XDP_REDIRECT 返回码。
  • 目标 :可以是 XDP_REDIRECT 返回码的目标。
  • 零-复制:支持 AF_XDP 协议系列的零复制模式。
  • 大 MTU:支持大于页大小的数据包。
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部