[openib-general] [PATCH] opensm: switch pointer field for osm_node_t structure

Hal Rosenstock halr at voltaire.com
Thu Jan 4 05:52:25 PST 2007


On Tue, 2007-01-02 at 17:35, Sasha Khapyorsky wrote:
> This introduces new field for osm_node_t structure. For switch nodes
> this field keeps pointer to corresponded osm_switch_t object, for non
> switch nodes it is initialized as NULL. This new field is useful for
> fast switch object access and for node type detection.
> 
> Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>

Thanks! Applied.

-- Hal





More information about the general mailing list