DPDK usage discussions
 help / color / mirror / Atom feed
From: avatli@itu.edu.tr
To: users@dpdk.org
Subject: Zero ports detected issue for Solarflare (SFC9250) cards
Date: Sun, 10 Sep 2023 21:04:45 +0300	[thread overview]
Message-ID: <20230910210445.Horde.9iIS_HJ33KAW3d2mfHFDKy6@webmail.itu.edu.tr> (raw)


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@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
===========================



             reply	other threads:[~2023-09-10 18:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-10 18:04 avatli [this message]
2023-09-11  8:05 ` David Marchand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230910210445.Horde.9iIS_HJ33KAW3d2mfHFDKy6@webmail.itu.edu.tr \
    --to=avatli@itu.edu.tr \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).