[dpdk-dev] [PATCH v6 2/2] app/test_pmd: fix DCB configuration

2016-10-26 Thread Wu, Jingjing
> if (dcb_mode == DCB_VT_ENABLED) { > - nb_rxq = rte_port->dev_info.max_rx_queues; > - nb_txq = rte_port->dev_info.max_tx_queues; > + nb_rxq = 1; > + nb_txq = 1; Before, the 'vt' argument in dcb command is used to distinguish whether the VMDQ

[dpdk-dev] [PATCH v6 2/2] app/test_pmd: fix DCB configuration

2016-10-25 Thread Bernard Iremonger
Data Centre Bridge (DCB) configuration fails when SRIOV is enabled if nb_rxq and nb_txq are not set to 1. When dcb_mode is DCB_VT_ENABLED set nb_rxq and nb_txq to 1. The failure occurs during configuration of the ixgbe PMD when it is started, in the ixgbe_check_mq_mode function, if nb_rxq and nb_