phylink_cap_from_speed_duplex
phylink_cap_from_speed_duplex(max_speed, DUPLEX_FULL))
phylink_cap_from_speed_duplex(max_speed, DUPLEX_HALF)) {