[ofa-general] Re: [PATCHv2] opensm: Convert mgrp_mlid_tbl into array

Sasha Khapyorsky sashak at voltaire.com
Tue Jun 24 18:36:45 PDT 2008


On 16:28 Tue 24 Jun     , Hal Rosenstock wrote:
> opensm: Convert mgrp_mlid_tbl into array
> 
> Changes from v1:
> Remove wrapper structure for array of void pointers
> In osm_drop_mgr.c and osm_mcast_mgr.c, use mlid rather than walking array
> Eliminate unneeded initialization in osm_subnet.c:osm_subn_construct
> 
> Additional patches to follow:
> 1. Consolidate get mgrp by mlid code into osm_get_mgrp_by_mlid function
> 2. Eliminate no longer needed used_mlids_array in __get_new_mlid

Actually did both. Will post patches.

Also changes mgrp_mlid_tbl[] to just mgroups[] since most fields named
*_tbl are qmap tables.

> Signed-off-by: Hal Rosenstock <hal at xsigo.com>

Applied. Thanks.

Sasha



More information about the general mailing list