DPDK usage discussions
 help / color / mirror / Atom feed
From: Dinesh Ramesh <dineshramesh46@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] EAL: Failed to hotplug add device
Date: Tue, 1 Sep 2020 13:30:16 +0530	[thread overview]
Message-ID: <CABHQy4aySKyHf4+EB8gWdCrdpkzcRt=iVXAju7NrVFPywSobPw@mail.gmail.com> (raw)

I am trying to test my application with trex and dpdk l3fwd.
It's like sending the traffic from trex port 0 and it should land on l3fwd
app port 1 and it should reverse the traffic again from port 1 to port 0.
port 0 is ingress and port 1 is egress.
sending the traffic in port 0 from trex, and l3fwd app running on port 1.
To verify the packet is correctly landing on the l3fwd app, I am using
dpdk-pdump. But I am facing the below issue while running the dpdk-pdump

EAL: Failed to hotplug add device
EAL: Error - exiting with code: 1
  Cause: vdev creation failed:create_mp_ring_vdev:770

*l3fwd app logs:*
=============
[root@localhost l3fwd]# ./build/l3fwd -c 0x2 -n 1 -- -P -p 0x2
--config="(1,0,1)" --parse-ptype --eth-dest 1,00:0c:29:1a:14:d3
EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-1048576kB
EAL: Probing VFIO support...
EAL: PCI device 0000:03:00.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 15ad:7b0 net_vmxnet3
EAL: PCI device 0000:0b:00.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 15ad:7b0 net_vmxnet3
EAL: PCI device 0000:13:00.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 15ad:7b0 net_vmxnet3
soft parse-ptype is enabled
LPM or EM none selected, default LPM on

Skipping disabled port 0
Initializing port 1 ... Creating queues: nb_rxq=1 nb_txq=1... Port 1
modified RSS hash function based on hardware support,requested:0xa38c
configured:0x104
 Address:00:0C:29:05:6D:E1, Destination:00:0C:29:1A:14:D3, Allocated mbuf
pool on socket 0
LPM: Adding route 198.18.1.0 / 24 (1)
LPM: Adding route 2001:200:0:0:1:: / 48 (1)
txq=1,0,0

Initializing rx queues on lcore 1 ... rxq=1,0,0

Port 1: softly parse packet type info

Checking link statusdone
Port1 Link Up. Speed 10000 Mbps -full-duplex
L3FWD: entering main loop on lcore 1
L3FWD:  -- lcoreid=1 portid=1 rxqueueid=0
EAL: failed to parse device "vdev:net_pcap_rx_0"
EAL: Failed to hotplug add device on primary

*dpdk-pdumo logs:*
*=====================*

[root@localhost dpdk-19.11]# ./build/app/dpdk-pdump -- --pdump
'port=1,queue=*,rx-dev=/tmp/capture.pcap'
EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_23775_af66fc548a2ec
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: PCI device 0000:03:00.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 15ad:7b0 net_vmxnet3
EAL: PCI device 0000:0b:00.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 15ad:7b0 net_vmxnet3
EAL: PCI device 0000:13:00.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 15ad:7b0 net_vmxnet3
EAL: Failed to hotplug add device
EAL: Error - exiting with code: 1
  Cause: vdev creation failed:create_mp_ring_vdev:770
[root@localhost dpdk-19.11]#

Can you please help me on this and what i am missing here.

Thanks,
DR

                 reply	other threads:[~2020-09-10 21:18 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='CABHQy4aySKyHf4+EB8gWdCrdpkzcRt=iVXAju7NrVFPywSobPw@mail.gmail.com' \
    --to=dineshramesh46@gmail.com \
    --cc=users@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).