Flow table supports three types of miss action: 1. Default miss action - go to default miss table according to table. 2. Go to specific table. 3. Switch domain - go to the root table of an alternative steering table domain. New table miss action was added - switch_domain. The next domain for RDMA_RX namespace is the NIC RX domain.
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -370,7 +370,9 @@ struct mlx5_ifc_flow_table_prop_layout_bits { · 369 unmodified lines | |||
| 370 | u8 reformat_l3_tunnel_to_l2[0x1]; | 370 | u8 reformat_l3_tunnel_to_l2[0x1]; |
| 371 | u8 reformat_l2_to_l3_tunnel[0x1]; | 371 | u8 reformat_l2_to_l3_tunnel[0x1]; |
| 372 | u8 reformat_and_modify_action[0x1]; | 372 | u8 reformat_and_modify_action[0x1]; |
| 373 | u8 reserved_at_15[0xb]; | 373 | u8 reserved_at_15[0x2]; |
| 374 | u8 table_miss_action_domain[0x1]; | ||
| 375 | u8 reserved_at_18[0x8]; | ||
| 374 | u8 reserved_at_20[0x2]; | 376 | u8 reserved_at_20[0x2]; |
| 375 | u8 log_max_ft_size[0x6]; | 377 | u8 log_max_ft_size[0x6]; |
| 376 | u8 log_max_modify_header_context[0x8]; | 378 | u8 log_max_modify_header_context[0x8]; |
| @@ -1284,6 +1286,12 @@ enum mlx5_flow_destination_type { · 907 unmodified lines | |||
| 1284 | MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE_NUM = 0x101, | 1286 | MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE_NUM = 0x101, |
| 1285 | }; | 1287 | }; |
| 1286 | 1288 | ||
| 1289 | enum mlx5_flow_table_miss_action { | ||
| 1290 | MLX5_FLOW_TABLE_MISS_ACTION_DEF, | ||
| 1291 | MLX5_FLOW_TABLE_MISS_ACTION_FWD, | ||
| 1292 | MLX5_FLOW_TABLE_MISS_ACTION_SWITCH_DOMAIN, | ||
| 1293 | }; | ||
| 1294 | |||
| 1287 | struct mlx5_ifc_dest_format_struct_bits { | 1295 | struct mlx5_ifc_dest_format_struct_bits { |
| 1288 | u8 destination_type[0x8]; | 1296 | u8 destination_type[0x8]; |
| 1289 | u8 destination_id[0x18]; | 1297 | u8 destination_id[0x18]; |