如何解决如何使用 DPDK IPN3KE 轮询模式驱动程序?
我们目前使用 DPDK 18.11 (LTS) 和 Intel X722 网卡。我们像这样将设备绑定到 DPDK:
usertools/dpdk-devbind.py -b igb_uio `lspci | grep X722 | awk '{print $1}'`
并使用这些 EAL 参数:
-c 0x101 -n 4 -m 16000
我们现在想要绑定到英特尔 N3000 FPGA 加速卡的 X710/XXV710 设备。我知道在 DPDK v.19.05 中添加了必要的 IPN3KE 轮询模式驱动程序,因此我们需要使用该版本最低,但我从发行说明中不明白如何使用它。
PCI 接口位于:
$ lspci | grep 0d58
b3:00.0 Ethernet controller: Intel Corporation Device 0d58 (rev 02)
b3:00.1 Ethernet controller: Intel Corporation Device 0d58 (rev 02)
b5:00.0 Ethernet controller: Intel Corporation Device 0d58 (rev 02)
b5:00.1 Ethernet controller: Intel Corporation Device 0d58 (rev 02)
所以我想我绑定了:
usertools/dpdk-devbind.py -b igb_uio `lspci | grep 0d58| awk '{print $1}'`
这里的igb_uio使用正确吗?
我已经使用选项构建了 DPDK:
CONFIG_RTE_LIBRTE_IPN3KE_PMD=y
IPN3KE 轮询模式驱动程序文档说要使用运行时选项:
--vdev 'ipn3ke_cfg0,afu=0|b3:00.0'
那么我们应该将其添加为 EAL 初始化参数吗?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。