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:
parent
efa8c72f1e
commit
2278754485
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user