Hello Chetan,

Can you please mention the OFED version you use?
In case it’s inbox, please share the rdma-core version.

Have you tried installing OFED?
DPDK 21.02 is tested with MLNX_OFED 5.2-2.2.0.0

Regards,
Asaf Penso

From: chetan bhasin <chetan.bhasin...@gmail.com>
Sent: Friday, 12 May 2023 10:54
To: dev@dpdk.org
Subject: Photon OS + MLX not coming up


Hi,

We are using DPDK version β€œ21.02” and facing issue while doing port start of 
MLX (ConnectX-4 Lx Virtual Function)

0000:0b:00.0 'MT27710 Family [ConnectX-4 Lx Virtual Function] 1016' if=eth2 
drv=mlx5_core unused=

Photon kernel version - 4.19.277-3.ph3

Firmware version –
]# ethtool -i eth2
driver: mlx5_core
version: 5.0-0
firmware-version: 14.26.1040 (HP_2690110034)
expansion-rom-version:
bus-info: 0000:0b:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes

modinfo mlx5_core
filename:       
/lib/modules/4.19.277-3.ph3/kernel/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko.xz
version:        5.0-0
license:        Dual BSD/GPL
description:    Mellanox 5th generation network adapters (ConnectX series) core 
driver
author:         Eli Cohen e...@mellanox.com<mailto:e...@mellanox.com>
srcversion:     981FA6D58D2B017B197F177

We are seeing following errors in dpdk when we start the port

2023/05/12 06:00:57:497 notice     dpdk           EAL: Couldn't map new region 
for DMA
2023/05/12 06:01:29:966 error      dpdk           Interface 
TwentyFiveGigabitEthernetb/0/0 error -12: Unknown error -12
2023/05/12 06:01:29:966 error      interface      sw_set_flags_helper: 
dpdk_interface_admin_up_down: Interface start failed
2023/05/12 06:01:29:966 notice     dpdk           common_mlx5: Unable to find 
virtually contiguous chunk for address (0x1000000000). rte_memseg_contig_walk() 
failed.
2023/05/12 06:01:29:966 notice     dpdk           mlx5_pci: Failed to init 
cache list NIC_ingress_0_matcher_cache entry (nil).
2023/05/12 06:01:29:966 notice     dpdk           mlx5_pci: port 0 failed to 
set defaults flows

Reply via email to