From 040e9a01a0b4d179d409f8a7a24d2b7193b9ce8a Mon Sep 17 00:00:00 2001 From: Cunming Liang Date: Thu, 26 Jun 2014 14:53:31 +0800 Subject: [PATCH] ixgbe: fix build with IEEE1588 enabled Vectorized Rx cannot be enabled if RTE_LIBRTE_IEEE1588=y. So variable dev is not used in this case. Signed-off-by: Cunming Liang Acked-by: Bruce Richardson Acked-by: Yong Liu Tested-by: Zhaochen Zhan --- lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c b/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c index b8721dd352..74d1b3602f 100644 --- a/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c +++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c @@ -700,6 +700,7 @@ int ixgbe_rx_vec_condition_check(struct rte_eth_dev *dev) return 0; #else + RTE_SET_USED(dev); return -1; #endif } -- 2.20.1