Lines Matching refs:fl_act
203 static int tcf_action_offload_cmd_ex(struct flow_offload_action *fl_act, in tcf_action_offload_cmd_ex() argument
209 fl_act, NULL, NULL); in tcf_action_offload_cmd_ex()
219 static int tcf_action_offload_cmd_cb_ex(struct flow_offload_action *fl_act, in tcf_action_offload_cmd_cb_ex() argument
226 err = cb(NULL, NULL, cb_priv, TC_SETUP_ACT, NULL, fl_act, NULL); in tcf_action_offload_cmd_cb_ex()
236 static int tcf_action_offload_cmd(struct flow_offload_action *fl_act, in tcf_action_offload_cmd() argument
241 return cb ? tcf_action_offload_cmd_cb_ex(fl_act, hw_count, in tcf_action_offload_cmd()
243 tcf_action_offload_cmd_ex(fl_act, hw_count); in tcf_action_offload_cmd()
303 struct flow_offload_action fl_act = {}; in tcf_action_update_hw_stats() local
306 err = offload_action_init(&fl_act, action, FLOW_ACT_STATS, NULL); in tcf_action_update_hw_stats()
310 err = tcf_action_offload_cmd(&fl_act, NULL, NULL, NULL); in tcf_action_update_hw_stats()
313 tcf_action_stats_update(action, fl_act.stats.bytes, in tcf_action_update_hw_stats()
314 fl_act.stats.pkts, in tcf_action_update_hw_stats()
315 fl_act.stats.drops, in tcf_action_update_hw_stats()
316 fl_act.stats.lastused, in tcf_action_update_hw_stats()
319 action->used_hw_stats = fl_act.stats.used_hw_stats; in tcf_action_update_hw_stats()
333 struct flow_offload_action fl_act = {}; in tcf_action_offload_del_ex() local
340 err = offload_action_init(&fl_act, action, FLOW_ACT_DESTROY, NULL); in tcf_action_offload_del_ex()
344 err = tcf_action_offload_cmd(&fl_act, &in_hw_count, cb, cb_priv); in tcf_action_offload_del_ex()