> Update: > > After upgrade firmware still same errors > > # ethtool -i ext1 > driver: ixgbe > version: 5.1.0-k > firmware-version: 0x800013d1, 20.0.16 > expansion-rom-version: > bus-info: 0000:af:00.1 > supports-statistics: yes > supports-test: yes > supports-eeprom-access: yes > supports-register-dump: yes > supports-priv-flags: yes > > On Mon, Oct 4, 2021 at 9:33 AM Satish Patel <satish.txt at gmail.com> wrote: >> >> Folks, >> >> I am new to this nic series and just found a strange issue, i am sure >> people are using this nic in production with dpdk. >> >> # ovs-vsctl add-port br-vlan dpdk-1 -- set Interface dpdk-1 type=dpdk >> options:dpdk-devargs=0000:3b:00.1 >> ovs-vsctl: Error detected while setting up 'dpdk-1': Error attaching >> device '0000:3b:00.1' to DPDK. See ovs-vswitchd log for details. >> ovs-vsctl: The default log directory is "/var/log/openvswitch". >> >> >> 2021-10-04T13:20:05.751Z|00272|dpdk|ERR|EAL: Driver cannot attach the >> device (0000:3b:00.1) >> 2021-10-04T13:20:05.751Z|00273|dpdk|ERR|EAL: Failed to attach device >> on primary process >> 2021-10-04T13:20:05.751Z|00274|netdev_dpdk|WARN|Error attaching device >> '0000:3b:00.1' to DPDK >> 2021-10-04T13:20:05.751Z|00275|netdev|WARN|dpdk-1: could not set >> configuration (Invalid argument) >> 2021-10-04T13:20:05.751Z|00276|dpdk|ERR|Invalid port_id=32
Hi. The ERR log above likely means that you reached the maximum number of DPDK ports. Most likely, your DPDK is built with default max_ethports, which is 32, and your system has more devices. You need to increase the value and re-build DPDK (and OVS afterwards), or reduce the number of devices. Best regards, Ilya Maximets. >> >> >> # dpdk-devbind.py -s >> >> Network devices using DPDK-compatible driver >> ============================================ >> 0000:3b:00.0 'Ethernet Controller 10G X550T 1563' drv=vfio-pci unused=ixgbe >> 0000:3b:00.1 'Ethernet Controller 10G X550T 1563' drv=vfio-pci unused=ixgbe >> >> Network devices using kernel driver >> =================================== >> 0000:04:00.0 'NetXtreme BCM5720 2-port Gigabit Ethernet PCIe 165f' >> if=eno1 drv=tg3 unused=vfio-pci >> 0000:04:00.1 'NetXtreme BCM5720 2-port Gigabit Ethernet PCIe 165f' >> if=eno2 drv=tg3 unused=vfio-pci >> 0000:af:00.0 'Ethernet Controller 10G X550T 1563' if=int1 drv=ixgbe >> unused=vfio-pci >> 0000:af:00.1 'Ethernet Controller 10G X550T 1563' if=ext1 drv=ixgbe >> unused=vfio-pci >> >> >> # ethtool -i ext0 >> driver: ixgbe >> version: 5.1.0-k >> firmware-version: 0x80000f32, 19.5.12 >> expansion-rom-version: >> bus-info: 0000:3b:00.1 >> supports-statistics: yes >> supports-test: yes >> supports-eeprom-access: yes >> supports-register-dump: yes >> supports-priv-flags: yes >> >> Do you think it is related firmware issue or driver version? _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
