Home
last modified time | relevance | path

Searched refs:priority_queues (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/net/socket/net_mgmt/src/
Dmain.c51 } priority_queues[2]; member
100 for (i = 0; i < ARRAY_SIZE(ctx->priority_queues); ++i) { in eth_fake_recalc_qav_delta_bandwidth()
102 ctx->priority_queues[i].delta_bandwidth = 0; in eth_fake_recalc_qav_delta_bandwidth()
104 ctx->priority_queues[i].delta_bandwidth = in eth_fake_recalc_qav_delta_bandwidth()
105 (ctx->priority_queues[i].idle_slope * 100); in eth_fake_recalc_qav_delta_bandwidth()
107 ctx->priority_queues[i].delta_bandwidth /= bw; in eth_fake_recalc_qav_delta_bandwidth()
119 for (i = 0; i < ARRAY_SIZE(ctx->priority_queues); ++i) { in eth_fake_recalc_qav_idle_slopes()
120 ctx->priority_queues[i].idle_slope = in eth_fake_recalc_qav_idle_slopes()
121 (ctx->priority_queues[i].delta_bandwidth * bw) / 100; in eth_fake_recalc_qav_idle_slopes()
130 int priority_queues_num = ARRAY_SIZE(ctx->priority_queues); in eth_fake_set_config()
[all …]
/Zephyr-latest/tests/net/ethernet_mgmt/src/
Dmain.c47 } priority_queues[2]; member
131 for (i = 0; i < ARRAY_SIZE(ctx->priority_queues); ++i) { in eth_fake_recalc_qav_delta_bandwidth()
133 ctx->priority_queues[i].delta_bandwidth = 0; in eth_fake_recalc_qav_delta_bandwidth()
135 ctx->priority_queues[i].delta_bandwidth = in eth_fake_recalc_qav_delta_bandwidth()
136 (ctx->priority_queues[i].idle_slope * 100); in eth_fake_recalc_qav_delta_bandwidth()
138 ctx->priority_queues[i].delta_bandwidth /= bw; in eth_fake_recalc_qav_delta_bandwidth()
150 for (i = 0; i < ARRAY_SIZE(ctx->priority_queues); ++i) { in eth_fake_recalc_qav_idle_slopes()
151 ctx->priority_queues[i].idle_slope = in eth_fake_recalc_qav_idle_slopes()
152 (ctx->priority_queues[i].delta_bandwidth * bw) / 100; in eth_fake_recalc_qav_idle_slopes()
161 int priority_queues_num = ARRAY_SIZE(ctx->priority_queues); in eth_fake_set_config()
[all …]
/Zephyr-latest/kernel/
DCMakeLists.txt83 priority_queues.c