Intel 82599 dpdk support with centos8

Satish Patel satish.txt at gmail.com
Wed Nov 4 02:51:10 UTC 2020


Folks,

I am trying to get dpdk working with my OVS on CentOS-8 and I am stuck
here so I need advice from folks who can help me here.

I have an HP c7000 chassis with ProLiant BL460c Gen9 blade. I am
running CentOS-8 with following version of ovs-dpdk

[root at compute-2 usertools]# ovs-vswitchd --version
ovs-vswitchd (Open vSwitch) 2.12.0
DPDK 18.11.2

I am using openstack-ansible to set up openvswitch with dpdk, and so
far everything went well but I am stuck in the end.

[root at compute-2 usertools]# ovs-vsctl add-port br-provider dpdk-0 --
set Interface dpdk-0 type=dpdk options:dpdk-devargs=0000:06:00.0
ovs-vsctl: Error detected while setting up 'dpdk-0': Error attaching
device '0000:06:00.0' to DPDK.  See ovs-vswitchd log for details.
ovs-vsctl: The default log directory is "/var/log/openvswitch".

Here is the error message.

[root at compute-2 usertools]# tail -f /var/log/openvswitch/ovs-vswitchd.log
2020-11-04T02:46:31.751Z|00303|dpdk|INFO|EAL: PCI device 0000:06:00.0
on NUMA socket 0
2020-11-04T02:46:31.751Z|00304|dpdk|INFO|EAL:   probe driver:
8086:10f8 net_ixgbe
2020-11-04T02:46:31.751Z|00305|dpdk|ERR|EAL: Driver cannot attach the
device (0000:06:00.0)
2020-11-04T02:46:31.751Z|00306|dpdk|ERR|EAL: Failed to attach device
on primary process
2020-11-04T02:46:31.751Z|00307|netdev_dpdk|WARN|Error attaching device
'0000:06:00.0' to DPDK
2020-11-04T02:46:31.751Z|00308|netdev|WARN|dpdk-0: could not set
configuration (Invalid argument)
2020-11-04T02:46:31.751Z|00309|dpdk|ERR|Invalid port_id=32


This is what my NIC firmware/driver

[root at compute-2 usertools]# ethtool -i eno50
driver: ixgbe
version: 5.1.0-k-rh8.2.0
firmware-version: 0x800008fb, 1.2028.0
expansion-rom-version:
bus-info: 0000:06:00.1

[root at compute-2 usertools]# python3 ./dpdk-devbind.py --status

Network devices using DPDK-compatible driver
============================================
0000:06:00.0 '82599 10 Gigabit Dual Port Backplane Connection 10f8'
drv=vfio-pci unused=ixgbe

Network devices using kernel driver
===================================
0000:06:00.1 '82599 10 Gigabit Dual Port Backplane Connection 10f8'
if=eno50 drv=ixgbe unused=vfio-pci

I did enabled IOMMU & huge mem in grub

iommu=pt intel_iommu=on hugepagesz=2M hugepages=30000 transparent_hugepage=never

Not sure what is wrong here and the big question is does this NIC
support DPDK or not?



More information about the openstack-discuss mailing list