/* Get the aggregator selection mode. Can be STABLE, BANDWIDTH or COUNT.  */
static u32 __get_agg_selection_mode(struct port *port)
/* Get the aggregator selection mode. Can be STABLE, BANDWIDTH or COUNT.  */
static u32 __get_agg_selection_mode(struct port *port)
{
	struct bonding *bond = __get_bond_by_port(port);
	if (bond == NULL) {
		return BOND_AD_STABLE;
	}
	return BOND_AD_INFO(bond).agg_select_mode;
}