Searched refs:up_bw (Results 1 – 2 of 2) sorted by relevance
604 int link_speed, link_width, up_bw, down_bw; in tb_available_bandwidth() local617 up_bw = link_speed * 3 * 1000; in tb_available_bandwidth()620 up_bw = link_speed * 1 * 1000; in tb_available_bandwidth()623 up_bw = link_speed * port->sw->link_width * 1000; in tb_available_bandwidth()624 down_bw = up_bw; in tb_available_bandwidth()636 up_bw = link_speed * 1 * 1000; in tb_available_bandwidth()639 up_bw = link_speed * 3 * 1000; in tb_available_bandwidth()642 up_bw = link_speed * link_width * 1000; in tb_available_bandwidth()643 down_bw = up_bw; in tb_available_bandwidth()648 up_bw -= up_bw / 10; 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()2330 tb_tunnel_dbg(tunnel, "consumed bandwidth %d/%d Mb/s\n", up_bw, in tb_tunnel_consumed_bandwidth()2336 *consumed_up = up_bw; in tb_tunnel_consumed_bandwidth()