Hello ovs community I am trying to attach an interface (eth4-4) to a bridge (svc-br) with netdev datapath_type. Here are the steps which I follow: 1. Load vfio-pci driver 2. Bind vfio-pci driver to interface eth4-4 (following steps as mentioned here: http://docs.openvswitch.org/en/latest/topics/dpdk/phy/#dpdk-binding-nics) 3. Hotplug this interface to DPDK bridge: # ovs-vsctl add-port svc-br eth4-4 -- set interface eth4-4 type=dpdk options:dpdk-devargs=0000:af:00.3 (following steps as mentioned here: http://docs.openvswitch.org/en/latest/topics/dpdk/phy/#hotplugging)
After completing these steps, I see that it shows 'Error attaching device '0000:af:00.3' to DPDK' error. Here are the error logs: 2019-05-15T21:11:20.663Z|00227|dpdk|INFO|EAL: PCI device 0000:af:00.3 on NUMA socket 1 2019-05-15T21:11:20.663Z|00228|dpdk|INFO|EAL: probe driver: 8086:1521 net_e1000_igb 2019-05-15T21:11:20.663Z|00229|dpdk|ERR|EAL: Driver cannot attach the device (0000:af:00.3) 2019-05-15T21:11:20.663Z|00230|netdev_dpdk|WARN|Error attaching device '0000:af:00.3' to DPDK 2019-05-15T21:11:20.663Z|00231|netdev|WARN|eth4-4: could not set configuration (Invalid argument) I noticed that restarting openvswitch solves this issue, and I can see the interface attached to bridge after restart. Here is the snippet from logs during restart: 2019-05-15T21:14:54.172Z|00078|dpdk|INFO|EAL: PCI device 0000:af:00.3 on NUMA socket 1 2019-05-15T21:14:54.172Z|00079|dpdk|INFO|EAL: probe driver: 8086:1521 net_e1000_igb 2019-05-15T21:14:54.174Z|00080|dpdk|INFO|EAL: using IOMMU type 1 (Type 1) Am I missing any step? Openvswitch documentation does not specify anything else. # ovs-vswitchd --version ovs-vswitchd (Open vSwitch) 2.9.3 DPDK 17.11.0 Regards, Shriroop _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss