[ovs-discuss] Intel X550T2 nic dpdk issue

Satish Patel satish.txt at gmail.com
Tue Oct 19 14:37:09 UTC 2021


Thank you for reply,

I figured out what my issue was. In ubuntu 20.04 you need to install
libdpdk-dev package to install all librte drivers. after installing
that package my issue got resolved and able to bind nic to ovs bridge.

On Tue, Oct 19, 2021 at 9:46 AM Ilya Maximets <i.maximets at ovn.org> wrote:
>
> > 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?
>


More information about the discuss mailing list