Searched refs:wqe_ctrl (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
H A D | mlx5hws_action.h | 85 struct mlx5hws_wqe_gta_ctrl_seg *wqe_ctrl; member 230 apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_DW5] = in mlx5hws_action_setter_default_single() 240 apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_DW6] = in mlx5hws_action_setter_default_double() 242 apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_DW7] = in mlx5hws_action_setter_default_double() 251 apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_CTRL] = in mlx5hws_action_setter_default_ctr() 293 apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_DW5] = 0; in mlx5hws_action_apply_setter() 294 apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_DW6] = 0; in mlx5hws_action_apply_setter() 295 apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_DW7] = 0; in mlx5hws_action_apply_setter() 303 apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_CTRL] |= in mlx5hws_action_apply_setter()
|
H A D | mlx5hws_send.c | 53 ste_attr.wqe_ctrl = &dep_wqe->wqe_ctrl; in mlx5hws_send_all_dep_wqe() 138 struct mlx5hws_wqe_ctrl_seg *wqe_ctrl; in mlx5hws_send_engine_post_end() local 147 wqe_ctrl = mlx5_wq_cyc_get_wqe(&sq->wq, idx); in mlx5hws_send_engine_post_end() 149 wqe_ctrl->opmod_idx_opcode = in mlx5hws_send_engine_post_end() 153 wqe_ctrl->qpn_ds = in mlx5hws_send_engine_post_end() 156 wqe_ctrl->imm = cpu_to_be32(attr->id); in mlx5hws_send_engine_post_end() 160 wqe_ctrl->flags = cpu_to_be32(flags); in mlx5hws_send_engine_post_end() 177 hws_send_engine_post_ring(sq, wqe_ctrl); in mlx5hws_send_engine_post_end() 190 struct mlx5hws_wqe_gta_ctrl_seg *wqe_ctrl; in hws_send_wqe() local 195 mlx5hws_send_engine_post_req_wqe(&ctrl, (void *)&wqe_ctrl, &wqe_len); in hws_send_wqe() [all …]
|
H A D | mlx5hws_pat_arg.c | 308 struct mlx5hws_wqe_gta_ctrl_seg *wqe_ctrl = NULL; in mlx5hws_arg_decapl3_write() local 315 mlx5hws_send_engine_post_req_wqe(&ctrl, (void *)&wqe_ctrl, &wqe_len); in mlx5hws_arg_decapl3_write() 316 memset(wqe_ctrl, 0, wqe_len); in mlx5hws_arg_decapl3_write() 332 struct mlx5hws_wqe_gta_ctrl_seg *wqe_ctrl; in mlx5hws_arg_write() local 344 mlx5hws_send_engine_post_req_wqe(&ctrl, (void *)&wqe_ctrl, &wqe_len); in mlx5hws_arg_write() 345 memset(wqe_ctrl, 0, wqe_len); in mlx5hws_arg_write() 357 mlx5hws_send_engine_post_req_wqe(&ctrl, (void *)&wqe_ctrl, &wqe_len); in mlx5hws_arg_write() 358 memset(wqe_ctrl, 0, wqe_len); in mlx5hws_arg_write()
|
H A D | mlx5hws_rule.c | 155 memcpy(rule->resize_info->ctrl_seg, ste_attr->wqe_ctrl, in hws_rule_save_resize_info() 388 ste_attr.wqe_ctrl = &dep_wqe->wqe_ctrl; in hws_rule_create_hws() 390 apply.wqe_ctrl = &dep_wqe->wqe_ctrl; in hws_rule_create_hws() 508 struct mlx5hws_wqe_gta_ctrl_seg wqe_ctrl = {0}; in hws_rule_destroy_hws() local 562 ste_attr.wqe_ctrl = &wqe_ctrl; in hws_rule_destroy_hws() 651 ste_attr.wqe_ctrl = &empty_wqe_ctrl; in mlx5hws_rule_move_hws_remove() 700 ste_attr.wqe_ctrl = (struct mlx5hws_wqe_gta_ctrl_seg *)rule->resize_info->ctrl_seg; in mlx5hws_rule_move_hws_add()
|
H A D | mlx5hws_action.c | 1704 struct mlx5hws_wqe_gta_ctrl_seg wqe_ctrl = {0}; in hws_action_create_dest_match_range_fill_table() local 1737 ste_attr.wqe_ctrl = &wqe_ctrl; in hws_action_create_dest_match_range_fill_table() 1742 wqe_ctrl.stc_ix[MLX5HWS_ACTION_STC_IDX_CTRL] = in hws_action_create_dest_match_range_fill_table() 1744 wqe_ctrl.stc_ix[MLX5HWS_ACTION_STC_IDX_DW5] = in hws_action_create_dest_match_range_fill_table() 1746 wqe_ctrl.stc_ix[MLX5HWS_ACTION_STC_IDX_DW6] = in hws_action_create_dest_match_range_fill_table() 1748 wqe_ctrl.stc_ix[MLX5HWS_ACTION_STC_IDX_DW7] = in hws_action_create_dest_match_range_fill_table() 1750 wqe_ctrl.stc_ix[MLX5HWS_ACTION_STC_IDX_CTRL] |= in hws_action_create_dest_match_range_fill_table() 1752 wqe_ctrl.stc_ix[MLX5HWS_ACTION_STC_IDX_HIT] = in hws_action_create_dest_match_range_fill_table() 2153 apply->wqe_ctrl->stc_ix[stc_idx] = in hws_action_apply_stc() 2168 apply->wqe_ctrl->stc_ix[MLX5HWS_ACTION_STC_IDX_DW7] = 0; in hws_action_setter_push_vlan() [all …]
|
H A D | mlx5hws_send.h | 93 struct mlx5hws_wqe_gta_ctrl_seg wqe_ctrl; member 180 struct mlx5hws_wqe_gta_ctrl_seg *wqe_ctrl; member
|
H A D | mlx5hws_prm.h | 450 u8 wqe_ctrl[0x80]; member
|
H A D | mlx5hws_cmd.h | 192 u8 *wqe_ctrl; member
|
H A D | mlx5hws_cmd.c | 972 ptr = MLX5_ADDR_OF(generate_wqe_in, in, wqe_ctrl); in mlx5hws_cmd_generate_wqe() 973 memcpy(ptr, attr->wqe_ctrl, MLX5_FLD_SZ_BYTES(generate_wqe_in, wqe_ctrl)); in mlx5hws_cmd_generate_wqe()
|