Lines Matching refs:fl_action
180 static int offload_action_init(struct flow_offload_action *fl_action, in offload_action_init() argument
187 fl_action->extack = extack; in offload_action_init()
188 fl_action->command = cmd; in offload_action_init()
189 fl_action->index = act->tcfa_index; in offload_action_init()
190 fl_action->cookie = (unsigned long)act; in offload_action_init()
194 err = act->ops->offload_act_setup(act, fl_action, NULL, in offload_action_init()
255 struct flow_offload_action *fl_action; in tcf_action_offload_add_ex() local
263 fl_action = offload_action_alloc(num); in tcf_action_offload_add_ex()
264 if (!fl_action) in tcf_action_offload_add_ex()
267 err = offload_action_init(fl_action, action, FLOW_ACT_REPLACE, extack); in tcf_action_offload_add_ex()
271 err = tc_setup_action(&fl_action->action, actions, 0, extack); in tcf_action_offload_add_ex()
278 err = tcf_action_offload_cmd(fl_action, &in_hw_count, cb, cb_priv); in tcf_action_offload_add_ex()
286 tc_cleanup_offload_action(&fl_action->action); in tcf_action_offload_add_ex()
289 kfree(fl_action); in tcf_action_offload_add_ex()