Home
last modified time | relevance | path

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

/linux-6.1.9/net/sched/
Dact_gact.c268 struct flow_offload_action *fl_action = entry_data; in tcf_gact_offload_act_setup() local
271 fl_action->id = FLOW_ACTION_ACCEPT; in tcf_gact_offload_act_setup()
273 fl_action->id = FLOW_ACTION_DROP; in tcf_gact_offload_act_setup()
275 fl_action->id = FLOW_ACTION_TRAP; in tcf_gact_offload_act_setup()
277 fl_action->id = FLOW_ACTION_GOTO; in tcf_gact_offload_act_setup()
Dact_vlan.c389 struct flow_offload_action *fl_action = entry_data; in tcf_vlan_offload_act_setup() local
393 fl_action->id = FLOW_ACTION_VLAN_PUSH; in tcf_vlan_offload_act_setup()
396 fl_action->id = FLOW_ACTION_VLAN_POP; in tcf_vlan_offload_act_setup()
399 fl_action->id = FLOW_ACTION_VLAN_MANGLE; in tcf_vlan_offload_act_setup()
402 fl_action->id = FLOW_ACTION_VLAN_POP_ETH; in tcf_vlan_offload_act_setup()
405 fl_action->id = FLOW_ACTION_VLAN_PUSH_ETH; in tcf_vlan_offload_act_setup()
Dact_mirred.c468 struct flow_offload_action *fl_action = entry_data; in tcf_mirred_offload_act_setup() local
471 fl_action->id = FLOW_ACTION_REDIRECT; in tcf_mirred_offload_act_setup()
473 fl_action->id = FLOW_ACTION_MIRRED; in tcf_mirred_offload_act_setup()
475 fl_action->id = FLOW_ACTION_REDIRECT_INGRESS; in tcf_mirred_offload_act_setup()
477 fl_action->id = FLOW_ACTION_MIRRED_INGRESS; in tcf_mirred_offload_act_setup()
Dact_mpls.c414 struct flow_offload_action *fl_action = entry_data; in tcf_mpls_offload_act_setup() local
418 fl_action->id = FLOW_ACTION_MPLS_PUSH; in tcf_mpls_offload_act_setup()
421 fl_action->id = FLOW_ACTION_MPLS_POP; in tcf_mpls_offload_act_setup()
424 fl_action->id = FLOW_ACTION_MPLS_MANGLE; in tcf_mpls_offload_act_setup()
Dact_skbedit.c389 struct flow_offload_action *fl_action = entry_data; in tcf_skbedit_offload_act_setup() local
392 fl_action->id = FLOW_ACTION_MARK; in tcf_skbedit_offload_act_setup()
394 fl_action->id = FLOW_ACTION_PTYPE; in tcf_skbedit_offload_act_setup()
396 fl_action->id = FLOW_ACTION_PRIORITY; in tcf_skbedit_offload_act_setup()
Dact_api.c184 static int offload_action_init(struct flow_offload_action *fl_action, in offload_action_init() argument
191 fl_action->extack = extack; in offload_action_init()
192 fl_action->command = cmd; in offload_action_init()
193 fl_action->index = act->tcfa_index; in offload_action_init()
197 err = act->ops->offload_act_setup(act, fl_action, NULL, in offload_action_init()
258 struct flow_offload_action *fl_action; in tcf_action_offload_add_ex() local
266 fl_action = offload_action_alloc(num); in tcf_action_offload_add_ex()
267 if (!fl_action) in tcf_action_offload_add_ex()
270 err = offload_action_init(fl_action, action, FLOW_ACT_REPLACE, extack); in tcf_action_offload_add_ex()
274 err = tc_setup_action(&fl_action->action, actions, extack); in tcf_action_offload_add_ex()
[all …]
Dact_sample.c289 struct flow_offload_action *fl_action = entry_data; in tcf_sample_offload_act_setup() local
291 fl_action->id = FLOW_ACTION_SAMPLE; in tcf_sample_offload_act_setup()
Dact_tunnel_key.c814 struct flow_offload_action *fl_action = entry_data; in tcf_tunnel_key_offload_act_setup() local
817 fl_action->id = FLOW_ACTION_TUNNEL_ENCAP; in tcf_tunnel_key_offload_act_setup()
819 fl_action->id = FLOW_ACTION_TUNNEL_DECAP; in tcf_tunnel_key_offload_act_setup()
Dact_police.c478 struct flow_offload_action *fl_action = entry_data; in tcf_police_offload_act_setup() local
480 fl_action->id = FLOW_ACTION_POLICE; in tcf_police_offload_act_setup()
Dact_csum.c691 struct flow_offload_action *fl_action = entry_data; in tcf_csum_offload_act_setup() local
693 fl_action->id = FLOW_ACTION_CSUM; in tcf_csum_offload_act_setup()
Dact_gate.c623 struct flow_offload_action *fl_action = entry_data; in tcf_gate_offload_act_setup() local
625 fl_action->id = FLOW_ACTION_GATE; in tcf_gate_offload_act_setup()
Dact_ct.c1582 struct flow_offload_action *fl_action = entry_data; in tcf_ct_offload_act_setup() local
1584 fl_action->id = FLOW_ACTION_CT; in tcf_ct_offload_act_setup()
/linux-6.1.9/net/core/
Dflow_offload.c33 struct flow_offload_action *fl_action; in offload_action_alloc() local
36 fl_action = kzalloc(struct_size(fl_action, action.entries, num_actions), in offload_action_alloc()
38 if (!fl_action) in offload_action_alloc()
41 fl_action->action.num_entries = num_actions; in offload_action_alloc()
46 fl_action->action.entries[i].hw_stats = FLOW_ACTION_HW_STATS_DONT_CARE; in offload_action_alloc()
48 return fl_action; in offload_action_alloc()