Embedded Connectivity
Intel network controllers, Firmware, and drivers support systems
850 Discussions

I225-v cannot work in DPDK (ubuntu18.04)

lglhust
Beginner
1,568 Views

system: ubuntu-18.04.6-desktop-amd64

DPDK: dpdk-stable-19.11.6

In ubuntu ubuntu-18.04.6-desktop-amd64, I225-v works normally,but not for DPDK.


root@user-YL-CLU6L-V1:/etc/bind# ethtool -i enp1s0
driver: igc
version: 0.0.1-k
firmware-version:
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

 

root@user-YL-CLU6L-V1:/etc/bind# lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:9b61] (rev 0c)
Subsystem: Intel Corporation Device [8086:7270]
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9b41] (rev 02)
Subsystem: Intel Corporation Device [8086:2212]
Kernel driver in use: i915
Kernel modules: i915
00:12.0 Signal processing controller [1180]: Intel Corporation Device [8086:02f9]
Subsystem: Intel Corporation Device [8086:7270]
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:02ed]
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: xhci_hcd
00:14.2 RAM memory [0500]: Intel Corporation Device [8086:02ef]
Subsystem: Intel Corporation Device [8086:7270]
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:02e0]
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:02d3]
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: ahci
Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:02bc] (rev f0)
Kernel driver in use: pcieport
00:1c.5 PCI bridge [0604]: Intel Corporation Device [8086:02bd] (rev f0)
Kernel driver in use: pcieport
00:1c.6 PCI bridge [0604]: Intel Corporation Device [8086:02be] (rev f0)
Kernel driver in use: pcieport
00:1c.7 PCI bridge [0604]: Intel Corporation Device [8086:02bf] (rev f0)
Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:02b0] (rev f0)
Kernel driver in use: pcieport
00:1d.1 PCI bridge [0604]: Intel Corporation Device [8086:02b1] (rev f0)
Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:0284]
Subsystem: Intel Corporation Device [8086:7270]
00:1f.3 Audio device [0403]: Intel Corporation Device [8086:02c8]
Subsystem: Intel Corporation Device [8086:7270]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:02a3]
Subsystem: Intel Corporation Device [8086:7270]
Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:02a4]
Subsystem: Intel Corporation Device [8086:7270]
01:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:15f3] (rev 03)
Subsystem: Intel Corporation Device [8086:0000]
Kernel driver in use: igc
Kernel modules: igc
02:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:15f3] (rev 03)
Subsystem: Intel Corporation Device [8086:0000]
Kernel driver in use: igc
Kernel modules: igc
03:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:15f3] (rev 03)
Subsystem: Intel Corporation Device [8086:0000]
Kernel driver in use: igb_uio
Kernel modules: igc
04:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:15f3] (rev 03)
Subsystem: Intel Corporation Device [8086:0000]
Kernel driver in use: igc
Kernel modules: igc
05:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:15f3] (rev 03)
Subsystem: Intel Corporation Device [8086:0000]
Kernel driver in use: igc
Kernel modules: igc
06:00.0 Ethernet controller [0200]: Intel Corporation Device [8086:15f3] (rev 03)
Subsystem: Intel Corporation Device [8086:0000]
Kernel driver in use: igc
Kernel modules: igc


root@user-YL-CLU6L-V1:/etc/bind# dmesg | grep igc
[ 2.049269] igc 0000:01:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)
[ 2.049271] igc 0000:01:00.0 eth0: MAC: 00:e0:97:1d:5a:80
[ 2.116271] igc 0000:02:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)
[ 2.116272] igc 0000:02:00.0 eth1: MAC: 00:e0:97:1d:5a:81
[ 2.180201] igc 0000:03:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)
[ 2.180203] igc 0000:03:00.0 eth2: MAC: 00:e0:97:1d:5a:82
[ 2.248232] igc 0000:04:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)
[ 2.248234] igc 0000:04:00.0 eth3: MAC: 00:e0:97:1d:5a:83
[ 2.316271] igc 0000:05:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)
[ 2.316272] igc 0000:05:00.0 eth4: MAC: 00:e0:97:1d:5a:84
[ 2.384221] igc 0000:06:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)
[ 2.384223] igc 0000:06:00.0 eth5: MAC: 00:e0:97:1d:5a:85
[ 2.385071] igc 0000:04:00.0 enp4s0: renamed from eth3
[ 2.416256] igc 0000:03:00.0 enp3s0: renamed from eth2
[ 2.452313] igc 0000:02:00.0 enp2s0: renamed from eth1
[ 2.472195] igc 0000:05:00.0 enp5s0: renamed from eth4
[ 2.520221] igc 0000:06:00.0 enp6s0: renamed from eth5
[ 2.552206] igc 0000:01:00.0 enp1s0: renamed from eth0
[ 10.008503] igc 0000:02:00.0 enp2s0: igc: enp2s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 12.384534] igc 0000:01:00.0 enp1s0: igc: enp1s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[ 13.348427] igc 0000:03:00.0 enp3s0: igc: enp3s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[88869.166099] igc 0000:04:00.0: 4.000 Gb/s available PCIe bandwidth (5.0 GT/s PCIe x1 link)
[88869.166105] igc 0000:04:00.0 eth0: MAC: 00:e0:97:1d:5a:83
[88869.168760] igc 0000:04:00.0 enp4s0: renamed from eth0

 

I configs enp3s0 under dpdk control using the commands as follows:

ifconfig enp3s0 down

./dpdk-devbind.py --bind=igb_uio 0000:03:00.0

 

# ./dpdk-devbind.py -s

Network devices using DPDK-compatible driver
============================================
0000:03:00.0 'Device 15f3' drv=igb_uio unused=igc,vfio-pci

Network devices using kernel driver
===================================
0000:01:00.0 'Device 15f3' if=enp1s0 drv=igc unused=igb_uio,vfio-pci *Active*
0000:02:00.0 'Device 15f3' if=enp2s0 drv=igc unused=igb_uio,vfio-pci *Active*
0000:04:00.0 'Device 15f3' if=enp4s0 drv=igc unused=igb_uio,vfio-pci
0000:05:00.0 'Device 15f3' if=enp5s0 drv=igc unused=igb_uio,vfio-pci
0000:06:00.0 'Device 15f3' if=enp6s0 drv=igc unused=igb_uio,vfio-pci

No 'Baseband' devices detected
==============================

No 'Crypto' devices detected
============================

No 'Eventdev' devices detected
==============================

No 'Mempool' devices detected
=============================

No 'Compress' devices detected
==============================

No 'Misc (rawdev)' devices detected
===================================

 

When I start dpdk application program , rte_eth_dev_count_avail() return 0. But when the same application program runs on DELL R730 with X520 Adapter 154d on ubuntu18.04 , it works fine.

 

EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: Error - exiting with code: 1
Cause: No available NIC ports!

 

Does the driver of i225-v on ubuntu-18.04.6-desktop-amd64 not match with dpdk ?

I cannot find the cause ?

Thanks a lot.

0 Kudos
1 Reply
CarlosAM_INTEL
Moderator
1,555 Views

Hello, @lglhust 

Thank you for contacting Intel Embedded Community.

We want to address the following questions to understand this situation:

Could you please clarify if this request is related to an Intel® Ethernet Controller I225-V design developed by you or is a NIC or add-in card developed by a third-party company?

Could you please let us know the name of the manufacturer, the part number, and where we can find the information if this request is related to a third-party design?

We are waiting for your answer.

Best regards,

@CarlosAM_INTEL.

0 Kudos
Reply