[dpdk-dev] [PATCH] lib: fix DCB config issue on ixgbe

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Apr 11 11:52:05 CEST 2016


2016-04-11 16:24, Wenzhuo Lu:
> An issue is found that DCB cannot be configged 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 config this mode. But the input of this
> API includes TX queue number. The problem is before the
> mode is configged, we cannot decide the TX queue number.
> 
> This patch adds an API to config RX & TX multi-queue mode
> separately. After the mode is configged, 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 <wenzhuo.lu at intel.com>
> ---
>  app/test-pmd/testpmd.c                 | 40 +++++++++++++++++++---------------
>  lib/librte_ether/rte_ethdev.c          | 17 +++++++++++++++
>  lib/librte_ether/rte_ethdev.h          | 19 ++++++++++++++++
>  lib/librte_ether/rte_ether_version.map |  1 +
>  4 files changed, 59 insertions(+), 18 deletions(-)

Obviously, it will be considered for 16.07.


More information about the dev mailing list