DPDK usage discussions
 help / color / mirror / Atom feed
From: Prashanth Fernando <prashanth.fernando@tatacommunications.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] How to address the error “MBUF: error setting mempool handler” seen with DPDK 20.11
Date: Tue, 1 Jun 2021 20:42:10 +0000
Message-ID: <PU1PR04MB2312E1DD894CC726003D4065F83E9@PU1PR04MB2312.apcprd04.prod.outlook.com> (raw)

Hi all,

I did a static linking of libdpdk to my application and when I start the application EAL init fails.
EAL: Detected 80 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: No legacy callbacks, legacy socket not created
MBUF: error setting mempool handler
EAL: Error - exiting with code: 1
  Cause: Cannot init packet mbuf pool Invalid argument

I installed DPDK-20.11 in my test server, using the following commands.
# meson build
#cd build
#ninja ; ninja install

I built my application Makefile taking l2fwd Makefile as an example, not sure what I am missing.
Looking out for suggestions.


             reply	other threads:[~2021-06-01 20:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-01 20:42 Prashanth Fernando [this message]
2021-06-07 15:37 ` Prashanth Fernando
2021-06-07 16:35   ` David Marchand

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=PU1PR04MB2312E1DD894CC726003D4065F83E9@PU1PR04MB2312.apcprd04.prod.outlook.com \
    --to=prashanth.fernando@tatacommunications.com \
    --cc=users@dpdk.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://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/ https://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

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