* [dpdk-dev] Cannot allocate mempool with --no-huge since DPDK 16.07
@ 2017-09-21 15:21 tom.barbette
2017-09-25 8:13 ` Olivier MATZ
0 siblings, 1 reply; 2+ messages in thread
From: tom.barbette @ 2017-09-21 15:21 UTC (permalink / raw)
To: dev
Hi all,
I get a EINVAL since DPDK 16.07 when trying to allocate a mempool with rte_pktmbuf_pool_create. This is when I use --no-huge --vdev=eth_ring0. But this happens before accessing the virtual device in any ways.
Which, btw shows the documentation is wrong as it indicates :
EINVAL - cache size provided is too large, or priv_size is not aligned.
Which is not the problem here (tried cache_size of 0, 64,256 and priv_size is 0). EINVAL can obviously come from elswhere.
Any idea? Something changed in involved subsystems since 16.07?
Thanks,
Tom
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] Cannot allocate mempool with --no-huge since DPDK 16.07
2017-09-21 15:21 [dpdk-dev] Cannot allocate mempool with --no-huge since DPDK 16.07 tom.barbette
@ 2017-09-25 8:13 ` Olivier MATZ
0 siblings, 0 replies; 2+ messages in thread
From: Olivier MATZ @ 2017-09-25 8:13 UTC (permalink / raw)
To: tom.barbette; +Cc: dev
Hi Tom,
On Thu, Sep 21, 2017 at 05:21:08PM +0200, tom.barbette@ulg.ac.be wrote:
> Hi all,
>
> I get a EINVAL since DPDK 16.07 when trying to allocate a mempool with rte_pktmbuf_pool_create. This is when I use --no-huge --vdev=eth_ring0. But this happens before accessing the virtual device in any ways.
>
> Which, btw shows the documentation is wrong as it indicates :
> EINVAL - cache size provided is too large, or priv_size is not aligned.
> Which is not the problem here (tried cache_size of 0, 64,256 and priv_size is 0). EINVAL can obviously come from elswhere.
>
> Any idea? Something changed in involved subsystems since 16.07?
I first though your issue was related to this one:
http://dpdk.org/ml/archives/dev/2017-June/067678.html
But maybe it's just a memory issue. Can you try with less mbufs?
testpmd --no-huge [...] -- --total-num-mbufs=4096 [...]
If that fixes the issue, I'll check if we can change the return
value to something clearer (ENOMEM?).
Thanks,
Olivier
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-25 8:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-21 15:21 [dpdk-dev] Cannot allocate mempool with --no-huge since DPDK 16.07 tom.barbette
2017-09-25 8:13 ` Olivier MATZ
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).