Zero ports detected issue for Solarflare (SFC9250) cards

avatli at itu.edu.tr avatli at itu.edu.tr
Sun Sep 10 20:04:45 CEST 2023


Hi all

I'm trying to use Solarflare (SFC9250) cards with DPDK. I have  
compiled the skeleton/basicfwd application but when I run it with the  
following parameters, the number of ports becomes zero, and it can't  
detect the Solarflare ports on the system.

$ sudo examples/dpdk-skeleton -l 0 -n 2
EAL: Detected CPU lcores: 10
EAL: Detected NUMA nodes: 1
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
TELEMETRY: No legacy callbacks, legacy socket not created
EAL: Error - exiting with code: 1
   Cause: Error: number of ports (0) must be even

Currently, the platform is using dpdk-stable-22.11.2 and CentOS 7

What am I doing wrong? I would greatly appreciate your assistance

> hft_005 at hft_005:~/volspace/dpdk-stable-22.11.2$ usertools/dpdk-devbind.py -s

Network devices using kernel driver
===================================
0000:01:00.0 'XtremeScale SFC9250 10/25/40/50/100G Ethernet Controller  
0b03' if=enp1s0f0 drv=sfc unused= *Active*
0000:01:00.1 'XtremeScale SFC9250 10/25/40/50/100G Ethernet Controller  
0b03' if=enp1s0f1 drv=sfc unused= *Active*
0000:06:00.0 'I210 Gigabit Network Connection 1533' if=enp6s0 drv=igb  
unused= *Active*
0000:07:00.0 'I210 Gigabit Network Connection 1533' if=enp7s0 drv=igb unused=
0000:08:00.0 'Ethernet Controller X710 for 10GBASE-T 15ff' if=enp8s0f0  
drv=i40e unused=
0000:08:00.1 'Ethernet Controller X710 for 10GBASE-T 15ff' if=enp8s0f1  
drv=i40e unused=

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

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

No 'DMA' devices detected
=========================

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

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

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

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

No 'Regex' devices detected
===========================




More information about the users mailing list