Lines Matching full:bandwidth

22  * Minimum bandwidth (in Mb/s) that is needed in the single transmitter/receiver
23 * direction. This is 40G - 10% guard band bandwidth.
28 * Threshold bandwidth (in Mb/s) that is used to switch the links to
55 * @groups: Bandwidth groups used in this domain.
100 tb_port_dbg(in, "attached to bandwidth group %d\n", group->index); in tb_bandwidth_group_attach_port()
149 tb_port_warn(in, "no available bandwidth groups\n"); in tb_attach_bandwidth_group()
180 tb_port_dbg(in, "detached from bandwidth group %d\n", group->index); in tb_detach_bandwidth_group()
625 * tb_consumed_usb3_pcie_bandwidth() - Consumed USB3/PCIe bandwidth over a single link
629 * @port: USB4 port the consumed bandwidth is calculated
630 * @consumed_up: Consumed upsream bandwidth (Mb/s)
631 * @consumed_down: Consumed downstream bandwidth (Mb/s)
633 * Calculates consumed USB3 and PCIe bandwidth at @port between path
673 * tb_consumed_dp_bandwidth() - Consumed DP bandwidth over a single link
677 * @port: USB4 port the consumed bandwidth is calculated
678 * @consumed_up: Consumed upsream bandwidth (Mb/s)
679 * @consumed_down: Consumed downstream bandwidth (Mb/s)
681 * Calculates consumed DP bandwidth at @port between path from @src_port
700 * their consumed bandwidth from the available. in tb_consumed_dp_bandwidth()
717 * re-calculating estimated bandwidth. in tb_consumed_dp_bandwidth()
750 * tb_maximum_bandwidth() - Maximum bandwidth over a single link
754 * @port: USB4 port the total bandwidth is calculated
755 * @max_up: Maximum upstream bandwidth (Mb/s)
756 * @max_down: Maximum downstream bandwidth (Mb/s)
757 * @include_asym: Include bandwidth if the link is switched from
760 * Returns maximum possible bandwidth in @max_up and @max_down over a
795 * this bandwidth as available (even though it in tb_maximum_bandwidth()
828 * this bandwidth as available (even though it in tb_maximum_bandwidth()
848 tb_port_dbg(port, "link maximum bandwidth %d/%d Mb/s\n", *max_up, *max_down); in tb_maximum_bandwidth()
853 * tb_available_bandwidth() - Available bandwidth for tunneling
857 * @available_up: Available bandwidth upstream (Mb/s)
858 * @available_down: Available bandwidth downstream (Mb/s)
859 * @include_asym: Include bandwidth if the link is switched from
862 * Calculates maximum available bandwidth for protocol tunneling between
864 * link bandwidth across all links reduced by currently consumed
865 * bandwidth on that link.
867 * If @include_asym is true then includes also bandwidth that can be
878 /* Maximum possible bandwidth asymmetric Gen 4 link is 120 Gb/s */ in tb_available_bandwidth()
881 /* Find the minimum available bandwidth over all links */ in tb_available_bandwidth()
942 tb_tunnel_dbg(tunnel, "reclaiming unused bandwidth\n"); in tb_reclaim_usb3_bandwidth()
945 * Calculate available bandwidth for the first hop USB3 tunnel. in tb_reclaim_usb3_bandwidth()
946 * That determines the whole USB3 bandwidth for this branch. in tb_reclaim_usb3_bandwidth()
951 tb_tunnel_warn(tunnel, "failed to calculate available bandwidth\n"); in tb_reclaim_usb3_bandwidth()
955 tb_tunnel_dbg(tunnel, "available bandwidth %d/%d Mb/s\n", available_up, in tb_reclaim_usb3_bandwidth()
1001 /* Make all unused bandwidth available for the new tunnel */ in tb_tunnel_usb3()
1012 tb_port_dbg(up, "available bandwidth for new USB3 tunnel %d/%d Mb/s\n", in tb_tunnel_usb3()
1074 * @requested_up: Additional bandwidth (Mb/s) required upstream
1075 * @requested_down: Additional bandwidth (Mb/s) required downstream
1079 * in the opposite direction, if the bandwidth requirements
1184 * @requested_up: New lower bandwidth request upstream (Mb/s)
1185 * @requested_down: New lower bandwidth request downstream (Mb/s)
1189 * transition the link to symmetric if the currently consumed bandwidth
1301 * above into symmetric if bandwidth allows. in tb_configure_link()
1491 * If bandwidth on a link is < asym_threshold in tb_deactivate_and_free_tunnel()
1509 * bandwidth. in tb_deactivate_and_free_tunnel()
1616 tb_dbg(tb, "re-calculating bandwidth estimation for group %u\n", in tb_recalc_estimated_bandwidth_for_group()
1634 * Since USB3 bandwidth is shared by all DP in tb_recalc_estimated_bandwidth_for_group()
1637 * can release USB3 bandwidth just once and not in tb_recalc_estimated_bandwidth_for_group()
1645 "failed to release unused bandwidth\n"); in tb_recalc_estimated_bandwidth_for_group()
1655 "failed to re-calculate estimated bandwidth\n"); in tb_recalc_estimated_bandwidth_for_group()
1660 * Estimated bandwidth includes: in tb_recalc_estimated_bandwidth_for_group()
1661 * - already allocated bandwidth for the DP tunnel in tb_recalc_estimated_bandwidth_for_group()
1662 * - available bandwidth along the path in tb_recalc_estimated_bandwidth_for_group()
1663 * - bandwidth allocated for USB 3.x but not used. in tb_recalc_estimated_bandwidth_for_group()
1666 "re-calculated estimated bandwidth %u/%u Mb/s\n", in tb_recalc_estimated_bandwidth_for_group()
1676 "failed to update estimated bandwidth\n"); in tb_recalc_estimated_bandwidth_for_group()
1683 tb_dbg(tb, "bandwidth estimation for group %u done\n", group->index); in tb_recalc_estimated_bandwidth_for_group()
1691 tb_dbg(tb, "bandwidth consumption changed, re-calculating estimated bandwidth\n"); in tb_recalc_estimated_bandwidth()
1700 tb_dbg(tb, "bandwidth re-calculation done\n"); in tb_recalc_estimated_bandwidth()
1785 * topology). For these try to share the DP bandwidth between in tb_tunnel_one_dp()
1815 /* Make all unused USB3 bandwidth available for the new DP tunnel */ in tb_tunnel_one_dp()
1818 tb_warn(tb, "failed to release unused bandwidth\n"); in tb_tunnel_one_dp()
1827 tb_dbg(tb, "available bandwidth for new DP tunnel %u/%u Mb/s\n", in tb_tunnel_one_dp()
1852 /* Update the domain with the new bandwidth estimation */ in tb_tunnel_one_dp()
2256 tb_tunnel_dbg(tunnel, "bandwidth allocated currently %d/%d Mb/s\n", in tb_alloc_dp_bandwidth()
2298 tb_tunnel_dbg(tunnel, "corrected bandwidth request %d/%d Mb/s\n", in tb_alloc_dp_bandwidth()
2304 "bandwidth request too high (%d/%d Mb/s > %d/%d Mb/s)\n", in tb_alloc_dp_bandwidth()
2313 * If bandwidth on a link is < asym_threshold transition in tb_alloc_dp_bandwidth()
2318 * If requested bandwidth is less or equal than what is in tb_alloc_dp_bandwidth()
2322 * group the released bandwidth will be taken into in tb_alloc_dp_bandwidth()
2330 * More bandwidth is requested. Release all the potential in tb_alloc_dp_bandwidth()
2331 * bandwidth from USB3 first. in tb_alloc_dp_bandwidth()
2340 * that we use with the normal bandwidth allocation). in tb_alloc_dp_bandwidth()
2347 tb_tunnel_dbg(tunnel, "bandwidth available for allocation %d/%d Mb/s\n", in tb_alloc_dp_bandwidth()
2353 * If bandwidth on a link is >= asym_threshold in tb_alloc_dp_bandwidth()
2366 tb_tunnel_warn(tunnel, "failed to allocate bandwidth\n"); in tb_alloc_dp_bandwidth()
2396 tb_warn(tb, "bandwidth request from non-existent router %llx\n", in tb_handle_dp_bandwidth_request()
2403 tb_port_warn(in, "bandwidth request to non-DP IN adapter\n"); in tb_handle_dp_bandwidth_request()
2407 tb_port_dbg(in, "handling bandwidth allocation request\n"); in tb_handle_dp_bandwidth_request()
2410 tb_port_warn(in, "bandwidth allocation mode not enabled\n"); in tb_handle_dp_bandwidth_request()
2417 tb_port_dbg(in, "no bandwidth request active\n"); in tb_handle_dp_bandwidth_request()
2419 tb_port_warn(in, "failed to read requested bandwidth\n"); in tb_handle_dp_bandwidth_request()
2424 tb_port_dbg(in, "requested bandwidth %d Mb/s\n", requested_bw); in tb_handle_dp_bandwidth_request()
2446 "not enough bandwidth available\n"); in tb_handle_dp_bandwidth_request()
2449 "failed to change bandwidth allocation\n"); in tb_handle_dp_bandwidth_request()
2452 "bandwidth allocation changed to %d/%d Mb/s\n", in tb_handle_dp_bandwidth_request()