[dpdk-dev] i211 controller with 0 queues per port

Sergey Mironov grrwlf at gmail.com
Thu Sep 4 09:16:53 CEST 2014


2014-08-26 13:18 GMT+04:00 Sergey Mironov <grrwlf at gmail.com>:
> Hi.
>
> I've got a SCB-8973 machine equipped with i212 network controller (6
> ports). My dpdk application (see the code snippet below) returns zeros
> for both dev_info.max_tx_queues and dev_info.max_rx_queues
>
> Have anybody got an experience of addressing this problem?
>
> Regards,
> Sergey
>
>
>
>     for (portid = 0; portid < nb_ports; portid++) {
>
>         struct rte_eth_dev_info di;
>         rte_eth_dev_info_get(portid, &di);
>
>         ELOG_INFO(MAIN, "%-6d %-6d %-6d", portid, di.max_tx_queues,
> di.max_rx_queues);
>     }

Hi! I have got an update for my "i212 problem". First of all, I found
that I have made a mistake. My controller is named i211, not i212 :)
Next, i211 controller is controlled by the lib_pmd_e1000 driver.
Unfortunately, looks like it's support is pure. For example,
igb_ethdev.c contains function eth_igb_infos_get() which should set
number of tx/rx queues supported by the hardware. It contains huge
[switch] but there is no i211 case! That is why I see zeros every time
I try to start this NC. Also, there are few other places which mention
i210, but not mention i211. I've attached a patch which adds necessary
i211 support, but I didn't check it enough to say it is totally
correct. For now I see that it just able to send and receive some
packets.

Could you please review/correct it?

Thanks in advance,
Sergey


More information about the dev mailing list