From: David Marchand <david.marchand@redhat.com>
To: Nafiah Siddiqha <nafiah.siddiqha@iwave-global.com>,
"Wiles, Keith" <keith.wiles@intel.com>
Cc: Luca Vizzarro <Luca.Vizzarro@arm.com>,
Andre Muezerie <andremue@linux.microsoft.com>,
dev <dev@dpdk.org>,
Ayshathul Thuhara <ayshathul.thuhara@iwave-global.com>,
Long Li <longli@microsoft.com>
Subject: Re: Testing dpdk application using openNIC driver
Date: Wed, 5 Feb 2025 08:49:33 +0100 [thread overview]
Message-ID: <CAJFAV8wWm+JF9LoXG3bQXZ_y44+miX+xy-5_F6QgSgT3MNggTA@mail.gmail.com> (raw)
In-Reply-To: <PN2P287MB222391396CB4C9B5325FCD80D3F72@PN2P287MB2223.INDP287.PROD.OUTLOOK.COM>
Hello,
Please don't go private, as I tend to just ignore such mail.
Re-adding ml and others.
And don't top post.
On Wed, Feb 5, 2025 at 8:06 AM Nafiah Siddiqha
<nafiah.siddiqha@iwave-global.com> wrote:
>
> Hi,
> I'm able to run testpmd with the given set of instructions you had mentioned and tried it with pktgen fir which I'm facing mbuff issue,
If you apply the same commandline options, testpmd and pktgen should
have the same behavior.
Unless testpmd and pktgen are not linked the same way to your DPDK
installation/build directory.
> I have increased my hugepages besides its throwing the same error while I can run the pktgen application with vfio-pci driver.
> I'm looking forward on testing pktgen application with openNIC driver.
openNIC seems an out of tree driver from AMD/Xilinx.
The DPDK upstream developers don't know much about this.
You will need to contact the authors if you face issues with this driver.
Some comment below, as the problem still seems a generic DPDK issue.
>
> Below are the logs,
>
> sudo ./usr/local/bin/pktgen -l 1-8 -n 4 --vdev="net_pcap0,iface=enp1s0f0" --vdev="net_pcap1,iface=enp1s0f1" -d librte_net_pcap.so -- -m [2:3].0 -m [5:8].1
>
> Copyright(c) <2010-2021>, Intel Corporation. All rights reserved. Powered by DPDK
> EAL: Detected 12 lcore(s)
> EAL: Detected 1 NUMA nodes
> EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
> EAL: Selected IOVA mode 'VA'
> EAL: 4 hugepages of size 1073741824 reserved, but no mounted hugetlbfs found for that size
> EAL: Probing VFIO support...
> EAL: VFIO support initialized
> EAL: No legacy callbacks, legacy socket not created
>
> *** Copyright(c) <2010-2021>, Intel Corporation. All rights reserved.
> *** Pktgen created by: Keith Wiles -- >>> Powered by DPDK <<<
>
> Port: Name IfIndex Alias NUMA PCI
> 0: net_pcap 4 eth_pcap -1
> 1: net_pcap 5 eth_pcap -1
>
> Initialize Port 0 -- TxQ 1, RxQ 1
> MBUF: error setting mempool handler
> !PANIC!: Cannot create mbuf pool (Default RX 0:0) port 0, queue 0, nb_mbufs 4096, socket_id 0: Invalid argument
> PANIC in pktgen_mbuf_pool_create():
> Cannot create mbuf pool (Default RX 0:0) port 0, queue 0, nb_mbufs 4096, socket_id 0: Invalid argument
I guess no mempool driver is loaded, so pktgen can't create a mempool.
Rather than pass only one driver in the command line, you'd better
pass the directory where all the compiled DPDK drivers are.
That will be much easier than having to cherry pick every driver you need.
--
David Marchand
prev parent reply other threads:[~2025-02-05 7:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-04 13:42 Nafiah Siddiqha
2025-02-04 13:54 ` David Marchand
[not found] ` <PN2P287MB222391396CB4C9B5325FCD80D3F72@PN2P287MB2223.INDP287.PROD.OUTLOOK.COM>
2025-02-05 7:49 ` David Marchand [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:
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=CAJFAV8wWm+JF9LoXG3bQXZ_y44+miX+xy-5_F6QgSgT3MNggTA@mail.gmail.com \
--to=david.marchand@redhat.com \
--cc=Luca.Vizzarro@arm.com \
--cc=andremue@linux.microsoft.com \
--cc=ayshathul.thuhara@iwave-global.com \
--cc=dev@dpdk.org \
--cc=keith.wiles@intel.com \
--cc=longli@microsoft.com \
--cc=nafiah.siddiqha@iwave-global.com \
/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
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).