mirror of https://gitee.com/openkylin/linux.git
net/mlx5: Move header encap type to IFC header file
Those bits are hardware specification and should be defined in the IFC header file. Signed-off-by: Mark Bloch <markb@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Reviewed-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
This commit is contained in:
parent
61444b458b
commit
e0e7a3861b
|
@ -100,11 +100,6 @@ struct mlx5e_tc_flow_parse_attr {
|
|||
int mirred_ifindex;
|
||||
};
|
||||
|
||||
enum {
|
||||
MLX5_HEADER_TYPE_VXLAN = 0x0,
|
||||
MLX5_HEADER_TYPE_NVGRE = 0x1,
|
||||
};
|
||||
|
||||
#define MLX5E_TC_TABLE_NUM_GROUPS 4
|
||||
#define MLX5E_TC_TABLE_MAX_GROUP_SIZE BIT(16)
|
||||
|
||||
|
|
|
@ -4848,6 +4848,11 @@ struct mlx5_ifc_alloc_encap_header_out_bits {
|
|||
u8 reserved_at_60[0x20];
|
||||
};
|
||||
|
||||
enum {
|
||||
MLX5_HEADER_TYPE_VXLAN = 0x0,
|
||||
MLX5_HEADER_TYPE_NVGRE = 0x1,
|
||||
};
|
||||
|
||||
struct mlx5_ifc_alloc_encap_header_in_bits {
|
||||
u8 opcode[0x10];
|
||||
u8 reserved_at_10[0x10];
|
||||
|
|
Loading…
Reference in New Issue