Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/
H A Dnetlink_dumper.c121 struct nlattr *tb[TCA_ACT_MAX_PRIO + 1]; in do_bpf_act_dump()
124 if (libbpf_nla_parse_nested(tb, TCA_ACT_MAX_PRIO, attr, NULL) < 0) in do_bpf_act_dump()
128 for (act = 0; act <= TCA_ACT_MAX_PRIO; act++) { in do_bpf_act_dump()
/linux/net/sched/
H A Dact_api.c252 struct tc_action *actions[TCA_ACT_MAX_PRIO] = { in tcf_action_offload_add_ex()
597 n_i >= TCA_ACT_MAX_PRIO) in tcf_dump_walker()
1122 /*TCA_ACT_MAX_PRIO is 32, there count up to 32 */
1128 u32 jmp_ttl = TCA_ACT_MAX_PRIO; /*matches actions per filter */ in tcf_action_exec()
1470 struct tc_action_ops *ops[TCA_ACT_MAX_PRIO] = {}; in tcf_action_init()
1471 struct nlattr *tb[TCA_ACT_MAX_PRIO + 2]; in tcf_action_init()
1477 err = nla_parse_nested_deprecated(tb, TCA_ACT_MAX_PRIO + 1, nla, NULL, in tcf_action_init()
1487 if (tb[TCA_ACT_MAX_PRIO + 1]) { in tcf_action_init()
1490 TCA_ACT_MAX_PRIO); in tcf_action_init()
1494 for (i = 1; i <= TCA_ACT_MAX_PRIO in tcf_action_init()
[all...]
H A Dcls_api.c3344 exts->actions = kcalloc(TCA_ACT_MAX_PRIO, sizeof(struct tc_action *), in tcf_exts_init_ex()
3391 int init_res[TCA_ACT_MAX_PRIO] = {}; in tcf_exts_validate_ex()
/linux/tools/include/uapi/linux/
H A Dpkt_cls.h24 #define TCA_ACT_MAX_PRIO 32 macro
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.h74 unsigned long tc_act_cookies[TCA_ACT_MAX_PRIO];
/linux/include/net/
H A Dpkt_cls.h277 for (i = 0; i < TCA_ACT_MAX_PRIO && ((a) = (exts)->actions[i]); i++)
284 for (i = 0; i < TCA_ACT_MAX_PRIO && ((a) = actions[i]); i++)