> -----Original Message----- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Pawel Wodkowski > Sent: Monday, January 19, 2015 9:02 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 2/4] ethdev: prevent changing of > nb_q_per_pool in rte_eth_dev_check_mq_mode() > > If SRIOV is used and device configuration does not use MQ the > RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool is set to 1 in > rte_eth_dev_check_mq_mode(). > This is bad becouse of two reasons: > 1. Port reconfiguration from non-MQ mode to MQ mode is impossible 2. > Confguring RX and TX side in different way is impossible. >
This case is possible: rxmode.mq_mode is ETH_MQ_RX_VMDQ_RSS, and txmode.mq_mode is ETH_MQ_TX_NONE.