From: Hal Rosenstock Subject: Re: [PATCH] opensm/mcast_tbl: set max_mlid_ho as actually configured mlid Date: Mon, 2 Nov 2009 12:44:51 -0400 Message-ID: References: <4AEAEA86.8080309@systemfabricworks.com> <20091030200620.GB5829@me> <20091030213125.GE5829@me> <20091102164343.GJ21323@me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20091102164343.GJ21323@me> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sasha Khapyorsky Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On Mon, Nov 2, 2009 at 12:43 PM, Sasha Khapyorsky = wrote: > On 12:18 Mon 02 Nov =C2=A0 =C2=A0 , 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 se= e >> 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" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html