|
Post by malbolge on Oct 8, 2024 16:06:04 GMT
Port defines two width-related properties. They are 1) "Width": The number of lanes, phys, or other physical transport links that this port contains. 2) "ActiveWidth": The number of active lanes for this interface. For ethernet (similarly in many other technologies) Lanes can refer to either the internal lanes in red, connecting the PHY to the NIC chip (or equivalent, if integrated), or the green PHY to connector lanes. 1) The specification doesn't say which lanes those properties refer to. I'm assuming the outermost (green?) 2) What is the relationship between Width and ActiveWidth? I'm presuming Width is the maximum lanes this Port configuration allows for, and ActiveWidth the number of lanes currently in use? When would those differ? When the port is running at a lower speed than maximum? 3) If a port doesn't have link, does ActiveWidth show 0? The number of lanes that would be used if link were up? Vendor-defined? 4) What's the use case for both Width and ActiveWidth? Am I correct in saying their maximal utility is when used in tandem as a sort of current/max?
|
|
|
Post by billscherer on Oct 17, 2024 21:39:52 GMT
I believe that Width is the capability, ActiveWidth is the number that are currently in use. There could be a difference in the case where autonegotiation ConfiguredNetworkLinks specifies a reduced number, or when the number of lanes supported by the link partner is smaller than the number supported by the port.
If there is no link currently established, showing ActiveWidth as 0 seems reasonable as would omitting the property entirely.
|
|
|
Post by mraineri on Nov 8, 2024 20:39:20 GMT
To answer the first question:
> The specification doesn't say which lanes those properties refer to. I'm assuming the outermost (green?)
Yes, you're correct in that it's the outermost green lanes.
Bill's answers to the other questions all look good to me.
|
|