From patchwork Fri Jul 11 14:03:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 4534251 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 80B55BEEAA for ; Fri, 11 Jul 2014 14:03:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 89E472017A for ; Fri, 11 Jul 2014 14:03:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E601220173 for ; Fri, 11 Jul 2014 14:03:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753624AbaGKODc (ORCPT ); Fri, 11 Jul 2014 10:03:32 -0400 Received: from mail-we0-f181.google.com ([74.125.82.181]:33288 "EHLO mail-we0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752193AbaGKODb (ORCPT ); Fri, 11 Jul 2014 10:03:31 -0400 Received: by mail-we0-f181.google.com with SMTP id q59so1129305wes.40 for ; Fri, 11 Jul 2014 07:03:28 -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=4sk3y9vO9slb2KPtqnKUfNZyuXpB8BifyQIrfgvxYyk=; b=ge6Xhv40GxwHCx6Axn6pHytlnB31bqTACzbAJkn6c5DRvhTNTVZrNq6MuF1dN8cv0n ig61pHS3+Zf4rCXrt2HmIpj4nSM99iYOQVE6IDbwILts+PxwgMO6fhzRePbmjDsY82ee wny1r+345BLf+e9RKRrxcpY9n2DJnMdGfXA24hOPP+83ji6hkcZDI2nS0IrBm6z6Okyk 5Et9AhZlbKUV6UvLfCJiOKE6J1MpaJ6wtAc8bt+yYC0wcPIqCm/TEwpfbeXMVqzEeykC VM2L2lrNMZfB/B+axR7T8QqCwzTMyyLbpE9d1tGYNB7SM+wf8BHQCEoFHpXVKZghPFKL yoJA== X-Gm-Message-State: ALoCoQlaaOJ5DDJwIgq6EFfY3H7Ws9QV1qoLBxRSvmGhh+zUyT0bfj2v9js6cUUg98Hxk0wMbtTo X-Received: by 10.180.211.71 with SMTP id na7mr5121759wic.55.1405087407303; Fri, 11 Jul 2014 07:03:27 -0700 (PDT) Received: from [192.168.1.102] (c-98-229-118-119.hsd1.ma.comcast.net. [98.229.118.119]) by mx.google.com with ESMTPSA id k19sm7764294wie.20.2014.07.11.07.03.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jul 2014 07:03:26 -0700 (PDT) Message-ID: <53BFEEA9.8020107@dev.mellanox.co.il> Date: Fri, 11 Jul 2014 10:03:21 -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 , "Susan Coulter (skc@lanl.gov)" Subject: [PATCH opensm] osm_subnet.c: Change default for perfmgr_query_cpi option 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 New default for PerfMgr query CPI is TRUE rather than FALSE. More admins need to use this and this was too often being missed during configuration so make admins turn this off rather than on (once enabling perfmgr itself). Signed-off-by: Hal Rosenstock Signed-off-by: Ira Weiny --- -- 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 1065408..26fe78c 100644 --- a/opensm/osm_subnet.c +++ b/opensm/osm_subnet.c @@ -1564,7 +1564,7 @@ void osm_subn_set_default_opt(IN osm_subn_opt_t * p_opt) p_opt->event_db_dump_file = NULL; /* use default */ p_opt->perfmgr_rm_nodes = TRUE; p_opt->perfmgr_log_errors = TRUE; - p_opt->perfmgr_query_cpi = FALSE; + p_opt->perfmgr_query_cpi = TRUE; p_opt->perfmgr_xmit_wait_log = FALSE; p_opt->perfmgr_xmit_wait_threshold = OSM_PERFMGR_DEFAULT_XMIT_WAIT_THRESHOLD; #endif /* ENABLE_OSM_PERF_MGR */ @@ -2645,7 +2645,7 @@ int osm_subn_output_conf(FILE *out, IN osm_subn_opt_t * p_opts) "perfmgr_log_errors %s\n\n" "# Query PerfMgt Get(ClassPortInfo) for extended capabilities\n" "# Extended capabilities include 64 bit extended counters\n" - "# and transmit wait support (default FALSE)\n" + "# and transmit wait support (default TRUE)\n" "perfmgr_query_cpi %s\n\n" "# Log xmit_wait errors (default FALSE)\n" "perfmgr_xmit_wait_log %s\n\n"