1. A switch, comprising: a plurality of ports; link management circuitry configured to operate at least two ports of the plurality of ports of the switch to form a link aggregation, wherein the link aggregation operates as a single logical channel; forwarding circuitry configured to determine an egress port among the ports participating in the link aggregation for a packet of a data flow based on a calculation function associated with a distribution policy, wherein a first value obtained from computing the calculation function for the packet indicates the egress port; and link adaptation circuitry configured to: in response to detecting an imbalance of respective link utilizations among links of the link aggregation, modify the calculation function associated with the distribution policy, wherein a second value obtained from computing the modified calculation function for a packet of the data flow indicates a different port among the ports participating in the link aggregation.