首页 文章

DPDK Open vSwitch无法访问网络

提问于
浏览
0

我正在玩ovs-dpdk包https://github.com/01org/dpdk-ovs并且有一件事我看不到' from linux and can be configured by regular tools (ifconfig, ethtool etc.), so I could create TAP interface and add it to vswitch bridge interface and assign the bridge interface IP address. However with ovs-dpdk this is not the case: any bridge created with ovs-vsctl is not avaialble in userspace linux, at least I don'用ifconfig或"ip link show"看到它 .

还有另一种方法OVS-DPDK这样做吗?希望有人可以解决这个问题 . 谢谢 .

1 回答

  • 1

    当使用DPDK访问NIC时,ovs-dpdk将接管内存并且不允许常规内核驱动程序执行它们的操作 .

    这意味着如果将硬件与dpdk io驱动程序绑定,则不会再从linux主机看到该接口 . 但是你可以在dpdk-ovs中将这些原始dpdk接口内部桥接/点击/镜像到你的vm或者内核常规驱动程序可见的另一个接口 . 你不能在dpdk拥有的接口上做到这一点 .

    将dpdk集成到ovs的重点是绕过所有内核驱动程序并尽可能快地从vswitch获取数据包,这样它就可以将它们本地路由到您在桥接配置中设置的VM和其他本地接口 .

相关问题