ixgbe: disallow unsupported Rx mode
The multi queue mode ETH_MQ_RX_VMDQ_DCB_RSS is not supported in ixgbe driver. Signed-off-by: Jingjing Wu <jingjing.wu@intel.com> Acked-by: Helin Zhang <helin.zhang@intel.com>
This commit is contained in:
parent
5b8a98d69c
commit
23a5ba8922
@ -1924,6 +1924,11 @@ ixgbe_check_mq_mode(struct rte_eth_dev *dev)
|
||||
return -EINVAL;
|
||||
}
|
||||
} else {
|
||||
if (dev_conf->rxmode.mq_mode == ETH_MQ_RX_VMDQ_DCB_RSS) {
|
||||
PMD_INIT_LOG(ERR, "VMDQ+DCB+RSS mq_mode is"
|
||||
" not supported.");
|
||||
return -EINVAL;
|
||||
}
|
||||
/* check configuration for vmdb+dcb mode */
|
||||
if (dev_conf->rxmode.mq_mode == ETH_MQ_RX_VMDQ_DCB) {
|
||||
const struct rte_eth_vmdq_dcb_conf *conf;
|
||||
|
Loading…
Reference in New Issue
Block a user