dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* ixgbe network card has dev_info.max_rx_queues == 0
@ 2014-08-21 12:26 Sergey Mironov
       [not found] ` <CAMOkk_ZfE5L0aAwuLPkjZgKEEtL1VFzbsBC4bHy_pWwNQtb7pw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Sergey Mironov @ 2014-08-21 12:26 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

Hi. I have face a strange error on one of my network cards. Call to
rte_eth_dev_configure returns with error code -22. Increaing the
verbosity level shows the following:


PMD: rte_eth_dev_configure: ethdev port_id=2 nb_rx_queues=3 > 0
EAL: Error - exiting with code: 1

here is the snippet of code which returns the error


./lib/librte_ether/rte_ethdev.c : 513

    (*dev->dev_ops->dev_infos_get)(dev, &dev_info);
    if (nb_rx_q > dev_info.max_rx_queues) {
        PMD_DEBUG_TRACE("ethdev port_id=%d nb_rx_queues=%d > %d\n",
                port_id, nb_rx_q, dev_info.max_rx_queues);
        return (-EINVAL);
    }

What does this error means (what is rx queues of an adapter?) What may
cause such a problem? I am using dpdk 1.5.1r1.

Thanks in advance,
Sergey

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-08-26  7:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-21 12:26 ixgbe network card has dev_info.max_rx_queues == 0 Sergey Mironov
     [not found] ` <CAMOkk_ZfE5L0aAwuLPkjZgKEEtL1VFzbsBC4bHy_pWwNQtb7pw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-21 12:52   ` Alex Markuze
     [not found]     ` <CAKfHP0Xk0VmAsta8BX8ObKPyfM1VVFNmq28RC7YCWhLKLhm4ww-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-22  7:12       ` Sergey Mironov
     [not found]         ` <CAKfHP0V=1Er=ecZfgbepG_JV63f9YLG9DtP7tasDg+Wk_phFFA@mail.gmail.com>
     [not found]           ` <CAMOkk_Zew6uTrStxhTUD11etxRZoMmYkqqD_fM54kaRra+O-aQ@mail.gmail.com>
     [not found]             ` <CAMOkk_Zew6uTrStxhTUD11etxRZoMmYkqqD_fM54kaRra+O-aQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-25  9:41               ` Fwd: " Sergey Mironov
     [not found]                 ` <CAMOkk_Yxm2MArXWhr4ZxVr=4ii4zoe1VSy=GYW7sy+F40Sfn8Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-26  0:14                   ` Stephen Hemminger
     [not found]                     ` <20140825171417.6eeafe8e-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org>
2014-08-26  7:26                       ` Sergey Mironov

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