Home
last modified time | relevance | path

Searched refs:tc_act (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dact.c92 struct mlx5e_tc_act *tc_act; in mlx5e_tc_act_post_parse() local
104 tc_act = mlx5e_tc_act_get(act->id, ns_type); in mlx5e_tc_act_post_parse()
105 if (!tc_act || !tc_act->post_parse) in mlx5e_tc_act_post_parse()
108 err = tc_act->post_parse(parse_state, priv, attr); in mlx5e_tc_act_post_parse()
/linux/net/sched/
H A Dact_police.c411 static int tcf_police_act_to_flow_act(int tc_act, u32 *extval, in tcf_police_act_to_flow_act() argument
416 if (!TC_ACT_EXT_OPCODE(tc_act)) { in tcf_police_act_to_flow_act()
417 if (tc_act == TC_ACT_OK) in tcf_police_act_to_flow_act()
419 else if (tc_act == TC_ACT_SHOT) in tcf_police_act_to_flow_act()
421 else if (tc_act == TC_ACT_PIPE) in tcf_police_act_to_flow_act()
423 else if (tc_act == TC_ACT_RECLASSIFY) in tcf_police_act_to_flow_act()
427 } else if (TC_ACT_EXT_CMP(tc_act, TC_ACT_GOTO_CHAIN)) { in tcf_police_act_to_flow_act()
429 *extval = tc_act & TC_ACT_EXT_VAL_MASK; in tcf_police_act_to_flow_act()
430 } else if (TC_ACT_EXT_CMP(tc_act, TC_ACT_JUMP)) { in tcf_police_act_to_flow_act()
432 *extval = tc_act & TC_ACT_EXT_VAL_MASK; in tcf_police_act_to_flow_act()
[all …]
H A Dact_api.c1162 ret = tc_act(skb, a, res); in tcf_action_exec()
/linux/tools/net/ynl/
H A DMakefile.deps52 $(call get_hdr_inc,_TC_CT_H,tc_act/tc_ct.h) \
53 $(call get_hdr_inc,_TC_MIRRED_H,tc_act/tc_mirred.h) \
54 $(call get_hdr_inc,_TC_SKBEDIT_H,tc_act/tc_skbedit.h) \
55 $(call get_hdr_inc,_TC_TUNNEL_KEY_H,tc_act/tc_tunnel_key.h)
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c3924 dec_jump_count(struct flow_action_entry *act, struct mlx5e_tc_act *tc_act, in dec_jump_count() argument
3949 if (tc_act->is_terminating_action) { /* the branch ends here */ in dec_jump_count()
3968 parse_branch_ctrl(struct flow_action_entry *act, struct mlx5e_tc_act *tc_act, in parse_branch_ctrl() argument
3977 if (!tc_act->get_branch_ctrl) in parse_branch_ctrl()
3980 tc_act->get_branch_ctrl(act, &cond_true, &cond_false); in parse_branch_ctrl()
4024 struct mlx5e_tc_act *tc_act; in parse_tc_actions() local
4036 tc_act = mlx5e_tc_act_get(act->id, ns_type); in parse_tc_actions()
4037 if (!tc_act) { in parse_tc_actions()
4043 if (tc_act->can_offload && !tc_act->can_offload(parse_state, act, i, attr)) { in parse_tc_actions()
4048 err = tc_act->parse_action(parse_state, act, priv, attr); in parse_tc_actions()
[all …]
/linux/
H A DMAINTAINERS26682 F: include/net/tc_act/
26686 F: include/uapi/linux/tc_act/