Home
last modified time | relevance | path

Searched refs:fl_action (Results 1 – 14 of 14) sorted by relevance

/linux/net/sched/
H A Dact_gact.c275 struct flow_offload_action *fl_action = entry_data; in tcf_gact_offload_act_setup() local
278 fl_action->id = FLOW_ACTION_ACCEPT; in tcf_gact_offload_act_setup()
280 fl_action->id = FLOW_ACTION_DROP; in tcf_gact_offload_act_setup()
282 fl_action->id = FLOW_ACTION_TRAP; in tcf_gact_offload_act_setup()
284 fl_action->id = FLOW_ACTION_GOTO; in tcf_gact_offload_act_setup()
H A Dact_vlan.c390 struct flow_offload_action *fl_action = entry_data; in tcf_vlan_offload_act_setup() local
394 fl_action->id = FLOW_ACTION_VLAN_PUSH; in tcf_vlan_offload_act_setup()
397 fl_action->id = FLOW_ACTION_VLAN_POP; in tcf_vlan_offload_act_setup()
400 fl_action->id = FLOW_ACTION_VLAN_MANGLE; in tcf_vlan_offload_act_setup()
403 fl_action->id = FLOW_ACTION_VLAN_POP_ETH; in tcf_vlan_offload_act_setup()
406 fl_action->id = FLOW_ACTION_VLAN_PUSH_ETH; in tcf_vlan_offload_act_setup()
H A Dact_skbedit.c401 struct flow_offload_action *fl_action = entry_data; in tcf_skbedit_offload_act_setup() local
404 fl_action->id = FLOW_ACTION_MARK; in tcf_skbedit_offload_act_setup()
406 fl_action->id = FLOW_ACTION_PTYPE; in tcf_skbedit_offload_act_setup()
408 fl_action->id = FLOW_ACTION_PRIORITY; in tcf_skbedit_offload_act_setup()
410 fl_action->id = FLOW_ACTION_RX_QUEUE_MAPPING; in tcf_skbedit_offload_act_setup()
H A Dact_mpls.c421 struct flow_offload_action *fl_action = entry_data; in tcf_mpls_offload_act_setup() local
425 fl_action->id = FLOW_ACTION_MPLS_PUSH; in tcf_mpls_offload_act_setup()
428 fl_action->id = FLOW_ACTION_MPLS_POP; in tcf_mpls_offload_act_setup()
431 fl_action->id = FLOW_ACTION_MPLS_MANGLE; in tcf_mpls_offload_act_setup()
H A Dact_mirred.c647 struct flow_offload_action *fl_action = entry_data; in tcf_mirred_offload_act_setup() local
650 fl_action->id = FLOW_ACTION_REDIRECT; in tcf_mirred_offload_act_setup()
652 fl_action->id = FLOW_ACTION_MIRRED; in tcf_mirred_offload_act_setup()
654 fl_action->id = FLOW_ACTION_REDIRECT_INGRESS; in tcf_mirred_offload_act_setup()
656 fl_action->id = FLOW_ACTION_MIRRED_INGRESS; in tcf_mirred_offload_act_setup()
H A Dact_api.c178 static int offload_action_init(struct flow_offload_action *fl_action, in offload_action_init() argument
185 fl_action->extack = extack; in offload_action_init()
186 fl_action->command = cmd; in offload_action_init()
187 fl_action->index = act->tcfa_index; in offload_action_init()
188 fl_action->cookie = (unsigned long)act; in offload_action_init()
192 err = act->ops->offload_act_setup(act, fl_action, NULL, in offload_action_init()
253 struct flow_offload_action *fl_action; in tcf_action_offload_add_ex() local
261 fl_action = offload_action_alloc(num); in tcf_action_offload_add_ex()
262 if (!fl_action) in tcf_action_offload_add_ex()
265 err = offload_action_init(fl_action, actio in tcf_action_offload_add_ex()
[all...]
H A Dact_sample.c310 struct flow_offload_action *fl_action = entry_data; in tcf_sample_offload_act_setup() local
312 fl_action->id = FLOW_ACTION_SAMPLE; in tcf_sample_offload_act_setup()
H A Dact_pedit.c602 struct flow_offload_action *fl_action = entry_data; in tcf_pedit_offload_act_setup() local
608 fl_action->id = FLOW_ACTION_MANGLE; in tcf_pedit_offload_act_setup()
611 fl_action->id = FLOW_ACTION_ADD; in tcf_pedit_offload_act_setup()
H A Dact_tunnel_key.c825 struct flow_offload_action *fl_action = entry_data; in tcf_tunnel_key_offload_act_setup() local
828 fl_action->id = FLOW_ACTION_TUNNEL_ENCAP; in tcf_tunnel_key_offload_act_setup()
830 fl_action->id = FLOW_ACTION_TUNNEL_DECAP; in tcf_tunnel_key_offload_act_setup()
H A Dact_police.c485 struct flow_offload_action *fl_action = entry_data; in tcf_police_offload_act_setup() local
487 fl_action->id = FLOW_ACTION_POLICE; in tcf_police_offload_act_setup()
H A Dact_csum.c700 struct flow_offload_action *fl_action = entry_data; in tcf_csum_offload_act_setup() local
702 fl_action->id = FLOW_ACTION_CSUM; in tcf_csum_offload_act_setup()
H A Dact_gate.c728 struct flow_offload_action *fl_action = entry_data; in tcf_gate_offload_act_setup() local
730 fl_action->id = FLOW_ACTION_GATE; in tcf_gate_offload_act_setup()
H A Dact_ct.c1652 struct flow_offload_action *fl_action = entry_data; in tcf_ct_offload_act_setup() local
1654 fl_action->id = FLOW_ACTION_CT; in tcf_ct_offload_act_setup()
/linux/net/core/
H A Dflow_offload.c32 struct flow_offload_action *fl_action; in offload_action_alloc() local
35 fl_action = kzalloc_flex(*fl_action, action.entries, num_actions); in offload_action_alloc()
36 if (!fl_action) in offload_action_alloc()
39 fl_action->action.num_entries = num_actions; in offload_action_alloc()
44 fl_action->action.entries[i].hw_stats = FLOW_ACTION_HW_STATS_DONT_CARE; in offload_action_alloc()
46 return fl_action; in offload_action_alloc()