net/mlx5: Add support to s-tag in mlx5 firmware interface
Add svlan_tag and rename vlan_tag to cvlan_tag in flow table entry match param. Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
This commit is contained in:

committed by
Saeed Mahameed

parent
ee7f12205a
commit
105433659d
@@ -365,8 +365,8 @@ struct mlx5_ifc_fte_match_set_lyr_2_4_bits {
|
||||
u8 ip_protocol[0x8];
|
||||
u8 ip_dscp[0x6];
|
||||
u8 ip_ecn[0x2];
|
||||
u8 vlan_tag[0x1];
|
||||
u8 reserved_at_91[0x1];
|
||||
u8 cvlan_tag[0x1];
|
||||
u8 svlan_tag[0x1];
|
||||
u8 frag[0x1];
|
||||
u8 reserved_at_93[0x4];
|
||||
u8 tcp_flags[0x9];
|
||||
@@ -398,9 +398,11 @@ struct mlx5_ifc_fte_match_set_misc_bits {
|
||||
u8 inner_second_cfi[0x1];
|
||||
u8 inner_second_vid[0xc];
|
||||
|
||||
u8 outer_second_vlan_tag[0x1];
|
||||
u8 inner_second_vlan_tag[0x1];
|
||||
u8 reserved_at_62[0xe];
|
||||
u8 outer_second_cvlan_tag[0x1];
|
||||
u8 inner_second_cvlan_tag[0x1];
|
||||
u8 outer_second_svlan_tag[0x1];
|
||||
u8 inner_second_svlan_tag[0x1];
|
||||
u8 reserved_at_64[0xc];
|
||||
u8 gre_protocol[0x10];
|
||||
|
||||
u8 gre_key_h[0x18];
|
||||
|
Reference in New Issue
Block a user