I think I know the answer to this, but for confirmation purposes.... I'm trying to update the OpenSolaris dladm command to report useful values on device speeds and status. Currently it (correctly) reports:
# dladm show-dev LINK STATE SPEED DUPLEX osa0 unknown 0Mb unknown osa1 unknown 0Mb unknown osa2 unknown 0Mb unknown since it has absolutely no idea how to retrieve the speed and duplex settings from the "hardware". I think duplex should always be "full" for a VNIC. The question is what to put in as a "speed" value for a virtual interface, as the Solaris TCP stack does some moderately smart things with packet scheduling if it knows this information. Based on packet delivery being a memory-to-memory operation with diag2a8, I'm leaning toward just inserting an estimated value of 10Gbit/sec per interface for the speed estimate reported by dladm. Does anyone else have a better value or an idea of how to measure this value?
