.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "AD_AGG_SELECTION_LOGIC" "" "06 October 2005" "" "" .SH NAME ad_agg_selection_logic \- select an aggregation group for a team .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp void ad_agg_selection_logic (struct aggregator * \fIaggregator\fB); \fR .SH "ARGUMENTS" .TP \fB\fIaggregator\fB\fR the aggregator we're looking at .SH "DESCRIPTION" .PP It is assumed that only one aggregator may be selected for a team. The logic of this function is to select (at first time) the aggregator with the most ports attached to it, and to reselect the active aggregator only if the previous aggregator has no more ports related to it. .SH "FIXME" .PP this function MUST be called with the first agg in the bond, or \fB__get_active_agg\fR won't work correctly. This function should be better called with the bond itself, and retrieve the first agg from it.