/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste_v0.c | 541 static void dr_ste_v0_set_action_set(u8 *hw_action, in dr_ste_v0_set_action_set() argument 548 MLX5_SET(dr_action_hw_set, hw_action, opcode, DR_STE_ACTION_MDFY_OP_SET); in dr_ste_v0_set_action_set() 549 MLX5_SET(dr_action_hw_set, hw_action, destination_field_code, hw_field); in dr_ste_v0_set_action_set() 550 MLX5_SET(dr_action_hw_set, hw_action, destination_left_shifter, shifter); in dr_ste_v0_set_action_set() 551 MLX5_SET(dr_action_hw_set, hw_action, destination_length, length); in dr_ste_v0_set_action_set() 552 MLX5_SET(dr_action_hw_set, hw_action, inline_data, data); in dr_ste_v0_set_action_set() 555 static void dr_ste_v0_set_action_add(u8 *hw_action, in dr_ste_v0_set_action_add() argument 562 MLX5_SET(dr_action_hw_set, hw_action, opcode, DR_STE_ACTION_MDFY_OP_ADD); in dr_ste_v0_set_action_add() 563 MLX5_SET(dr_action_hw_set, hw_action, destination_field_code, hw_field); in dr_ste_v0_set_action_add() 564 MLX5_SET(dr_action_hw_set, hw_action, destination_left_shifter, shifter); in dr_ste_v0_set_action_add() [all …]
|
D | dr_ste.h | 172 void (*set_action_set)(u8 *hw_action, 177 void (*set_action_add)(u8 *hw_action, 182 void (*set_action_copy)(u8 *hw_action, 190 u8 *hw_action,
|
D | dr_action.c | 1253 __be64 *hw_action, in dr_action_modify_sw_to_hw_add() argument 1275 hw_action, in dr_action_modify_sw_to_hw_add() 1289 __be64 *hw_action, in dr_action_modify_sw_to_hw_set() argument 1321 hw_action, in dr_action_modify_sw_to_hw_set() 1335 __be64 *hw_action, in dr_action_modify_sw_to_hw_copy() argument 1374 hw_action, in dr_action_modify_sw_to_hw_copy() 1390 __be64 *hw_action, in dr_action_modify_sw_to_hw() argument 1397 *hw_action = 0; in dr_action_modify_sw_to_hw() 1406 hw_action, in dr_action_modify_sw_to_hw() 1412 hw_action, in dr_action_modify_sw_to_hw() [all …]
|
D | dr_ste_v1.c | 850 u8 *hw_action, in dr_ste_v1_set_action_decap_l3_list() argument 870 MLX5_SET(ste_single_action_remove_header_v1, hw_action, action_id, in dr_ste_v1_set_action_decap_l3_list() 872 MLX5_SET(ste_single_action_remove_header_v1, hw_action, decap, 1); in dr_ste_v1_set_action_decap_l3_list() 873 MLX5_SET(ste_single_action_remove_header_v1, hw_action, vni_to_cqe, 1); in dr_ste_v1_set_action_decap_l3_list() 874 MLX5_SET(ste_single_action_remove_header_v1, hw_action, end_anchor, in dr_ste_v1_set_action_decap_l3_list() 876 hw_action += DR_STE_ACTION_DOUBLE_SZ; in dr_ste_v1_set_action_decap_l3_list() 890 MLX5_SET(ste_double_action_insert_with_inline_v1, hw_action, action_id, in dr_ste_v1_set_action_decap_l3_list() 893 MLX5_SET(ste_double_action_insert_with_inline_v1, hw_action, start_offset, 0); in dr_ste_v1_set_action_decap_l3_list() 897 hw_action, inline_data); in dr_ste_v1_set_action_decap_l3_list() 899 hw_action += DR_STE_ACTION_DOUBLE_SZ; in dr_ste_v1_set_action_decap_l3_list() [all …]
|
D | dr_ste.c | 558 __be64 *hw_action, in mlx5dr_ste_set_action_set() argument 564 ste_ctx->set_action_set((u8 *)hw_action, in mlx5dr_ste_set_action_set() 569 __be64 *hw_action, in mlx5dr_ste_set_action_add() argument 575 ste_ctx->set_action_add((u8 *)hw_action, in mlx5dr_ste_set_action_add() 580 __be64 *hw_action, in mlx5dr_ste_set_action_copy() argument 587 ste_ctx->set_action_copy((u8 *)hw_action, in mlx5dr_ste_set_action_copy() 594 u8 *hw_action, u32 hw_action_sz, in mlx5dr_ste_set_action_decap_l3_list() argument 602 hw_action, hw_action_sz, in mlx5dr_ste_set_action_decap_l3_list()
|
D | dr_types.h | 295 __be64 *hw_action, 301 __be64 *hw_action, 307 __be64 *hw_action, 316 u8 *hw_action,
|