[dpdk-dev] [PATCH 1/3] bonding: fix ICC compile issue
Helin Zhang
helin.zhang at intel.com
Fri Nov 6 08:48:34 CET 2015
It fixes compile issue on ICC 13.0.0.
Error logs:
rte_eth_bond_pmd.c(1327): error #188: enumerated type
mixed with another type
slave_eth_dev->data->dev_conf.rxmode.mq_mode |= ETH_MQ_RX_RSS;
Signed-off-by: Helin Zhang <helin.zhang at intel.com>
---
drivers/net/bonding/rte_eth_bond_pmd.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c
index bbff664..1b71304 100644
--- a/drivers/net/bonding/rte_eth_bond_pmd.c
+++ b/drivers/net/bonding/rte_eth_bond_pmd.c
@@ -1324,7 +1324,8 @@ slave_configure(struct rte_eth_dev *bonded_eth_dev,
slave_eth_dev->data->dev_conf.rx_adv_conf.rss_conf.rss_hf =
bonded_eth_dev->data->dev_conf.rx_adv_conf.rss_conf.rss_hf;
- slave_eth_dev->data->dev_conf.rxmode.mq_mode |= ETH_MQ_RX_RSS;
+ slave_eth_dev->data->dev_conf.rxmode.mq_mode |=
+ (enum rte_eth_rx_mq_mode)ETH_MQ_RX_RSS;
}
/* Configure device */
--
1.8.1.4
More information about the dev
mailing list