[dpdk-users] How to address the error “MBUF: error setting mempool handler” seen with DPDK 20.11

Prashanth Fernando prashanth.fernando at tatacommunications.com
Tue Jun 1 22:42:10 CEST 2021


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


More information about the users mailing list