Home
last modified time | relevance | path

Searched refs:hw_action (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste_v0.c544 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 …]
Ddr_ste.h176 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,
Ddr_action.c1280 __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 …]
Ddr_ste_v1.c859 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 …]
Ddr_ste.c572 __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()
Ddr_ste_v1.h31 int dr_ste_v1_set_action_decap_l3_list(void *data, u32 data_sz, u8 *hw_action,
Ddr_types.h290 __be64 *hw_action,
296 __be64 *hw_action,
302 __be64 *hw_action,
311 u8 *hw_action,