DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] mlx5: dual port capture
@ 2020-07-24 21:04 PATRICK KEROULAS
  2020-07-24 23:48 ` Stephen Hemminger
  2020-07-30 19:06 ` PATRICK KEROULAS
  0 siblings, 2 replies; 3+ messages in thread
From: PATRICK KEROULAS @ 2020-07-24 21:04 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] mlx5: dual port capture
  2020-07-24 21:04 [dpdk-users] mlx5: dual port capture PATRICK KEROULAS
@ 2020-07-24 23:48 ` Stephen Hemminger
  2020-07-30 19:06 ` PATRICK KEROULAS
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2020-07-24 23:48 UTC (permalink / raw)
  To: PATRICK KEROULAS; +Cc: users

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-users] mlx5: dual port capture
  2020-07-24 21:04 [dpdk-users] mlx5: dual port capture PATRICK KEROULAS
  2020-07-24 23:48 ` Stephen Hemminger
@ 2020-07-30 19:06 ` PATRICK KEROULAS
  1 sibling, 0 replies; 3+ messages in thread
From: PATRICK KEROULAS @ 2020-07-30 19:06 UTC (permalink / raw)
  To: users

dpdk-pdump doc:

"Multiple instances of --pdump can be passed to capture packets
on different port and queue combinations."

On Fri, Jul 24, 2020 at 5:04 PM 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-30 19:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-24 21:04 [dpdk-users] mlx5: dual port capture PATRICK KEROULAS
2020-07-24 23:48 ` Stephen Hemminger
2020-07-30 19:06 ` PATRICK KEROULAS

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).