DPDK usage discussions
 help / color / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: PATRICK KEROULAS <patrick.keroulas@radio-canada.ca>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] mlx5: dual port capture
Date: Fri, 24 Jul 2020 16:48:10 -0700
Message-ID: <20200724164810.15d1df68@hermes.lan> (raw)
In-Reply-To: <CALEF-=B0_71ZpqT=3xqB9JUK+b5UC8hMBy3rRimnqNmB-XYffQ@mail.gmail.com>

On Fri, 24 Jul 2020 17:04:20 -0400
PATRICK KEROULAS <patrick.keroulas@radio-canada.ca> wrote:

> Hello,
> 
> We use 2 physical networks for redundancy. In order to validate that
> data on both network is similar, I need to capture traffic on the 2
> NIC ports simultaneously, no matter if the result is 2 pcap files.
> Since dpdk-pdump seems to work for one single port, I've tried to start
> 2 pdump processes simultaneously, which leads to a `Cannot reserve
> memory` msg for one of these.
> 
> I'm not very familiar with how mem pools and queues work. But I feel
> like there is a clever way to handle that. Can someone give a hint?
> 
> Best regards,
> 
> PK

I did some merged work to support pcapng and multiple interfaces, you can find it in patchwork
or mailing list.

  reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-24 21:04 PATRICK KEROULAS
2020-07-24 23:48 ` Stephen Hemminger [this message]
2020-07-30 19:06 ` PATRICK KEROULAS

Reply instructions:

You may reply publically 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=20200724164810.15d1df68@hermes.lan \
    --to=stephen@networkplumber.org \
    --cc=patrick.keroulas@radio-canada.ca \
    --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

Archives are clonable:
	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


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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