Symbol: tc_act
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.c
104
tc_act = mlx5e_tc_act_get(act->id, ns_type);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.c
105
if (!tc_act || !tc_act->post_parse)
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.c
108
err = tc_act->post_parse(parse_state, priv, attr);
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/act.c
92
struct mlx5e_tc_act *tc_act;
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3927
dec_jump_count(struct flow_action_entry *act, struct mlx5e_tc_act *tc_act,
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3952
if (tc_act->is_terminating_action) { /* the branch ends here */
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3971
parse_branch_ctrl(struct flow_action_entry *act, struct mlx5e_tc_act *tc_act,
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3980
if (!tc_act->get_branch_ctrl)
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
3983
tc_act->get_branch_ctrl(act, &cond_true, &cond_false);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
4027
struct mlx5e_tc_act *tc_act;
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
4039
tc_act = mlx5e_tc_act_get(act->id, ns_type);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
4040
if (!tc_act) {
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
4046
if (tc_act->can_offload && !tc_act->can_offload(parse_state, act, i, attr)) {
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
4051
err = tc_act->parse_action(parse_state, act, priv, attr);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
4055
dec_jump_count(act, tc_act, attr, priv, &jump_state);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
4057
err = parse_branch_ctrl(act, tc_act, flow, attr, &jump_state, extack);
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
4065
(tc_act->is_multi_table_act &&
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
4066
tc_act->is_multi_table_act(priv, act, attr) &&
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
4068
is_missable = tc_act->is_missable ? tc_act->is_missable(act) : false;
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
4092
} else if (!tc_act->stats_action) {
net/sched/act_api.c
1152
ret = tc_act(skb, a, res);
net/sched/act_police.c
405
static int tcf_police_act_to_flow_act(int tc_act, u32 *extval,
net/sched/act_police.c
410
if (!TC_ACT_EXT_OPCODE(tc_act)) {
net/sched/act_police.c
411
if (tc_act == TC_ACT_OK)
net/sched/act_police.c
413
else if (tc_act == TC_ACT_SHOT)
net/sched/act_police.c
415
else if (tc_act == TC_ACT_PIPE)
net/sched/act_police.c
417
else if (tc_act == TC_ACT_RECLASSIFY)
net/sched/act_police.c
421
} else if (TC_ACT_EXT_CMP(tc_act, TC_ACT_GOTO_CHAIN)) {
net/sched/act_police.c
423
*extval = tc_act & TC_ACT_EXT_VAL_MASK;
net/sched/act_police.c
424
} else if (TC_ACT_EXT_CMP(tc_act, TC_ACT_JUMP)) {
net/sched/act_police.c
426
*extval = tc_act & TC_ACT_EXT_VAL_MASK;
net/sched/act_police.c
427
} else if (tc_act == TC_ACT_UNSPEC) {