DPDK usage discussions
 help / color / mirror / Atom feed
From: "Pattan, Reshma" <reshma.pattan@intel.com>
To: 廖書華 <sim860927@gmail.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: RE: Pdump Didn't capture the packet
Date: Wed, 17 Nov 2021 10:01:12 +0000
Message-ID: <BYAPR11MB3366D0C24079D21F31D629B3FF9A9@BYAPR11MB3366.namprd11.prod.outlook.com> (raw)
In-Reply-To: <CANq=q40o_4OpLFOxDssvnRaS1Ku0pdifvRTwK19C_By2oxxhgA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2564 bytes --]



From: 廖書華 <sim860927@gmail.com>
Sent: Wednesday, November 17, 2021 3:11 AM
To: Pattan, Reshma <reshma.pattan@intel.com>
Cc: users@dpdk.org
Subject: Re: Pdump Didn't capture the packet

Dear,

Thank you for the information !
I rerun the primary application with the other terminal running pdump, however it still can't capture the packet.
As for the logs you mentioned that is printed after the primary application terminates. Also, for the primary application log, I can make sure it transmits and receives the packet, but pdump still can't capture it.

[Reshma]: Are the pcap captured files empty?  That might need some debugging I guess. When you stop the pdump application you should see below stats.
If you see 0 “packets dequeued”, that means there is no Packets received from primary to pdump application.
So,  nee to  debug the pdump library what is happening , why primary application packets are not send to pdump application. You can try to debugging the pdump library and pdump
application.


packets dequeued:

packets transmitted to vdev:

packets freed:
- For the log of pdump
[oran@localhost pdump]$ sudo ./dpdk-pdump --file-prefix wls_1 -- --pdump 'port=0,queue=*,tx-dev=/home/oran/Music/tx.pcap,rx-dev=/home/oran/Music/rx.pcap'

Also, do you know whether pdump can capture the virtual function packet or not ? (We bind to vfio-pci)
[Reshma]: I have not tested with VFs ,  I always used PFs.
Best Regards,
Shu-hua, Liao

Pattan, Reshma <reshma.pattan@intel.com<mailto:reshma.pattan@intel.com>> 於 2021年11月15日 週一 下午4:58寫道:


From: 廖書華 <sim860927@gmail.com<mailto:sim860927@gmail.com>>
Sent: Monday, November 15, 2021 5:39 AM
To: users@dpdk.org<mailto:users@dpdk.org>
Cc: 林庭安 <lingwanjae@gmail.com<mailto:lingwanjae@gmail.com>>
Subject: Pdump Didn't capture the packet

Dear all,

Currently, I want to use pdump to capture our DPDK application, however for the pdump side, unfortunately, didn't capture any packet, also pdump didn't print any error. While for our application, it also didn't print any log related to pdump.
- Here's the log of pdump
[oran@localhost pdump]$ sudo ./dpdk-pdump --file-prefix wls_1 -- --pdump 'port=0,queue=*,tx-dev=/home/oran/Music/tx.pcap,rx-dev=/home/oran/Music/rx.pcap'

<snip>

Primary process is no longer active, exiting...

[Reshma]: From this log it is clear that, primary application is not running.  Rerun the primary application and in other terminal run the pdump application.

Best Regards,
Shu-hua, Liao

[-- Attachment #2: Type: text/html, Size: 11139 bytes --]

  reply	other threads:[~2021-11-17 10:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-15  5:39 廖書華
2021-11-15  8:57 ` Pattan, Reshma
2021-11-17  3:11   ` 廖書華
2021-11-17 10:01     ` Pattan, Reshma [this message]
2021-11-19  1:47       ` 廖書華
2021-11-19  5:23         ` Stephen Hemminger

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=BYAPR11MB3366D0C24079D21F31D629B3FF9A9@BYAPR11MB3366.namprd11.prod.outlook.com \
    --to=reshma.pattan@intel.com \
    --cc=sim860927@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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git