DPDK usage discussions
 help / color / mirror / Atom feed
From: Mattia Milani <mattia.milani@nokia.com>
To: users@dpdk.org
Subject: Re: [BBDev + PktGen] How to properly generate traffic with Pktgen-DPDK towards BBDev
Date: Mon, 5 Feb 2024 08:39:03 +0100	[thread overview]
Message-ID: <e01fca84-c162-4994-9551-0c7d9e77db6e@nokia.com> (raw)
In-Reply-To: <7f77659b-fa58-411b-ae40-28055e938684@nokia.com>

Solved using 54.3 Example at the following page: 


On 01/02/2024 16:11, Mattia Milani wrote:
> 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 BBDev.
> Following what is described 
> in:https://doc.dpdk.org/guides/sample_app_ug/bbdev_app.html
> 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,
> Mattia

      reply	other threads:[~2024-02-05  7:39 UTC|newest]

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

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=e01fca84-c162-4994-9551-0c7d9e77db6e@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).