Hi,
I am facing an issue with DPDK mlx5 with error in “promiscous mode” in MLX5 NIC card.
The Application initializes successfully and the traffic/packets are not processed.
Error Snippet Below:
Nov 12 09:28:09 OCOM-PROBE-2 systemd: Stopped OCSM Media Sniffer.
Nov 12 09:28:09 OCOM-PROBE-2 systemd: Starting OCSM Media Sniffer…
Nov 12 09:28:09 OCOM-PROBE-2 system_layout.py: device mlx5_core already bound to 0000:08:00.1
Nov 12 09:28:09 OCOM-PROBE-2 system_layout.py: device mlx5_core already bound to 0000:08:00.0
Nov 12 09:28:09 OCOM-PROBE-2 rat_dpdk_sniffer[34924]: EAL: Probing VFIO support…
Nov 12 09:28:09 OCOM-PROBE-2 rat_dpdk_sniffer[34924]: EAL: VFIO support initialized
Nov 12 09:28:09 OCOM-PROBE-2 rat_dpdk_sniffer[34924]: EAL: PCI device 0000:08:00.0 on NUMA socket 0
Nov 12 09:28:09 OCOM-PROBE-2 rat_dpdk_sniffer[34924]: EAL: probe driver: 15b3:1013 net_mlx5
Nov 12 09:28:09 OCOM-PROBE-2 rat_dpdk_sniffer[34924]: net_mlx5: MPLS over GRE/UDP tunnel offloading disabled due to old OFED/rdma-core version or firmware configuration
Nov 12 09:28:09 OCOM-PROBE-2 rat_dpdk_sniffer[34924]: EAL: PCI device 0000:08:00.1 on NUMA socket 0
Nov 12 09:28:09 OCOM-PROBE-2 rat_dpdk_sniffer[34924]: EAL: probe driver: 15b3:1013 net_mlx5
Nov 12 09:28:09 OCOM-PROBE-2 rat_dpdk_sniffer[34924]: net_mlx5: MPLS over GRE/UDP tunnel offloading disabled due to old OFED/rdma-core version or firmware configuration
Nov 12 09:28:10 OCOM-PROBE-2 systemd: Started OCSM Product Setup Application.
Nov 12 09:28:11 OCOM-PROBE-2 rat_dpdk_sniffer[34924]: net_mlx5: port 0 cannot enable promiscuous mode: Cannot allocate memory
Nov 12 09:28:11 OCOM-PROBE-2 rat_dpdk_sniffer[34924]: net_mlx5: port 1 cannot enable promiscuous mode: Cannot allocate memory
However testpmd works fine here;
./testpmd -l 8-15 -n 4 -w 08:00.0 -w 08:00.1 – --rxq=2 --txq=2 -i
EAL: Detected 32 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Probing VFIO support…
EAL: VFIO support initialized
EAL: PCI device 0000:08:00.0 on NUMA socket 0
EAL: probe driver: 15b3:1013 net_mlx5
EAL: PCI device 0000:08:00.1 on NUMA socket 0
EAL: probe driver: 15b3:1013 net_mlx5
Interactive-mode selected
testpmd: create a new mbuf pool <mbuf_pool_socket_0>: n=203456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mbuf_pool_socket_1>: n=203456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Port 0: 50:6B:4B:DB:FE:0A
Configuring Port 1 (socket 0)
Port 1: 50:6B:4B:DB:FE:0B
Checking link statuses…
Done
testpmd> Killed
I have below questions:
-
Is the error the cause for the traffic not being processed by NIC card.
-
Is there something I have missed here in terms of memory configuration which is causing not to enable promiscous mode.
Let me know if any addition information is required.
Thanks in advance
Regards
Vikram