Add definition for flex parser tunneling header for Geneve.
Unified · Split
| @@ -559,6 +559,19 @@ struct mlx5_ifc_ste_flex_parser_tnl_vxlan_gpe_bits { · 558 unmodified lines | |||
| 559 | u8 reserved_at_40[0x40]; | 559 | u8 reserved_at_40[0x40]; |
| 560 | }; | 560 | }; |
| 561 | 561 | ||
| 562 | struct mlx5_ifc_ste_flex_parser_tnl_geneve_bits { | ||
| 563 | u8 reserved_at_0[0x2]; | ||
| 564 | u8 geneve_opt_len[0x6]; | ||
| 565 | u8 geneve_oam[0x1]; | ||
| 566 | u8 reserved_at_9[0x7]; | ||
| 567 | u8 geneve_protocol_type[0x10]; | ||
| 568 | |||
| 569 | u8 geneve_vni[0x18]; | ||
| 570 | u8 reserved_at_38[0x8]; | ||
| 571 | |||
| 572 | u8 reserved_at_40[0x40]; | ||
| 573 | }; | ||
| 574 | |||
| 562 | struct mlx5_ifc_ste_general_purpose_bits { | 575 | struct mlx5_ifc_ste_general_purpose_bits { |
| 563 | u8 general_purpose_lookup_field[0x20]; | 576 | u8 general_purpose_lookup_field[0x20]; |
| 564 | 577 | ||
| @@ -1110,6 +1110,7 @@ enum { · 1109 unmodified lines | |||
| 1110 | }; | 1110 | }; |
| 1111 | 1111 | ||
| 1112 | enum { | 1112 | enum { |
| 1113 | MLX5_FLEX_PARSER_GENEVE_ENABLED = 1 << 3, | ||
| 1113 | MLX5_FLEX_PARSER_VXLAN_GPE_ENABLED = 1 << 7, | 1114 | MLX5_FLEX_PARSER_VXLAN_GPE_ENABLED = 1 << 7, |
| 1114 | MLX5_FLEX_PARSER_ICMP_V4_ENABLED = 1 << 8, | 1115 | MLX5_FLEX_PARSER_ICMP_V4_ENABLED = 1 << 8, |
| 1115 | MLX5_FLEX_PARSER_ICMP_V6_ENABLED = 1 << 9, | 1116 | MLX5_FLEX_PARSER_ICMP_V6_ENABLED = 1 << 9, |