Orange-OpenSource / p4rt-ovs

Programming runtime extensions for Open vSwitch with P4
Apache License 2.0
24 stars 9 forks source link

could not add network device dpdk1 to ofproto (Invalid argument). #16

Open KekeZheng opened 2 years ago

KekeZheng commented 2 years ago

Hey,firends I got this error while testing,i don't know why , and i don't know how to fix it.Has anyone encountered such a problem? How did you solve it?

$ ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk options:dpdk-devargs=0000:02:06.0 $ ovs-vsctl: Error detected while setting up 'dpdk1': could not add network device dpdk1 to ofproto (Invalid argument). See ovs-vswitchd log for details.

Here is some information about the driver: Network devices using DPDK-compatible driver

0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' drv=igb_uio unused=e1000,vfio-pci 0000:02:07.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' drv=igb_uio unused=e1000,vfio-pci

Network devices using kernel driver

0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' if=ens33 drv=e1000 unused=igb_uio,vfio-pci Active

pchaigno commented 2 years ago

That looks like a DPDK issue and not specific to p4rt-ovs.

KekeZheng commented 2 years ago

my dpdk version is 19.11 and my ovs-switchd version is 2.13.90,is it right?