2009/235 dladm Possible Values List

Girish Moodalbail Girish.Moodalbail at Sun.COM
Mon Apr 13 11:18:32 PDT 2009


>>
>> Following drivers would be changed to use the above structure:
>>      bge, e1000g, nxge, nge, hxge, vnic & aggr.
>> All the changes would be in the respective <drv>_m_getprop() function.
>>   
> There are other drivers which use the Brussels interfaces (e.g. afe & 
> mxfe).  What happens to those drivers that don't support this "possible" 
> interface?  What about the bnx driver?

For such drivers, which do not support "possible" values for the MTU 
property, the <drv>_m_getprop() would return 'ENOTSUP' and we would 
display the current value of the MTU (as cached by MAC layer) in the output.

bash-3.2$ dladm show-linkprop -p mtu mxfe0
LINK         PROPERTY        VALUE          DEFAULT        POSSIBLE
mxfe0      mtu             1500           1500           1500

The meaning of 'possible' value, from dladm(1m) man page, is 'list of 
values the property can have' and in this case it will be 1500.

~Girish



More information about the opensolaris-arc mailing list