/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste_v0.c | 544 static void dr_ste_v0_set_action_set(u8 *hw_action, in dr_ste_v0_set_action_set() argument 551 MLX5_SET(dr_action_hw_set, hw_action, opcode, DR_STE_ACTION_MDFY_OP_SET); in dr_ste_v0_set_action_set() 552 MLX5_SET(dr_action_hw_set, hw_action, destination_field_code, hw_field); in dr_ste_v0_set_action_set() 553 MLX5_SET(dr_action_hw_set, hw_action, destination_left_shifter, shifter); in dr_ste_v0_set_action_set() 554 MLX5_SET(dr_action_hw_set, hw_action, destination_length, length); in dr_ste_v0_set_action_set() 555 MLX5_SET(dr_action_hw_set, hw_action, inline_data, data); in dr_ste_v0_set_action_set() 558 static void dr_ste_v0_set_action_add(u8 *hw_action, in dr_ste_v0_set_action_add() argument 565 MLX5_SET(dr_action_hw_set, hw_action, opcode, DR_STE_ACTION_MDFY_OP_ADD); in dr_ste_v0_set_action_add() 566 MLX5_SET(dr_action_hw_set, hw_action, destination_field_code, hw_field); in dr_ste_v0_set_action_add() 567 MLX5_SET(dr_action_hw_set, hw_action, destination_left_shifter, shifter); in dr_ste_v0_set_action_add() [all …]
|
D | dr_ste.h | 176 void (*set_action_set)(u8 *hw_action, 181 void (*set_action_add)(u8 *hw_action, 186 void (*set_action_copy)(u8 *hw_action, 194 u8 *hw_action,
|
D | dr_action.c | 1280 __be64 *hw_action, in dr_action_modify_sw_to_hw_add() argument 1302 hw_action, in dr_action_modify_sw_to_hw_add() 1316 __be64 *hw_action, in dr_action_modify_sw_to_hw_set() argument 1348 hw_action, in dr_action_modify_sw_to_hw_set() 1362 __be64 *hw_action, in dr_action_modify_sw_to_hw_copy() argument 1401 hw_action, in dr_action_modify_sw_to_hw_copy() 1417 __be64 *hw_action, in dr_action_modify_sw_to_hw() argument 1424 *hw_action = 0; in dr_action_modify_sw_to_hw() 1433 hw_action, in dr_action_modify_sw_to_hw() 1439 hw_action, in dr_action_modify_sw_to_hw() [all …]
|
D | dr_ste_v1.c | 859 u8 *hw_action, in dr_ste_v1_set_action_decap_l3_list() argument 879 MLX5_SET(ste_single_action_remove_header_v1, hw_action, action_id, in dr_ste_v1_set_action_decap_l3_list() 881 MLX5_SET(ste_single_action_remove_header_v1, hw_action, decap, 1); in dr_ste_v1_set_action_decap_l3_list() 882 MLX5_SET(ste_single_action_remove_header_v1, hw_action, vni_to_cqe, 1); in dr_ste_v1_set_action_decap_l3_list() 883 MLX5_SET(ste_single_action_remove_header_v1, hw_action, end_anchor, in dr_ste_v1_set_action_decap_l3_list() 885 hw_action += DR_STE_ACTION_DOUBLE_SZ; in dr_ste_v1_set_action_decap_l3_list() 899 MLX5_SET(ste_double_action_insert_with_inline_v1, hw_action, action_id, in dr_ste_v1_set_action_decap_l3_list() 902 MLX5_SET(ste_double_action_insert_with_inline_v1, hw_action, start_offset, 0); in dr_ste_v1_set_action_decap_l3_list() 906 hw_action, inline_data); in dr_ste_v1_set_action_decap_l3_list() 908 hw_action += DR_STE_ACTION_DOUBLE_SZ; in dr_ste_v1_set_action_decap_l3_list() [all …]
|
D | dr_ste.c | 572 __be64 *hw_action, in mlx5dr_ste_set_action_set() argument 578 ste_ctx->set_action_set((u8 *)hw_action, in mlx5dr_ste_set_action_set() 583 __be64 *hw_action, in mlx5dr_ste_set_action_add() argument 589 ste_ctx->set_action_add((u8 *)hw_action, in mlx5dr_ste_set_action_add() 594 __be64 *hw_action, in mlx5dr_ste_set_action_copy() argument 601 ste_ctx->set_action_copy((u8 *)hw_action, in mlx5dr_ste_set_action_copy() 608 u8 *hw_action, u32 hw_action_sz, in mlx5dr_ste_set_action_decap_l3_list() argument 616 hw_action, hw_action_sz, in mlx5dr_ste_set_action_decap_l3_list()
|
D | dr_ste_v1.h | 31 int dr_ste_v1_set_action_decap_l3_list(void *data, u32 data_sz, u8 *hw_action,
|
D | dr_types.h | 290 __be64 *hw_action, 296 __be64 *hw_action, 302 __be64 *hw_action, 311 u8 *hw_action,
|