From: Jingjing Wu Date: Thu, 25 Feb 2016 07:33:34 +0000 (+0800) Subject: ixgbe: disallow unsupported Rx mode X-Git-Tag: spdx-start~7392 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=23a5ba8922acebe8ca453e55ea9b10198f049c63;p=dpdk.git 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 Acked-by: Helin Zhang --- diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 6b5cbe3d8d..53717200fe 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -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;