Searched refs:rewrite (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_action.c | 823 if (action->rewrite->ptrn && action->rewrite->arg) { in mlx5dr_actions_build_ste_arr() 824 attr.decap_index = mlx5dr_arg_get_obj_id(action->rewrite->arg); in mlx5dr_actions_build_ste_arr() 825 attr.decap_actions = action->rewrite->ptrn->num_of_actions; in mlx5dr_actions_build_ste_arr() 826 attr.decap_pat_idx = action->rewrite->ptrn->index; in mlx5dr_actions_build_ste_arr() 828 attr.decap_index = action->rewrite->index; in mlx5dr_actions_build_ste_arr() 829 attr.decap_actions = action->rewrite->num_of_actions; in mlx5dr_actions_build_ste_arr() 836 if (action->rewrite->single_action_opt) { in mlx5dr_actions_build_ste_arr() 837 attr.modify_actions = action->rewrite->num_of_actions; in mlx5dr_actions_build_ste_arr() 838 attr.single_modify_action = action->rewrite->data; in mlx5dr_actions_build_ste_arr() 840 if (action->rewrite->ptrn && action->rewrite->arg) { in mlx5dr_actions_build_ste_arr() [all …]
|
D | dr_dbg.c | 145 struct mlx5dr_ptrn_obj *ptrn = action->rewrite->ptrn; in dr_dump_rule_action_mem() 146 struct mlx5dr_arg_obj *arg = action->rewrite->arg; in dr_dump_rule_action_mem() 147 u8 *rewrite_data = action->rewrite->data; in dr_dump_rule_action_mem() 151 ptrn_arg = !action->rewrite->single_action_opt && ptrn && arg; in dr_dump_rule_action_mem() 155 rule_id, action->rewrite->index, in dr_dump_rule_action_mem() 156 action->rewrite->single_action_opt, in dr_dump_rule_action_mem() 157 ptrn_arg ? action->rewrite->num_of_actions : 0, in dr_dump_rule_action_mem() 162 for (i = 0; i < action->rewrite->num_of_actions; i++) { in dr_dump_rule_action_mem() 185 (action->rewrite->ptrn && action->rewrite->arg) ? in dr_dump_rule_action_mem() 186 mlx5dr_arg_get_obj_id(action->rewrite->arg) : in dr_dump_rule_action_mem() [all …]
|
D | dr_ste_v1.c | 2237 ptrn_mgr = action->rewrite->dmn->ptrn_mgr; in dr_ste_v1_alloc_modify_hdr_ptrn_arg() 2241 action->rewrite->arg = mlx5dr_arg_get_obj(action->rewrite->dmn->arg_mgr, in dr_ste_v1_alloc_modify_hdr_ptrn_arg() 2242 action->rewrite->num_of_actions, in dr_ste_v1_alloc_modify_hdr_ptrn_arg() 2243 action->rewrite->data); in dr_ste_v1_alloc_modify_hdr_ptrn_arg() 2244 if (!action->rewrite->arg) { in dr_ste_v1_alloc_modify_hdr_ptrn_arg() 2245 mlx5dr_err(action->rewrite->dmn, "Failed allocating args for modify header\n"); in dr_ste_v1_alloc_modify_hdr_ptrn_arg() 2249 action->rewrite->ptrn = in dr_ste_v1_alloc_modify_hdr_ptrn_arg() 2251 action->rewrite->num_of_actions, in dr_ste_v1_alloc_modify_hdr_ptrn_arg() 2252 action->rewrite->data); in dr_ste_v1_alloc_modify_hdr_ptrn_arg() 2253 if (!action->rewrite->ptrn) { in dr_ste_v1_alloc_modify_hdr_ptrn_arg() [all …]
|
D | dr_ste.c | 640 struct mlx5dr_domain *dmn = action->rewrite->dmn; in dr_ste_alloc_modify_hdr_chunk() 644 chunk_size = ilog2(roundup_pow_of_two(action->rewrite->num_of_actions)); in dr_ste_alloc_modify_hdr_chunk() 649 action->rewrite->chunk = mlx5dr_icm_alloc_chunk(dmn->action_icm_pool, in dr_ste_alloc_modify_hdr_chunk() 651 if (!action->rewrite->chunk) in dr_ste_alloc_modify_hdr_chunk() 654 action->rewrite->index = (mlx5dr_icm_pool_get_chunk_icm_addr(action->rewrite->chunk) - in dr_ste_alloc_modify_hdr_chunk() 658 ret = mlx5dr_send_postsend_action(action->rewrite->dmn, action); in dr_ste_alloc_modify_hdr_chunk() 665 mlx5dr_icm_free_chunk(action->rewrite->chunk); in dr_ste_alloc_modify_hdr_chunk() 671 mlx5dr_icm_free_chunk(action->rewrite->chunk); in dr_ste_free_modify_hdr_chunk() 676 struct mlx5dr_domain *dmn = action->rewrite->dmn; in mlx5dr_ste_alloc_modify_hdr() 686 struct mlx5dr_domain *dmn = action->rewrite->dmn; in mlx5dr_ste_free_modify_hdr()
|
D | dr_send.c | 841 send_info.write.addr = (uintptr_t)action->rewrite->data; in mlx5dr_send_postsend_action() 842 send_info.write.length = action->rewrite->num_of_actions * in mlx5dr_send_postsend_action() 846 mlx5dr_icm_pool_get_chunk_mr_addr(action->rewrite->chunk); in mlx5dr_send_postsend_action() 847 send_info.rkey = mlx5dr_icm_pool_get_chunk_rkey(action->rewrite->chunk); in mlx5dr_send_postsend_action()
|
D | dr_types.h | 1128 struct mlx5dr_action_rewrite *rewrite; member
|
/drivers/staging/olpc_dcon/ |
D | TODO | 2 - complete rewrite:
|
/drivers/md/ |
D | md.c | 2780 rewrite: in md_update_sb() 2811 goto rewrite; in md_update_sb()
|