Lines Matching refs:act
159 #define NEXT_ITEM_OF_ACTION(act, actions, index)\ argument
161 act = actions + index;\
162 while (act->type == RTE_FLOW_ACTION_TYPE_VOID) {\
164 act = actions + index;\
207 const struct rte_flow_action *act; in classify_parse_ntuple_filter() local
477 NEXT_ITEM_OF_ACTION(act, actions, index); in classify_parse_ntuple_filter()
478 switch (act->type) { in classify_parse_ntuple_filter()
481 count = act->conf; in classify_parse_ntuple_filter()
482 memcpy(&action.act.counter, count, sizeof(action.act.counter)); in classify_parse_ntuple_filter()
486 mark_spec = act->conf; in classify_parse_ntuple_filter()
487 memcpy(&action.act.mark, mark_spec, sizeof(action.act.mark)); in classify_parse_ntuple_filter()
492 RTE_FLOW_ERROR_TYPE_ACTION, act, in classify_parse_ntuple_filter()
499 NEXT_ITEM_OF_ACTION(act, actions, index); in classify_parse_ntuple_filter()
500 switch (act->type) { in classify_parse_ntuple_filter()
503 count = act->conf; in classify_parse_ntuple_filter()
504 memcpy(&action.act.counter, count, sizeof(action.act.counter)); in classify_parse_ntuple_filter()
508 mark_spec = act->conf; in classify_parse_ntuple_filter()
509 memcpy(&action.act.mark, mark_spec, sizeof(action.act.mark)); in classify_parse_ntuple_filter()
516 RTE_FLOW_ERROR_TYPE_ACTION, act, in classify_parse_ntuple_filter()
523 NEXT_ITEM_OF_ACTION(act, actions, index); in classify_parse_ntuple_filter()
524 if (act->type != RTE_FLOW_ACTION_TYPE_END) { in classify_parse_ntuple_filter()
527 RTE_FLOW_ERROR_TYPE_ACTION, act, in classify_parse_ntuple_filter()