* [dpdk-dev] MLX5 NIC: net_mlx5: port 0 cannot enable promiscuous mode: Cannot allocate memory
@ 2019-11-15 13:34 vikram T
0 siblings, 0 replies; only message in thread
From: vikram T @ 2019-11-15 13:34 UTC (permalink / raw)
To: dev
Hi,
I am facing an issue with 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:
1. Is the error the cause for the traffic not being processed by NIC card?
2. 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-15 13:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-15 13:34 [dpdk-dev] MLX5 NIC: net_mlx5: port 0 cannot enable promiscuous mode: Cannot allocate memory vikram T
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).