Searched refs:down_bw (Results 1 – 2 of 2) sorted by relevance
604 int link_speed, link_width, up_bw, down_bw; in tb_available_bandwidth() local618 down_bw = link_speed * 1 * 1000; in tb_available_bandwidth()621 down_bw = link_speed * 3 * 1000; in tb_available_bandwidth()624 down_bw = up_bw; in tb_available_bandwidth()637 down_bw = link_speed * 3 * 1000; in tb_available_bandwidth()640 down_bw = link_speed * 1 * 1000; in tb_available_bandwidth()643 down_bw = up_bw; in tb_available_bandwidth()649 down_bw -= down_bw / 10; in tb_available_bandwidth()652 down_bw); in tb_available_bandwidth()686 down_bw -= dp_consumed_down; in tb_available_bandwidth()[all …]
2318 int up_bw = 0, down_bw = 0; in tb_tunnel_consumed_bandwidth() local2326 ret = tunnel->consumed_bandwidth(tunnel, &up_bw, &down_bw); in tb_tunnel_consumed_bandwidth()2331 down_bw); in tb_tunnel_consumed_bandwidth()2338 *consumed_down = down_bw; in tb_tunnel_consumed_bandwidth()