lib/arbitration.c
/**
 * @brief Return a string describing the arbitration mode
 * @param[out] info Information structure to return the type string for
 * @return Type string
 */
@brief Return a string describing the arbitration mode
@param[out] info Information structure to return the type string for
@return Type string
@brief Return a string describing the arbitration mode @param [ out ] info Information structure to return the type string for @return Type string
const char *switchtec_arbitration_mode(enum switchtec_arbitration_mode mode)
{
	switch (mode) {
	case SWITCHTEC_ARBITRATION_FRR: return "Fixed Round Robin (FRR)";
	case SWITCHTEC_ARBITRATION_WRR: return "Weighted Round Robin (WRR)";
	default: return "UNKNOWN";
	}
}
const char * switchtec_arbitration_mode ( enum switchtec_arbitration_mode mode ) { switch ( mode ) { case SWITCHTEC_ARBITRATION_FRR : return " " ; case SWITCHTEC_ARBITRATION_WRR : return " " ; default : return " " ; } }
@brief Return a string describing the arbitration mode
 @param[out] info Information structure to return the type string for
 @return Type string
@brief Return a string describing the arbitration mode @param [ out ] info Information structure to return the type string for @return Type string