Brussels framework enhancements to get/set defaults. ---------------------------------------------------- 1. Summary ---------- This case proposes enhancements to the driver administration framework introduced by PSARC 2007/429 to get default values for properties from the driver from the user-space libdladm library. Release binding: minor 2. Description -------------- The default values of some properties may not be known a priori to dladm. For example, the default MTU of ethernet links is 1500 bytes, whereas that for InfiniBand is 2044, and the value can vary for tunnel links. In these cases, dladm will have to send a system call to the driver to obtain the default value of the property. This feature is achieved by sending a DLDIOCGETPROP ioctl to the driver with the pr_flags set to DLD_DEFAULT. The driver may then recognize the DLD_DEFAULT flag and return the default value for the property. When the default value for the property is not known a priori, the "reset-linkprop" command will first send a DLDIOCGETPROP ioctl, with the DLD_DEFAULT flag set, to the driver to obtain the default value, and then do a DLDIOCSETPROP ioctl to set the value of the property to the obtained default. Interface Classification Comments ----------------------------------------------------------------------------- DLD_DEFAULT Consolidation Private