DPDK patches and discussions
 help / color / mirror / Atom feed
From: vikram T <vikramet@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] MLX5 NIC: net_mlx5: port 0 cannot enable promiscuous mode: Cannot allocate memory
Date: Fri, 15 Nov 2019 19:04:57 +0530	[thread overview]
Message-ID: <CANxYRjyu+UsjKVdRB1iVmpRMNJ1O8ShYznDVQvW5K7a+T-e_sg@mail.gmail.com> (raw)

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

                 reply	other threads:[~2019-11-15 13:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CANxYRjyu+UsjKVdRB1iVmpRMNJ1O8ShYznDVQvW5K7a+T-e_sg@mail.gmail.com \
    --to=vikramet@gmail.com \
    --cc=dev@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).