[dpdk-users] 'MBUF: error setting mempool handler'
Stephen Hemminger
stephen at networkplumber.org
Thu Jun 4 19:23:19 CEST 2020
On Thu, 4 Jun 2020 17:50:18 +0100
David Aldrich <david.aldrich.ntml at gmail.com> wrote:
> I am using some DPDK application code that worked with DPDK 2.2.0. I am
> trying to port it to DPDK 18.08. The code gives error:
>
> MBUF: error setting mempool handler
>
>
> I guess the app code that causes this is:
>
> ptRxQueInfo->pool = rte_mempool_create(buf,
> > nb_mbuf/2,
> > MBUF_SIZE,
> > 0,
> > sizeof(struct rte_pktmbuf_pool_private),
> >
> > rte_pktmbuf_pool_init,
> > NULL,
> > rte_pktmbuf_init,
> > NULL,
> > iCpuSocket,
> > 0)
>
>
> I really don't know how to fix this. Any suggestions please?
You should not be using 8.08 is not a Long Term Stable release. It is not supported.
You should be using rte_pktmbuf_pool_create() rather than rte_mempool_create().
Lots has changed in the years since 2.2.0
More information about the users
mailing list