app/testpmd: fix DCB configuration
authorBernard Iremonger <bernard.iremonger@intel.com>
Thu, 3 Nov 2016 17:35:38 +0000 (17:35 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Nov 2016 15:55:59 +0000 (16:55 +0100)
commit86ef65ee58caace3a54ae94bb5b387070b28d539
treeb717b3d4cd57fe176146d9c90c0e8377f7b4f3c1
parent7a4915b44128776a2a61da57267c6232e5da8c82
app/testpmd: fix DCB configuration

Data Centre Bridge (DCB) configuration fails when SRIOV is
enabled if nb_rxq or nb_txq are greater than nb_q_per_pool.

The failure occurs during configuration of the ixgbe PMD when
it is started, in the ixgbe_check_mq_mode function.

Fixes: 2a977b891f99 ("app/testpmd: fix DCB configuration")

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
app/test-pmd/testpmd.c