[dpdk-users] How to address the error “MBUF: error setting mempool handler” seen with DPDK 20.11
Prashanth Fernando
prashanth.fernando at tatacommunications.com
Mon Jun 7 17:37:04 CEST 2021
Update:
Had few issues with DPDK 20.11 in Centos-7.
* Installing Mellanox libverbs somehow affects the cflags and ldflags for dpdk libdpdk.pc
* pkg-config from the installed target was also incorrect.
Manually updating libdpdk.pc to include the static libraries under -Wl,--whole-archive and -Wl,--no-whole-archive
Regards,
Prashanth
From: Prashanth Fernando
Sent: 02 June 2021 02:12
To: users at dpdk.org
Subject: How to address the error “MBUF: error setting mempool handler” seen with DPDK 20.11
Hi all,
I did a static linking of libdpdk to my application and when I start the application EAL init fails.
Logs:
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.
Regards,
Prashanth
Tata Communications - Public
Tata Communications - Public
More information about the users
mailing list