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

2014-08-22 Thread Sergey Mironov
Thanks, I understand that. I see in the ixgbe's code, that dev_info.max_rx_queues is initialized from the hw->mac.max_rx_queues value dev_info->max_rx_queues = (uint16_t)hw->mac.max_rx_queues; dev_info->max_tx_queues = (uint16_t)hw->mac.max_tx_queues; but I can't figure out how this hw->m

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

2014-08-21 Thread Sergey Mironov
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

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

2014-08-21 Thread Alex Markuze
RX and TX Are short hand for Receive and Transmit Queues. These Queues Store the in/egress packets. Just looking at the info you've sent it tells you that max_rx_queues for this dev is 0 (Clearly something is wrong here) so the nb_rx_q which is 3 is an Invalid Value -EINVAL == -22. On Thu, Aug 21