DPDK usage discussions
 help / color / mirror / Atom feed
From: "sakaia@fujitsu.com" <sakaia@fujitsu.com>
To: "'users@dpdk.org'" <users@dpdk.org>
Subject: Question about dpdk-pdump ring buffer
Date: Fri, 8 Apr 2022 06:50:36 +0000
Message-ID: <TYCPR01MB872413CA43110E0540B39349C7E99@TYCPR01MB8724.jpnprd01.prod.outlook.com> (raw)

Question about dpdk-pdump ring buffer

With updating from 21.08 to 21.11, The packet capture is failed. 
Previously(21.08) it works fine.

I want to know 2 things
a)the difference of dpdk-pdump between 21.08 and 21.11 (seems bpf changes) 
b)where pcap capture the ring buffer for secondary process?

The output is coming from print_pdump_stats function is zero for 3 parameters.(N.B.1) 
Above parameters are counted on pdump_rxtx function.(it is zero on this function also) 
The ring seems copied under mp_handle (process_msg) or mp_pdump.

P.S.
I understand dpdk-pdump seems to be deprecated by introducing dpdk-dumpcap.

Reference
  https://doc.dpdk.org/guides/prog_guide/pdump_lib.html
  https://doc.dpdk.org/guides/prog_guide/multi_proc_support.html

N.B.1

##### PDUMP DEBUG STATS #####
 -packets dequeued:                     0
 -packets transmitted to vdev:          0
 -packets freed:                        0

Thanks in advance

Atsushi SAKAI

             reply	other threads:[~2022-04-08  6:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-08  6:50 sakaia [this message]
2022-04-08 15:11 ` 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=TYCPR01MB872413CA43110E0540B39349C7E99@TYCPR01MB8724.jpnprd01.prod.outlook.com \
    --to=sakaia@fujitsu.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