Home
last modified time | relevance | path

Searched refs:tb_credits (Results 1 – 2 of 2) sorted by relevance

/dpdk/lib/sched/
H A Drte_sched.c60 uint64_t tb_credits; member
151 uint64_t tb_credits; member
1334 s->tb_credits = profile->tb_size / 2; in rte_sched_subport_config()
1446 p->tb_credits = params->tb_size / 2; in rte_sched_pipe_config()
2311 subport->tb_credits += n_periods * sp->tb_credits_per_period; in grinder_credits_update()
2312 subport->tb_credits = RTE_MIN(subport->tb_credits, sp->tb_size); in grinder_credits_update()
2318 pipe->tb_credits = RTE_MIN(pipe->tb_credits, params->tb_size); in grinder_credits_update()
2357 uint64_t subport_tb_credits = subport->tb_credits; in grinder_credits_check()
2359 uint64_t pipe_tb_credits = pipe->tb_credits; in grinder_credits_check()
2385 subport->tb_credits -= pkt_len; in grinder_credits_check()
[all …]
/dpdk/doc/guides/prog_guide/
H A Dqos_framework.rst658 …| 4 | tb_size | Bytes | Bucket size, i.e. upper limit for the tb_credits. …
661 …| 5 | tb_credits | Bytes | Number of credits currently in the bucket. …
679 …| 1 | Initialization | *tb_credits = 0; or tb_credits = tb_size / 2;* …
706 …| | | setting *tb_credits* to a larger value. …
712 …| | | * tb_credits += n_periods * tb_credits_per_period; …
714 …| | | * tb_credits = min(tb_credits, tb_size); …
727 …| | | if (tb_credits >= pkt_credits){tb_credits -= pkt_credits;} …