DPDK usage discussions
 help / color / mirror / Atom feed
From: Mattia Milani <mattia.milani@nokia.com>
To: users@dpdk.org
Subject: [BBDev + PktGen] How to properly generate traffic with Pktgen-DPDK towards BBDev
Date: Thu, 1 Feb 2024 16:11:59 +0100	[thread overview]
Message-ID: <7f77659b-fa58-411b-ae40-28055e938684@nokia.com> (raw)

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

Hello everybody,

It's the first time that I'm posting on this mailing list so I hope it's 
the correct place for my questions.
Otherwise please correct me.

I'm trying to generate some traffic using Pktgen-DPDK and sending it to 
Following what is described 
But I'm facing some issues. Mostly because I'm new to DPDK in general 
and I'm learning
how to use this tools.

I've installed and configured all the software without much problems and 
when I run the
following command I can see the statistics from BBDev displayed on video:
"sudo -E ./dpdk-23.11/build/examples/dpdk-bbdev_app --log-level 
lib.eal:debug \
--vdev='baseband_turbo_sw,max_nb_queues=8,socket_id=0' \
--vdev=net_tap0,iface=foo0 \
-c 0x38 --file-prefix=bbdev -- -e 0x10 -d 0x20"

I've substituted the "-a <NIC0PCIADDR>" from the tutorial with a virtual 
interface because
I don't have other nic cards that DPDK can acquire.

On the other side I run Pktgen-DPDK as suggested in the guidelines, 
again swapping
"<NIC1PCIADDR>" with a virtual one, as follows:
"sudo -E ./Builddir/app/pktgen -c 0x3 --file-prefix=pg 
--vdev=net_tap1,iface=foo1 -- -m 1.0 -P -T"

But now I do not understand how I can generate traffic towards BBDev.
I've looked into the documentation of both BBDev and PktGen but I cannot 
wrap my head
around it.
I would really appreciate any kind of suggestion, also material and 
references to look into
that can help me to connect this two components.

Thanks in advance for the help, best regards,

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

             reply	other threads:[~2024-02-01 15:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-01 15:11 Mattia Milani [this message]
2024-02-05  7:39 ` Mattia Milani

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7f77659b-fa58-411b-ae40-28055e938684@nokia.com \
    --to=mattia.milani@nokia.com \
    --cc=users@dpdk.org \


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