Home
last modified time | relevance | path

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

/linux-6.15/net/sched/
H A Dact_gate.c25 switch (gact->tk_offset) { in gate_get_time()
42 now = gate_get_time(gact); in gate_get_start_time()
78 next = gact->next_entry; in gate_timer_func()
85 gact->current_close_time = ktime_add_ns(gact->current_close_time, in gate_timer_func()
140 if (gact->current_entry_octets > gact->current_max_octets) { in tcf_gate_act()
378 gact = to_gate(*a); in tcf_gate_init()
387 p = &gact->param; in tcf_gate_init()
449 gate_setup_timer(gact, gact->param.tcfg_basetime, in tcf_gate_init()
450 gact->tk_offset, gact->param.tcfg_clockid, in tcf_gate_init()
461 p = &gact->param; in tcf_gate_cleanup()
[all …]
H A Dact_gact.c30 return gact->tcf_action; in gact_net_rand()
31 return gact->tcfg_paction; in gact_net_rand()
39 if (pack % gact->tcfg_pval) in gact_determ()
40 return gact->tcf_action; in gact_determ()
41 return gact->tcfg_paction; in gact_determ()
63 struct tcf_gact *gact; in tcf_gact_init() local
123 gact = to_gact(*a); in tcf_gact_init()
125 spin_lock_bh(&gact->tcf_lock); in tcf_gact_init()
191 .index = gact->tcf_index, in tcf_gact_dump()
202 if (gact->tcfg_ptype) { in tcf_gact_dump()
[all …]
/linux-6.15/include/net/tc_act/
H A Dtc_gact.h23 struct tcf_gact *gact; in __is_tcf_gact_act() local
28 gact = to_gact(a); in __is_tcf_gact_act()
29 if ((!is_ext && gact->tcf_action == act) || in __is_tcf_gact_act()
30 (is_ext && TC_ACT_EXT_CMP(gact->tcf_action, act))) in __is_tcf_gact_act()
/linux-6.15/tools/testing/selftests/tc-testing/creating-testcases/
H A DAddingTestCases.txt44 under test is testing. Example: filter, actions, u32, gact, etc.
58 For example: if the command under test creates a gact action,
59 verifyCmd should be "$TC actions show action gact"
101 "$TC actions flush action gact",
/linux-6.15/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_selftests.c1089 struct tcf_gact *gact; in stmmac_test_rxp() local
1114 gact = kcalloc(nk, sizeof(*gact), GFP_KERNEL); in stmmac_test_rxp()
1115 if (!gact) { in stmmac_test_rxp()
1130 actions[i] = (struct tc_action *)&gact[i]; in stmmac_test_rxp()
1131 gact->tcf_action = TC_ACT_SHOT; in stmmac_test_rxp()
1154 kfree(gact); in stmmac_test_rxp()
/linux-6.15/Documentation/netlink/specs/
H A Dtc.yaml1208 name: tc-gact-p
3544 name: tc-act-gact-attrs
3557 struct: tc-gact-p
3798 value: gact
3799 attribute-set: tc-act-gact-attrs