On Mon, Nov 2, 2009 at 12:43 PM, Sasha Khapyorsky <sas...@voltaire.com> wrote:
> 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.

clear_mlid could be implemented with memset rather than loop. Is that
worthwhile ?

-- Hal

>
> Sasha
>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to