From patchwork Thu Oct 29 23:02:46 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Khapyorsky X-Patchwork-Id: 56544 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9TN0jQV029029 for ; Thu, 29 Oct 2009 23:00:45 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756785AbZJ2XAj (ORCPT ); Thu, 29 Oct 2009 19:00:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756808AbZJ2XAj (ORCPT ); Thu, 29 Oct 2009 19:00:39 -0400 Received: from ey-out-2122.google.com ([74.125.78.26]:19269 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756785AbZJ2XAi (ORCPT ); Thu, 29 Oct 2009 19:00:38 -0400 Received: by ey-out-2122.google.com with SMTP id d26so1348815eyd.5 for ; Thu, 29 Oct 2009 16:00:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:date:from:to :cc:subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=H7pZsE+E+itIYKSstGoP7dkGYHmt4LDRoRnBUg4eAp0=; b=OUEUAWiASKp3M0zXi/vSBde/qcuqJaqVysS9mqqcyrsE0GgzzC1wvmNnFfUakqIZlK SCFQLXy534w1+5bkXqpi4ZQYXW4L5ClFAsA1PirmRQbpN1FUMdjhnOx7Bs8qjYMBUvrw URgqBP/SUkClSutzxYMzRsgTJptoeP8fz7jUk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=xFJ0naS8nXYUlmIcX0JfHvABc5g8mMeiiighFVdDPaNFa3MHxeuA+njwYa/y5YDGpg ikerKQ+jX3I2CI3IJOdyzfAzGopzQ++8ugoFng8XDu43VW/lvExU4nZUGJHw9hiKavL+ U0AJlGWOv8dvqJESkbfYUUqTWIsLQUqvmHt9I= Received: by 10.211.128.5 with SMTP id f5mr803558ebn.85.1256857242589; Thu, 29 Oct 2009 16:00:42 -0700 (PDT) Received: from me.localdomain (85.64.35.106.dynamic.barak-online.net [85.64.35.106]) by mx.google.com with ESMTPS id 7sm7143408eyb.16.2009.10.29.16.00.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 29 Oct 2009 16:00:41 -0700 (PDT) Received: by me.localdomain (Postfix, from userid 1000) id CD52711E89; Fri, 30 Oct 2009 01:02:46 +0200 (IST) Date: Fri, 30 Oct 2009 01:02:46 +0200 From: Sasha Khapyorsky To: Ira Weiny Cc: Hal Rosenstock , linux-rdma@vger.kernel.org Subject: Re: [PATCH] opensm/mcast_tbl: set max_mlid_ho as actually configured mlid Message-ID: <20091029230246.GN20136@me> References: <20091023234856.GA1482@comcast.net> <20091029191732.GB20136@me> <20091029191945.GE20136@me> <20091029154431.72fc32bd.weiny2@llnl.gov> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20091029154431.72fc32bd.weiny2@llnl.gov> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/opensm/opensm/osm_mcast_tbl.c b/opensm/opensm/osm_mcast_tbl.c index eee9290..0a45904 100644 --- a/opensm/opensm/osm_mcast_tbl.c +++ b/opensm/opensm/osm_mcast_tbl.c @@ -145,7 +145,7 @@ int osm_mcast_tbl_realloc(IN osm_mcast_tbl_t * p_tbl, IN uintn_t mlid_offset) p_tbl->p_mask_tbl = p_mask_tbl; p_tbl->mft_depth = mft_depth; done: - p_tbl->max_mlid_ho = mlid_offset + IB_LID_MCAST_START_HO - 1; + p_tbl->max_mlid_ho = mlid_offset + IB_LID_MCAST_START_HO; return 0; }