On 8/18/25 11:23 AM, Hangbin Liu wrote:
quoted hunk ↗ jump to hunk
@@ -1707,6 +1719,9 @@ static struct aggregator *ad_agg_selection_test(struct aggregator *best,
* BOND_AD_COUNT: Select by count of ports. If count is equal,
* select by bandwidth.
*
+ * BOND_AD_PRIO: Select by total priority of ports. If priority
+ * is equal, select by count.
+ *
* BOND_AD_STABLE, BOND_AD_BANDWIDTH: Select by bandwidth.
*/
if (!best)
Minor nit: I think the comment would be more readable placing
BOND_AD_PRIO before BOND_AD_COUNT, so that each value documentation
references only the following one.
Thanks,
Paolo