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: ad43b7bce9 ("net/ixgbe: avoid multiple definitions of bool")
Cc: stable@dpdk.org

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
This commit is contained in:
Wei Zhao 2020-03-30 14:33:23 +08:00 committed by Ferruh Yigit
parent efa8c72f1e
commit 2278754485

View File

@ -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 {