Skip to content

Commit 63e511c

Browse files
authored
feat: agent - eBPF Add DPDK packet capture configuration instructions (#9881)
1 parent 8b508ce commit 63e511c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

server/agent_config/template.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2701,10 +2701,20 @@ inputs:
27012701
# locate and trace packets for data collection.
27022702
#
27032703
# Example: In the command line `/usr/bin/mydpdk`, it can be set as `command: mydpdk`
2704+
#
2705+
# In scenarios where DPDK acts as the vhost-user backend, data exchange between the virtual machine and the DPDK
2706+
# application occurs through virtqueues (vrings). eBPF can automatically hook into the vring interface without
2707+
# requiring any modifications to DPDK or the virtual machine, enabling packet capture and traffic observability
2708+
# with zero additional configuration. In contrast, capturing packets on physical NICs requires explicit configuration
2709+
# of the corresponding DPDK driver interfaces.
27042710
# ch: |-
27052711
# 设置 DPDK 应用的命令名称, eBPF 会自动寻找并进行追踪采集数据包
27062712
#
27072713
# 配置样例: 如果命令行是 `/usr/bin/mydpdk`, 可以配置成 `command: mydpdk`
2714+
#
2715+
# 在 DPDK 作为 vhost-user 后端的场景中,虚拟机与 DPDK 应用之间通过 virtqueue(vring)进行数据交换。
2716+
# eBPF 可以在无需修改 DPDK 或虚拟机的前提下,自动 hook 到 vring 接口,实现对传输数据包的捕获和分析,
2717+
# 无需额外配置即可实现流量可观测。相比之下,若要捕获物理网卡上的数据包,则需要配合 DPDK 的驱动接口进行显式配置。
27082718
# upgrade_from:
27092719
command: ""
27102720
# type: string

0 commit comments

Comments
 (0)