Cathy Zhou wrote:
> I made the changes to the code and below is the API detail. Please take a 
> look, and if there is no issues, please update the document accordingly. 
> Note that the PSARC materials need to be ready today.
> 
> - A datalink_mediareq_t type is added. The dladm_walk_datalink_id() function 
> will take a datalink_mediareq_t argument, in order to indicate that it walks 
> either "ANY" media types, or "GLDv3" media types or a specific media type.
> 
> - Other functions like dladm_create_datalink_id(), dladm_create_conf(), 
> dladm_name2info() or dladm_datalink_id2info() will also take an additional 
> argument. It is either a "uint32_t" or a "uint32_t *" argument, which 
> carries the media type as either input or output.
> 
> If you are interested in the details, please see the webrev in 
> /net/aquila.prc/export/home/cathy/clearview/webrev_media_type. Take a look 
> at the datalink_mediareq_t definition in mac.h, and the API changes in 
> libdllink.h.
> 
> If you have a better name for the macro DATALINK_MEDIAREQ_GLDV3, that would 
> be better. The macro refers to all media types that are unified to GLDv3 
> (which therefore has the vanity naming support, for example).
> 

I updated the document to match what you did.  You can find the most 
recent copy at:

http://www.opensolaris.org/os/project/clearview/uv/link_id_management.pdf

Reply via email to