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/
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/
A Dact_police.c407 static int tcf_police_act_to_flow_act(int tc_act, u32 *extval, in tcf_police_act_to_flow_act() argument
412 if (!TC_ACT_EXT_OPCODE(tc_act)) { in tcf_police_act_to_flow_act()
413 if (tc_act == TC_ACT_OK) in tcf_police_act_to_flow_act()
415 else if (tc_act == TC_ACT_SHOT) in tcf_police_act_to_flow_act()
417 else if (tc_act == TC_ACT_PIPE) in tcf_police_act_to_flow_act()
419 else if (tc_act == TC_ACT_RECLASSIFY) in tcf_police_act_to_flow_act()
423 } else if (TC_ACT_EXT_CMP(tc_act, TC_ACT_GOTO_CHAIN)) { in tcf_police_act_to_flow_act()
425 *extval = tc_act & TC_ACT_EXT_VAL_MASK; in tcf_police_act_to_flow_act()
426 } else if (TC_ACT_EXT_CMP(tc_act, TC_ACT_JUMP)) { in tcf_police_act_to_flow_act()
428 *extval = tc_act & TC_ACT_EXT_VAL_MASK; in tcf_police_act_to_flow_act()
[all …]
A Dact_api.c1099 ret = tc_act(skb, a, res); in tcf_action_exec()
/linux/include/net/
A Dtc_wrapper.h46 static inline int tc_act(struct sk_buff *skb, const struct tc_action *a, in tc_act() function
214 static inline int tc_act(struct sk_buff *skb, const struct tc_action *a, in tc_act() function
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tc.c3980 if (!tc_act->get_branch_ctrl) in parse_branch_ctrl()
3983 tc_act->get_branch_ctrl(act, &cond_true, &cond_false); in parse_branch_ctrl()
4027 struct mlx5e_tc_act *tc_act; in parse_tc_actions() local
4039 tc_act = mlx5e_tc_act_get(act->id, ns_type); in parse_tc_actions()
4040 if (!tc_act) { in parse_tc_actions()
4046 if (tc_act->can_offload && !tc_act->can_offload(parse_state, act, i, attr)) { in parse_tc_actions()
4055 dec_jump_count(act, tc_act, attr, priv, &jump_state); in parse_tc_actions()
4065 (tc_act->is_multi_table_act && in parse_tc_actions()
4066 tc_act->is_multi_table_act(priv, act, attr) && in parse_tc_actions()
4068 is_missable = tc_act->is_missable ? tc_act->is_missable(act) : false; in parse_tc_actions()
[all …]
/linux/
A DMAINTAINERS22541 F: include/net/tc_act/
22544 F: include/uapi/linux/tc_act/

Completed in 45 milliseconds