Searched refs:gact (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/net/sched/ |
A D | act_gate.c | 25 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() 384 gact = to_gate(*a); in tcf_gate_init() 393 p = &gact->param; in tcf_gate_init() 455 gate_setup_timer(gact, gact->param.tcfg_basetime, in tcf_gate_init() 456 gact->tk_offset, gact->param.tcfg_clockid, in tcf_gate_init() 467 p = &gact->param; in tcf_gate_cleanup() [all …]
|
A D | act_gact.c | 30 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.3-rc2/include/net/tc_act/ |
A D | tc_gact.h | 23 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.3-rc2/tools/testing/selftests/tc-testing/creating-testcases/ |
A D | AddingTestCases.txt | 42 under test is testing. Example: filter, actions, u32, gact, etc. 56 For example: if the command under test creates a gact action, 57 verifyCmd should be "$TC actions show action gact" 99 "$TC actions flush action gact",
|
/linux-6.3-rc2/drivers/net/ethernet/stmicro/stmmac/ |
A D | stmmac_selftests.c | 1089 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()
|
Completed in 10 milliseconds