Subject: Brussels framework enhancements to get/set defaults [PSARC/2008/175 FastTrack timeout 03/11/2008] To: PSARC-ext@Sun.Com Cc: sowmini.varadhan@sun.com, brussels-dev@opensolaris.org Bcc: one-pager-list@sac.sfbay one-pager-log@sac.sfbay sac-bar@sac.sfbay I'm submitting this on behalf of Sowmini Varadhan. Timer set to 3/11/2008. Template Version: @(#)sac_nextcase 1.64 07/13/07 SMI This information is Copyright 2008 Sun Microsystems 1. Introduction 1.1. Project/Component Working Name: Brussels framework enhancements to get/set defaults 1.2. Name of Document Author/Supplier: Author: Sowmini Varadhan 1.3 Date of This Document: 05 March, 2008 4. Technical Description 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/set default values for properties from/to 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. Also, the "reset-linkprop" command will have to notify the driver that the value of the property must be reset to the default value for that driver. This feature is achieved by sending a DLDIOC{SET, GET}PROP 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 (in the case of a GETPROP), or reset the property to the default value (for SETPROP). Interface Classification Comments ----------------------------------------------------------------------------- DLD_DEFAULT Committed 6. Resources and Schedule 6.4. Steering Committee requested information 6.4.1. Consolidation C-team Name: ON 6.5. ARC review type: FastTrack 6.6. ARC Exposure: open