Re: [PATCH v3] ethdev: fix DCB config issue on ixgbe
From: De Lara Guarch, Pablo <hidden>
Date: 2016-06-17 11:21:59
-----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Wenzhuo Lu Sent: Thursday, May 05, 2016 10:34 PM To: dev@dpdk.org Cc: Lu, Wenzhuo Subject: [dpdk-dev] [PATCH v3] ethdev: fix DCB config issue on ixgbe An issue is found that DCB cannot be configured on ixgbe NICs. It's said the TX queue number is not right. On ixgbe the max TX queue number is not fixed, it depends on the multi-queue mode. The API rte_eth_dev_configure should be used to configure this mode. But the input of this API includes TX queue number. The problem is before the mode is configured, we cannot decide the TX queue number. This patch adds an API to configure RX & TX multi-queue mode separately. After the mode is configured, the max RX & TX queue number is decided. Then we can set the appropriate RX & TX queue number. Fixes: 96c0450dff86 (ixgbe: fix dropping packets from unsupported Tx queues) Signed-off-by: Wenzhuo Lu <redacted>
Acked-by: Pablo de Lara <redacted>