Commit e0e7a386 authored by Mark Bloch's avatar Mark Bloch Committed by Leon Romanovsky

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: default avatarMark Bloch <markb@mellanox.com>
Reviewed-by: default avatarOr Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
parent 61444b45
...@@ -100,11 +100,6 @@ struct mlx5e_tc_flow_parse_attr { ...@@ -100,11 +100,6 @@ struct mlx5e_tc_flow_parse_attr {
int mirred_ifindex; 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_NUM_GROUPS 4
#define MLX5E_TC_TABLE_MAX_GROUP_SIZE BIT(16) #define MLX5E_TC_TABLE_MAX_GROUP_SIZE BIT(16)
......
...@@ -4848,6 +4848,11 @@ struct mlx5_ifc_alloc_encap_header_out_bits { ...@@ -4848,6 +4848,11 @@ struct mlx5_ifc_alloc_encap_header_out_bits {
u8 reserved_at_60[0x20]; u8 reserved_at_60[0x20];
}; };
enum {
MLX5_HEADER_TYPE_VXLAN = 0x0,
MLX5_HEADER_TYPE_NVGRE = 0x1,
};
struct mlx5_ifc_alloc_encap_header_in_bits { struct mlx5_ifc_alloc_encap_header_in_bits {
u8 opcode[0x10]; u8 opcode[0x10];
u8 reserved_at_10[0x10]; u8 reserved_at_10[0x10];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment