From patchwork Sun Aug 26 12:19:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Netes X-Patchwork-Id: 1374861 X-Patchwork-Delegate: alexne@voltaire.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id A8F17DFABE for ; Sun, 26 Aug 2012 12:19:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750896Ab2HZMTQ (ORCPT ); Sun, 26 Aug 2012 08:19:16 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:34354 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750858Ab2HZMTP (ORCPT ); Sun, 26 Aug 2012 08:19:15 -0400 Received: by ialo24 with SMTP id o24so6338441ial.19 for ; Sun, 26 Aug 2012 05:19:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent:x-gm-message-state; bh=U3hrVsZGgvrXcThEjx8N0Gbps16GeVLjceIr2+I6nac=; b=PsnQx0VhWCZPUpErCdpoBjUu5H3rFQ38cr9mdOzg7Kkw7i8yN8i9Qed/Ftpy0RiAj4 I7LRIBa4b4ku6D+DsSmOSkIDI2Uvl9CV/nvOfG7j48emlGhxUB7O43hd8bJPrsRBpZMg xTh5PB9kJWFCJyT1qQdatC1M12hYMeKbZcPMkZERsgJTKKuf3tERCsQZk82v5GxKBKoK s+/gh0Y4tJS2qimFbrytxRa54m/kwyR2q9d00jlsuZmUso9LO3mhrwD8ZBuqSBBnjlrQ VAf3r7+gyuPJk+msDS6mswaRPRyL7rmPbIhRF+Dl8HBYn7cP4UVPE9Z3UhHp8TmA/7mE ijmg== Received: by 10.50.237.38 with SMTP id uz6mr7267307igc.2.1345983554874; Sun, 26 Aug 2012 05:19:14 -0700 (PDT) Received: from localhost ([193.47.165.251]) by mx.google.com with ESMTPS id nh1sm3708117igc.11.2012.08.26.05.19.12 (version=SSLv3 cipher=OTHER); Sun, 26 Aug 2012 05:19:14 -0700 (PDT) Date: Sun, 26 Aug 2012 15:19:10 +0300 From: Alex Netes To: linux-rdma@vger.kernel.org Subject: [PATCH TRIVIAL] opensm: fix default cc_max_outstanding_mads assignment Message-ID: <20120826121910.GA26159@calypso> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQlsFmYwxjyOTaO9yAPgHDX1dCZQ8MnRwFnx6kEKP/CC0/90tJmQfZRx2kc1Pti5j/sPPkcg Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Should be: OSM_CC_DEFAULT_MAX_OUTSTANDING_QUERIES instead of OSM_PERFMGR_DEFAULT_MAX_OUTSTANDING_QUERIES Signed-off-by: Alex Netes --- opensm/osm_subnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensm/osm_subnet.c b/opensm/osm_subnet.c index 195adb8..b9a491b 100644 --- a/opensm/osm_subnet.c +++ b/opensm/osm_subnet.c @@ -1520,7 +1520,7 @@ void osm_subn_set_default_opt(IN osm_subn_opt_t * p_opt) p_opt->exit_on_fatal = TRUE; p_opt->congestion_control = FALSE; p_opt->cc_key = OSM_DEFAULT_CC_KEY; - p_opt->cc_max_outstanding_mads = OSM_PERFMGR_DEFAULT_MAX_OUTSTANDING_QUERIES; + p_opt->cc_max_outstanding_mads = OSM_CC_DEFAULT_MAX_OUTSTANDING_QUERIES; p_opt->enable_quirks = FALSE; p_opt->no_clients_rereg = FALSE; p_opt->prefix_routes_file = strdup(OSM_DEFAULT_PREFIX_ROUTES_FILE);