DPDK usage discussions
 help / color / mirror / Atom feed
From: Daniel Shelepov <dashel@microsoft.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] dpdk-pdump fails to initialize mysteriously
Date: Wed, 15 Aug 2018 22:36:39 +0000	[thread overview]
Message-ID: <BL0PR2101MB08990D38486489311EB24E6AD63F0@BL0PR2101MB0899.namprd21.prod.outlook.com> (raw)

Hello,

I am having difficulties running dpdk-pdump on a fresh setup.  I previously had it working on a different VM/app/DPDK version combo, but somehow it now doesn't (version 18.05, testpmd being the primary app).  Error is "failed to parse device".  Does anyone have an idea of how to debug this?

>:~/dpdk-18.05/out/bin$ sudo ./dpdk-pdump -- --pdump 'device_id=0002:00:02.0,queue=*,rx-dev=/home/dashel/capture-rx.pcap,tx-dev=/home/dashel/capture-tx.pcap'
EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_18627_e6fcbc35bcdc
EAL: Probing VFIO support...
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using unreliable clock cycles !
EAL: PCI device 0001:00:02.0 on NUMA socket 0
EAL:   probe driver: 15b3:1004 net_mlx4
PMD: net_mlx4: PCI information matches, using device "mlx4_0" (VF: true)
PMD: net_mlx4: 1 port(s) detected
PMD: net_mlx4: port 1 MAC address is 00:0d:3a:06:8c:55
EAL: PCI device 0002:00:02.0 on NUMA socket 0
EAL:   probe driver: 15b3:1004 net_mlx4
PMD: net_mlx4: PCI information matches, using device "mlx4_1" (VF: true)
PMD: net_mlx4: 1 port(s) detected
PMD: net_mlx4: port 1 MAC address is 00:0d:3a:06:58:2f
ERROR: failed to parse device "net_pcap_rx_0"
EAL: Error - exiting with code: 1
  Cause: vdev creation failed:create_mp_ring_vdev:631

Verified that CONFIG_RTE_LIBRTE_PDUMP=y

I am launching the primary app first, then the PDUMP binary.  Like I said, this flow worked previously, but now doesn't and I can't figure out where to start debugging this.  If anyone ran into something similar recently, would appreciate any pointers.

Daniel

             reply	other threads:[~2018-08-15 22:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-15 22:36 Daniel Shelepov [this message]
2018-08-16 12:45 Rami Rosen
2018-08-16 21:47 ` Daniel Shelepov

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=BL0PR2101MB08990D38486489311EB24E6AD63F0@BL0PR2101MB0899.namprd21.prod.outlook.com \
    --to=dashel@microsoft.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).