From patchwork Wed May 7 18:08:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 4131061 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BBB84BFF02 for ; Wed, 7 May 2014 18:08:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E511320212 for ; Wed, 7 May 2014 18:08:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7456A201FB for ; Wed, 7 May 2014 18:08:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752368AbaEGSIz (ORCPT ); Wed, 7 May 2014 14:08:55 -0400 Received: from mail-we0-f171.google.com ([74.125.82.171]:34294 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752365AbaEGSIx (ORCPT ); Wed, 7 May 2014 14:08:53 -0400 Received: by mail-we0-f171.google.com with SMTP id w62so1398855wes.16 for ; Wed, 07 May 2014 11:08:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type:content-transfer-encoding; bh=boCRFD8EomZXYk8YktgirTx58DxbNom68SjhNpUKnEQ=; b=ZtxnZyCwiR3i/FlpNfkZqlQS48lXAf4e9E/ZRUSixCvF7izaJBmnLLwJawChkAp/l2 GoU6c0IAwAF5f1qk6ztPlXpVNIzKNTtdxI4W/EUz1NFOU1dRF6BtUgd9RjL5kxMU/uOx R/zLXDAkkL5+wIDJar6WWtZhEQDw0ToHkgdxZVh59PCIVCu3Q58gjCoZqLDkJnvaPAVA fmAzPtotJBfUqSD76d0EDaOYwdZ54W8DCd2FYF5yU7ywz1ADY3MAkLW7EK5Pxbk3PM0J m2Hig1p5uTL2gjXx84S9i/zx7NKN+mktGGcWDjzrH++s/+TYYiWiW1ndpK+6tUOsaBk0 C8qw== X-Gm-Message-State: ALoCoQknb0i5etnx1dhGyvFtCqhc50HX+HEXqWwE8WTVpufcRbsLve1UD0CZZtoH0ahk7tBTG8ym X-Received: by 10.194.88.74 with SMTP id be10mr3168779wjb.71.1399486131905; Wed, 07 May 2014 11:08:51 -0700 (PDT) Received: from [10.70.1.63] (bzq-218-90-50.red.bezeqint.net. [81.218.90.50]) by mx.google.com with ESMTPSA id mw4sm33083761wib.12.2014.05.07.11.08.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 07 May 2014 11:08:51 -0700 (PDT) Message-ID: <536A76B1.6060707@dev.mellanox.co.il> Date: Wed, 07 May 2014 14:08:49 -0400 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: "linux-rdma (linux-rdma@vger.kernel.org)" CC: Ira Weiny , Florent Parent , "Susan Coulter (skc@lanl.gov)" Subject: [PATCH opensm] osm_subnet.c: Enhance opensm conf file documentation for PerfMgr options Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Reviewed-by: Ira Weiny Signed-off-by: Hal Rosenstock --- p_opts->perfmgr_max_outstanding_queries, p_opts->perfmgr_ignore_cas ? "TRUE" : "FALSE", p_opts->perfmgr_rm_nodes ? "TRUE" : "FALSE", -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/opensm/osm_subnet.c b/opensm/osm_subnet.c index f30d852..8ee62d9 100644 --- a/opensm/osm_subnet.c +++ b/opensm/osm_subnet.c @@ -2628,28 +2628,35 @@ int osm_subn_output_conf(FILE *out, IN osm_subn_opt_t * p_opts) fprintf(out, "#\n# Performance Manager Options\n#\n" "# perfmgr enable\n" + "# PerfMgr is enabled if TRUE and disabled if FALSE (default FALSE)\n" "perfmgr %s\n\n" - "# perfmgr redirection enable\n" + "# redirection enable\n" + "# Redirection supported if TRUE and not supported if FALSE (default TRUE)\n" "perfmgr_redir %s\n\n" - "# sweep time in seconds\n" + "# sweep time in seconds (default %u seconds)\n" "perfmgr_sweep_time_s %u\n\n" - "# Max outstanding queries\n" + "# Max outstanding queries (default %u)\n" "perfmgr_max_outstanding_queries %u\n" + "# Ignore CAs on sweep (default FALSE)\n" "perfmgr_ignore_cas %s\n\n" - "# Remove missing nodes from DB\n" + "# Remove missing nodes from DB (default TRUE)\n" "perfmgr_rm_nodes %s\n\n" - "# Log error counters to opensm.log\n" + "# Log error counters to opensm.log (default TRUE)\n" "perfmgr_log_errors %s\n\n" "# Query PerfMgrGet(ClassPortInfo) for extended capabilities\n" + "# Extended capabilities include 64 bit extended counters and transmit wait support\n" + "# default FALSE\n" "perfmgr_query_cpi %s\n\n" - "# Log xmit_wait errors\n" + "# Log xmit_wait errors (default FALSE)\n" "perfmgr_xmit_wait_log %s\n\n" "# If logging xmit_wait's; set threshold (default %u)\n" "perfmgr_xmit_wait_threshold %u\n\n" , p_opts->perfmgr ? "TRUE" : "FALSE", p_opts->perfmgr_redir ? "TRUE" : "FALSE", + OSM_PERFMGR_DEFAULT_SWEEP_TIME_S, p_opts->perfmgr_sweep_time_s, + OSM_PERFMGR_DEFAULT_MAX_OUTSTANDING_QUERIES,