Searched refs:priority_queues (Results 1 – 3 of 3) sorted by relevance
51 } priority_queues[2]; member100 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 …]
47 } priority_queues[2]; member131 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 …]
83 priority_queues.c