DPDK usage discussions
 help / color / mirror / Atom feed
From: Rami Rosen <roszenrami@gmail.com>
To: srinivas_kotamarti@affirmednetworks.com
Cc: users@dpdk.org
Subject: Re: [dpdk-users] issues with dpdk-pdump
Date: Sat, 20 Oct 2018 15:55:09 +0300	[thread overview]
Message-ID: <CAKoUArk5GmHFZ5YwX_QCUv6N0v2nPRf21oFyZXUhGLDvz3F=2Q@mail.gmail.com> (raw)
In-Reply-To: <8A47B1032B7A634D8DEF55F102DE2C9BC089363F@MBX021-E5-VA-2.exch021.domain.local>

Hi Srinivas,
Can you do a simple test to make sure your setup is ok ?
The suggested test is: instead od running you app, simply do the following:
First, bind a port to DPDK.
Then, run testpmd app (build/app/testpmd; as testpmd calls
rte_pdump_init() if RTE_LIBRTE_PDUMP is defined).
Then run again the dpdk-pdump, and post the result.
For me this works with dpdk-18.08, I am aware that you are using an
older version, but it should work also for you I believe.
Please note that I had to remove the while spaces in the command, but
anyhow these whitespaces did not
cause the error about rte_eal_config_attach() you had, but a parsing
error; after I removed these whitespaces, everything
was fine, no errors; what I actually ran is;
./build/app/dpdk-pdump --  --pdump
'port=0,queue=*,rx-dev=/work/rc.pcapng,tx-dev=/work/tc.pcapng'

and the log shows:

EAL: Detected 4 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_15023_7a49f061eb1
EAL: Probing VFIO support...
EAL: PCI device 0000:01:00.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:1584 net_i40e
EAL: PCI device 0000:02:00.0 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:1528 net_ixgbe
EAL: PCI device 0000:02:00.1 on NUMA socket -1
EAL:   Invalid NUMA socket, default to 0
EAL:   probe driver: 8086:1528 net_ixgbe
Port 2 MAC: 00 00 00 01 02 03
Port 3 MAC: 00 00 00 01 02 03


Regards,
Rami Rosen
http://ramirose.wixsite.com/ramirosen

  reply	other threads:[~2018-10-20 12:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-18 21:34 Srinivas Kotamarti
2018-10-20 12:55 ` Rami Rosen [this message]
2018-10-22 20:49   ` Srinivas Kotamarti
2018-10-24  5:11     ` Rami Rosen
2018-10-22  5:39 ` Gowrishankar Muthukrishnan

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='CAKoUArk5GmHFZ5YwX_QCUv6N0v2nPRf21oFyZXUhGLDvz3F=2Q@mail.gmail.com' \
    --to=roszenrami@gmail.com \
    --cc=srinivas_kotamarti@affirmednetworks.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).