DPDK:运行 TestPMD 时将 Tx 或 Rx 数据包归零

DPDK: Zero Tx or Rx packets while runnning TestPMD

我已经安装了 DPDK 20.11。而运行基本的TestPMD代码,发送包数和接收包数为零。我需要帮助,我是新手。

我附上了 运行 TestPmd 的终端截图。我想知道我哪里出错了。

OS: Ubuntu 16.04.6LTS (Xenial Xerus)

Testpmd 没有提供任何参数(只提供 'sudo ./dpdk-testpmd' 命令)

物理网卡 固件详细信息: The driver details and NIC firware has been provided in the link

[编辑 1]port info of first port

Port info of second port

对设置进行了实时调试,物理上没有物理连接 NIC 或交换机。在 Linux 内核 ethtool 中,链接已关闭。因此在 DPDK 应用程序中,我们得到与 link Down

相同的消息

解决方案:将接口连接到 NIC 或交换机以获取端口状态