Lines Matching refs:action

211 	struct mlx5dr_action *action = action_mem->action;
212 const u64 action_id = DR_DBG_PTR_TO_ID(action);
217 switch (action->action_type) {
231 if (action->dest_tbl->is_fw_tbl)
235 rule_id, action->dest_tbl->fw_tbl.id,
241 rule_id, action->dest_tbl->tbl->table_id,
242 DR_DBG_PTR_TO_ID(action->dest_tbl->tbl));
255 action->ctr->ctr_id + action->ctr->offset);
267 action->flow_tag->flow_tag);
277 struct mlx5dr_ptrn_obj *ptrn = action->rewrite->ptrn;
278 struct mlx5dr_arg_obj *arg = action->rewrite->arg;
279 u8 *rewrite_data = action->rewrite->data;
283 ptrn_arg = !action->rewrite->single_action_opt && ptrn && arg;
288 rule_id, action->rewrite->index,
289 action->rewrite->single_action_opt,
290 ptrn_arg ? action->rewrite->num_of_actions : 0,
301 for (i = 0; i < action->rewrite->num_of_actions; i++) {
326 action->vport->caps->num);
351 (action->rewrite->ptrn && action->rewrite->arg) ?
352 mlx5dr_arg_get_obj_id(action->rewrite->arg) :
353 action->rewrite->index);
365 rule_id, action->reformat->id);
377 rule_id, action->reformat->id);
401 rule_id, action->push_vlan->vlan_hdr);
413 rule_id, action->reformat->id,
414 action->reformat->param_0,
415 action->reformat->param_1);
427 rule_id, action->reformat->id,
428 action->reformat->param_0,
429 action->reformat->param_1);
441 rule_id, 0, 0, action->sampler->sampler_id,
442 action->sampler->rx_icm_addr,
443 action->sampler->tx_icm_addr);
452 if (action->range->hit_tbl_action->dest_tbl->is_fw_tbl) {
453 hit_tbl_id = action->range->hit_tbl_action->dest_tbl->fw_tbl.id;
456 hit_tbl_id = action->range->hit_tbl_action->dest_tbl->tbl->table_id;
458 DR_DBG_PTR_TO_ID(action->range->hit_tbl_action->dest_tbl->tbl);
461 if (action->range->miss_tbl_action->dest_tbl->is_fw_tbl) {
462 miss_tbl_id = action->range->miss_tbl_action->dest_tbl->fw_tbl.id;
465 miss_tbl_id = action->range->miss_tbl_action->dest_tbl->tbl->table_id;
467 DR_DBG_PTR_TO_ID(action->range->miss_tbl_action->dest_tbl->tbl);
474 miss_tbl_ptr, action->range->definer_id);