[dpdk-dev] ixgbe network card has dev_info.max_rx_queues == 0

Sergey Mironov grrwlf at gmail.com
Thu Aug 21 14:26:48 CEST 2014


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


More information about the dev mailing list