Searched refs:usedSpeed (Results 1 – 2 of 2) sorted by relevance
44 if (port->usedSpeed < 10L) { /* < 10Mb/s */ in computeAutoPCost()46 } else if (port->usedSpeed <= 10L) { /* 10 Mb/s */ in computeAutoPCost()48 } else if (port->usedSpeed <= 100L) { /* 100 Mb/s */ in computeAutoPCost()50 } else if (port->usedSpeed <= 1000L) { /* 1 Gb/s */ in computeAutoPCost()52 } else if (port->usedSpeed <= 10000L) { /* 10 Gb/s */ in computeAutoPCost()54 } else if (port->usedSpeed <= 100000L) { /* 100 Gb/s */ in computeAutoPCost()56 } else if (port->usedSpeed <= 1000000L) { /* 1 GTb/s */ in computeAutoPCost()58 } else if (port->usedSpeed <= 10000000L) { /* 10 Tb/s */ in computeAutoPCost()65 stp_trace ("usedSpeed=%lu lret=%ld", port->usedSpeed, lret); in computeAutoPCost()93 port->usedSpeed = port->operSpeed; in STP_pcost_enter_state()[all …]
138 unsigned long usedSpeed; member