Home
last modified time | relevance | path

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

/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.h177 void (*set_action_set)(u8 *hw_action,
182 void (*set_action_add)(u8 *hw_action,
187 void (*set_action_copy)(u8 *hw_action,
195 u8 *hw_action,
Ddr_action.c1570 __be64 *hw_action, in dr_action_modify_sw_to_hw_add() argument
1592 hw_action, in dr_action_modify_sw_to_hw_add()
1606 __be64 *hw_action, in dr_action_modify_sw_to_hw_set() argument
1638 hw_action, in dr_action_modify_sw_to_hw_set()
1652 __be64 *hw_action, in dr_action_modify_sw_to_hw_copy() argument
1691 hw_action, in dr_action_modify_sw_to_hw_copy()
1707 __be64 *hw_action, in dr_action_modify_sw_to_hw() argument
1714 *hw_action = 0; in dr_action_modify_sw_to_hw()
1723 hw_action, in dr_action_modify_sw_to_hw()
1729 hw_action, in dr_action_modify_sw_to_hw()
[all …]
Ddr_ste_v1.c1035 u8 *hw_action, in dr_ste_v1_set_action_decap_l3_list() argument
1055 MLX5_SET(ste_single_action_remove_header_v1, hw_action, action_id, in dr_ste_v1_set_action_decap_l3_list()
1057 MLX5_SET(ste_single_action_remove_header_v1, hw_action, decap, 1); in dr_ste_v1_set_action_decap_l3_list()
1058 MLX5_SET(ste_single_action_remove_header_v1, hw_action, vni_to_cqe, 1); in dr_ste_v1_set_action_decap_l3_list()
1059 MLX5_SET(ste_single_action_remove_header_v1, hw_action, end_anchor, in dr_ste_v1_set_action_decap_l3_list()
1061 hw_action += DR_STE_ACTION_DOUBLE_SZ; in dr_ste_v1_set_action_decap_l3_list()
1075 MLX5_SET(ste_double_action_insert_with_inline_v1, hw_action, action_id, in dr_ste_v1_set_action_decap_l3_list()
1078 MLX5_SET(ste_double_action_insert_with_inline_v1, hw_action, start_offset, 0); in dr_ste_v1_set_action_decap_l3_list()
1082 hw_action, inline_data); in dr_ste_v1_set_action_decap_l3_list()
1084 hw_action += DR_STE_ACTION_DOUBLE_SZ; in dr_ste_v1_set_action_decap_l3_list()
[all …]
Ddr_ste.c589 __be64 *hw_action, in mlx5dr_ste_set_action_set() argument
595 ste_ctx->set_action_set((u8 *)hw_action, in mlx5dr_ste_set_action_set()
600 __be64 *hw_action, in mlx5dr_ste_set_action_add() argument
606 ste_ctx->set_action_add((u8 *)hw_action, in mlx5dr_ste_set_action_add()
611 __be64 *hw_action, in mlx5dr_ste_set_action_copy() argument
618 ste_ctx->set_action_copy((u8 *)hw_action, in mlx5dr_ste_set_action_copy()
625 u8 *hw_action, u32 hw_action_sz, in mlx5dr_ste_set_action_decap_l3_list() argument
633 hw_action, hw_action_sz, in mlx5dr_ste_set_action_decap_l3_list()
Ddr_ste_v1.h32 int dr_ste_v1_set_action_decap_l3_list(void *data, u32 data_sz, u8 *hw_action,
Ddr_types.h321 __be64 *hw_action,
327 __be64 *hw_action,
333 __be64 *hw_action,
342 u8 *hw_action,