From 3b496a2759d5684a825f02dd8ba79b79b141af76 Mon Sep 17 00:00:00 2001 From: Jijiang Liu Date: Fri, 31 Oct 2014 10:26:22 +0800 Subject: [PATCH] ethdev: fix mac vlan filter type Use the enum type for filter type. It fixes the compilation error under ICC compiler. Signed-off-by: Jijiang Liu Acked-by: Thomas Monjalon --- lib/librte_ether/rte_eth_ctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_ether/rte_eth_ctrl.h b/lib/librte_ether/rte_eth_ctrl.h index 14a739bd61..8dd384d256 100644 --- a/lib/librte_ether/rte_eth_ctrl.h +++ b/lib/librte_ether/rte_eth_ctrl.h @@ -90,8 +90,8 @@ enum rte_mac_filter_type { */ struct rte_eth_mac_filter { uint8_t is_vf; /**< 1 for VF, 0 for port dev */ - uint16_t dst_id; /**