Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dact.c112 struct mlx5e_tc_act *tc_act; in mlx5e_tc_act_post_parse() local
119 tc_act = mlx5e_tc_act_get(act->id, ns_type); in mlx5e_tc_act_post_parse()
120 if (!tc_act || !tc_act->post_parse) in mlx5e_tc_act_post_parse()
123 err = tc_act->post_parse(parse_state, priv, attr); in mlx5e_tc_act_post_parse()
/linux-6.1.9/net/sched/
Dact_police.c404 static int tcf_police_act_to_flow_act(int tc_act, u32 *extval, in tcf_police_act_to_flow_act() argument
409 if (!TC_ACT_EXT_OPCODE(tc_act)) { in tcf_police_act_to_flow_act()
410 if (tc_act == TC_ACT_OK) in tcf_police_act_to_flow_act()
412 else if (tc_act == TC_ACT_SHOT) in tcf_police_act_to_flow_act()
414 else if (tc_act == TC_ACT_PIPE) in tcf_police_act_to_flow_act()
416 else if (tc_act == TC_ACT_RECLASSIFY) in tcf_police_act_to_flow_act()
420 } else if (TC_ACT_EXT_CMP(tc_act, TC_ACT_GOTO_CHAIN)) { in tcf_police_act_to_flow_act()
422 *extval = tc_act & TC_ACT_EXT_VAL_MASK; in tcf_police_act_to_flow_act()
423 } else if (TC_ACT_EXT_CMP(tc_act, TC_ACT_JUMP)) { in tcf_police_act_to_flow_act()
425 *extval = tc_act & TC_ACT_EXT_VAL_MASK; in tcf_police_act_to_flow_act()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c3840 struct mlx5e_tc_act *tc_act; in parse_tc_actions() local
3856 tc_act = mlx5e_tc_act_get(act->id, ns_type); in parse_tc_actions()
3857 if (!tc_act) { in parse_tc_actions()
3863 if (!tc_act->can_offload(parse_state, act, i, attr)) { in parse_tc_actions()
3868 err = tc_act->parse_action(parse_state, act, priv, attr); in parse_tc_actions()
3875 if (tc_act->is_multi_table_act && in parse_tc_actions()
3876 tc_act->is_multi_table_act(priv, act, attr) && in parse_tc_actions()
/linux-6.1.9/
DMAINTAINERS20061 F: include/net/tc_act/
20064 F: include/uapi/linux/tc_act/