From patchwork Mon Sep 13 12:09:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Eli Dorfman (Voltaire)" X-Patchwork-Id: 174362 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8DBmSlZ003069 for ; Mon, 13 Sep 2010 11:48:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754889Ab0IMLsV (ORCPT ); Mon, 13 Sep 2010 07:48:21 -0400 Received: from fwil.voltaire.com ([193.47.165.2]:30466 "EHLO exil.voltaire.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754881Ab0IMLsV (ORCPT ); Mon, 13 Sep 2010 07:48:21 -0400 Received: from [172.25.1.69] ([172.25.1.69]) by exil.voltaire.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 13 Sep 2010 13:48:16 +0200 Message-ID: <4C8E1470.8070106@gmail.com> Date: Mon, 13 Sep 2010 14:09:20 +0200 From: "Eli Dorfman (Voltaire)" User-Agent: Thunderbird 2.0.0.17 (X11/20080914) MIME-Version: 1.0 To: Sasha Khapyorsky CC: linux-rdma Subject: [PATCH] ibsim: support MFT for switches with up to 48 ports X-OriginalArrivalTime: 13 Sep 2010 11:48:16.0369 (UTC) FILETIME=[8D938E10:01CB5339] Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 13 Sep 2010 11:48:29 +0000 (UTC) diff --git a/ibsim/sim.h b/ibsim/sim.h index 5a8a92f..0de7fdc 100644 --- a/ibsim/sim.h +++ b/ibsim/sim.h @@ -45,8 +45,8 @@ #define MAXLINEARCAP (30*1024) #define MAXMCASTCAP 1024 #define LASTBLOCK32 (MAXMCASTCAP/32-1) -// NUMBEROFPORTMASK means that 32port switches could only be build -#define NUMBEROFPORTMASK 2 +// NUMBEROFPORTMASK means that 48port switches could only be build +#define NUMBEROFPORTMASK 3 #define LASTPORTMASK (NUMBEROFPORTMASK-1) // linkwidth == 4X - must be one width only 1,2 or 8 #define LINKWIDTH_1x 1