From: Wei Zhao Date: Mon, 30 Mar 2020 06:33:23 +0000 (+0800) Subject: net/ixgbe: fix e-tag definition X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=227875448575d55a037408234c9d3e304f4d9b07;p=dpdk.git net/ixgbe: fix e-tag definition e_tag_ether_type has been wrongly defined as bool type which introduces a bug for etag/etag_strip for x550 NIC. Fixes it by defining it as uint16_t. Fixes: ad43b7bce95b ("net/ixgbe: avoid multiple definitions of bool") Cc: stable@dpdk.org Signed-off-by: Wei Zhao Acked-by: Xiaolong Ye --- diff --git a/drivers/net/ixgbe/ixgbe_ethdev.h b/drivers/net/ixgbe/ixgbe_ethdev.h index b8df756575..3d78b2ee29 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.h +++ b/drivers/net/ixgbe/ixgbe_ethdev.h @@ -358,7 +358,7 @@ struct ixgbe_l2_tn_info { struct rte_hash *hash_handle; bool e_tag_en; /* e-tag enabled */ bool e_tag_fwd_en; /* e-tag based forwarding enabled */ - bool e_tag_ether_type; /* ether type for e-tag */ + uint16_t e_tag_ether_type; /* ether type for e-tag */ }; struct rte_flow {