> Hi Guys,
> 
> Need help, the issue is to use DPDK PMD on OVS (Open vSwitch), I've following 
> NIC card bind:
> 
> *********************************************************************
> root at yockgenm-tgl01:~# python3 /usr/bin/dpdk-devbind.py -s
> 
> Network devices using DPDK-compatible driver
> ============================================
> 0000:58:00.0 'Device 15f2' drv=vfio-pci unused=igc

It looks like you're trying to attach Intel Ethernet Controller I225
Series NIC.  Looking at the DPDK sources, it seems that DPDK 19.11
has no driver for it.  You need DPDK 20.11 and therefore newer
version of OVS, e.g. 2.16.

Best regards, Ilya Maximets.

> Following is the steps that I did in OVS-DPDK (according to 
> https://docs.openvswitch.org/en/latest/howto/dpdk/):
> 1. ovs-vsctl add-br ovs-br1 -- set bridge ovs-br1 datapath_type=netdev
> 2. ovs-vsctl add-port ovs-br1 dpdk-p0 -- set Interface dpdk-p0 type=dpdk 
> options:dpdk-devargs=0000:58:00.0   
> 3. ovs-vsctl add-port ovs-br1  dpdk-p1 -- set Interface dpdk-p1 type=dpdk 
> options:dpdk-devargs="class=eth,mac=00:11:22:33:44:55"
> 
> Step 2 & 3 have been failed, following are the errors log from OVS, it seems 
> to me like the EAL error from DPDK during PMD attaching:
> 2021-11-16T04:27:09.130Z|00119|dpdk|ERR|EAL: Driver cannot attach the device 
> (0000:58:00.0)
> 2021-11-16T04:27:09.130Z|00120|dpdk|ERR|EAL: Failed to attach device on 
> primary process
> 2021-11-16T04:27:09.130Z|00121|netdev_dpdk|WARN|Error attaching device 
> '0000:58:00.0' to DPDK
> 2021-11-16T04:27:09.130Z|00122|netdev|WARN|dpdk-p0: could not set 
> configuration (Invalid argument)
> 2021-11-16T04:27:09.130Z|00123|dpdk|ERR|Invalid port_id=32
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to