Lines Matching defs:action
224 struct flow_action_entry *action = &f->rule->action.entries[0];
241 err = ocelot_policer_validate(&f->rule->action, action, extack);
245 pol.rate = (u32)div_u64(action->police.rate_bytes_ps, 1000) * 8;
246 pol.burst = action->police.burst;
265 struct flow_action *action = &f->rule->action;
274 if (!flow_action_basic_hw_stats_check(action, extack))
277 a = &action->entries[0];
346 struct flow_action_entry *action;
350 if (!flow_offload_has_one_action(&f->rule->action)) {
352 "Only one action is supported");
362 action = &f->rule->action.entries[0];
364 switch (action->id) {
375 NL_SET_ERR_MSG_MOD(extack, "Unsupported action");
381 action = &f->rule->action.entries[0];