DPDK patches and discussions
 help / color / mirror / Atom feed
From: Victor Huertas <vhuertas@gmail.com>
To: users@dpdk.org, dev@dpdk.org
Subject: [dpdk-dev] (SOLVED) rte_eth_rx_queue_setup is returning error -28 (ENOSPC)
Date: Thu, 22 Feb 2018 09:30:14 +0100	[thread overview]
Message-ID: <CAGxG5chX=3Sqpay+D-h95ajnp8FB4nLbRdG97=kkV_Cc2jK0cg@mail.gmail.com> (raw)

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

                 reply	other threads:[~2018-02-22  8:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGxG5chX=3Sqpay+D-h95ajnp8FB4nLbRdG97=kkV_Cc2jK0cg@mail.gmail.com' \
    --to=vhuertas@gmail.com \
    --cc=dev@dpdk.org \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).