DPDK usage discussions
 help / color / mirror / Atom feed
* Unable to initialize ConnectX-4 ports in DPDK 24.11 and 25.03
@ 2025-05-24  0:50 Charles Oluwaseun Oluboyo
  2025-05-27  8:29 ` Dariusz Sosnowski
  0 siblings, 1 reply; 4+ messages in thread
From: Charles Oluwaseun Oluboyo @ 2025-05-24  0:50 UTC (permalink / raw)
  To: users

Hello,

I have a ConnectX-4 dual-100Gbps NIC that works with DPDK versions
24.03 and 24.07 but not with 24.11 or 25.03.

0000:04:00.0 'MT27700 Family [ConnectX-4] 1013' numa_node=0
if=enp4s0f0np0 drv=mlx5_core unused=vfio-pci
0000:04:00.1 'MT27700 Family [ConnectX-4] 1013' numa_node=0
if=enp4s0f1np1 drv=mlx5_core unused=vfio-pci

Setting the log levels to debug, the newer versions are unable to
configure more than one (1) description on any queue:

ETHDEV: Invalid value for nb_tx_desc(=1024), should be: <= 1, >= 0,
and a product of 1

Whereas using the older version, I am able to set a larger number of
descriptors. Tried 512, 1024, 2048 and 4096.

********************* Infos for port 0  *********************
MAC address: EC:0D:9A:35:1A:16
Device name: 04:00.0
Driver name: mlx5_pci
Firmware-version: 12.24.1000
Devargs:
Connect to socket: 0
memory allocation on the socket: 0
Link status: up
Link speed: 100 Gbps
Link duplex: full-duplex
Autoneg status: On
MTU: 2030
Promiscuous mode: enabled
Allmulticast mode: disabled
Maximum number of MAC addresses: 128
Maximum number of MAC addresses of hash filtering: 0
VLAN offload:
  strip off, filter off, extend off, qinq strip off
Hash key size in bytes: 40
Redirection table size: 4
Supported RSS offload flow types:
  ipv4  ipv4-frag  ipv4-tcp  ipv4-udp  ipv4-other  ipv6
  ipv6-frag  ipv6-tcp  ipv6-udp  ipv6-other  ipv6-ex
  ipv6-tcp-ex  ipv6-udp-ex  esp  l4-dst-only  l4-src-only
  l3-dst-only  l3-src-only
Minimum size of RX buffer: 32
Maximum configurable length of RX packet: 65536
Maximum configurable size of LRO aggregated packet: 65280
Current number of RX queues: 4
Max possible RX queues: 1024
Max possible number of RXDs per queue: 65535
Min possible number of RXDs per queue: 0
RXDs number alignment: 1
Current number of TX queues: 4
Max possible TX queues: 1024
Max possible number of TXDs per queue: 65535
Min possible number of TXDs per queue: 0
TXDs number alignment: 1
Max segment number per packet: 40
Max segment number per MTU/TSO: 40
Device capabilities: 0x10( FLOW_SHARED_OBJECT_KEEP )
Switch name: 04:00.0
Switch domain Id: 0
Switch Port Id: 65535
Device error handling mode: none
Device private info:
  none

Is this a known issue? Please, what should I do next?

Oluwaseun

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-05-28 23:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-24  0:50 Unable to initialize ConnectX-4 ports in DPDK 24.11 and 25.03 Charles Oluwaseun Oluboyo
2025-05-27  8:29 ` Dariusz Sosnowski
2025-05-27 18:12   ` Charles Oluwaseun Oluboyo
2025-05-28 23:00     ` Charles Oluwaseun Oluboyo

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).