DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] (SOLVED) rte_eth_rx_queue_setup is returning error -28 (ENOSPC)
@ 2018-02-22  8:30 Victor Huertas
  0 siblings, 0 replies; only message in thread
From: Victor Huertas @ 2018-02-22  8:30 UTC (permalink / raw)
  To: users, dev

I have found myself the solution to the problem.

When the struct rte_mempool *pktmbuf_pool[NB_SOCKETS]; was declared, it was
not initialized with NULL and the memory pool was not created because the
if clause 'if (pktmbuf_pool[socketID]==NULL)' avoided it.

Once I forced the initialization of all *pktmbuf_pool[NB_SOCKETS] poistions
to NULL, then it worked well.

Regards,

-- 
Victor

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-02-22  8:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-22  8:30 [dpdk-dev] (SOLVED) rte_eth_rx_queue_setup is returning error -28 (ENOSPC) Victor Huertas

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).