Re: [PATCH] opensm/mcast_tbl: set max_mlid_ho as actually configured mlid

Sasha Khapyorsky
2009-11-02T16:43:43Z

On 12:18 Mon 02 Nov , Hal Rosenstock wrote:
> >
> > Yet another (likely even more efficient) approach would be memset()ing
> > MFTs in realloc function above requested mlid_offset, then we will be
> > able to remove osm_mcast_tbl_clear_mlid() completely.
>
> Isn't mlid clearing done on a per mlid basis rather than based on
> above some mlid (offset) ? Also and perhaps more significantly, an
> mlid can be removed in the middle of a range of mlids. So I don't see
> how clear_mlid can be removed.

Yes, correct, we cannot remove clear_mlid completely.

Sasha