From patchwork Tue Jul 10 17:09:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 1178561 X-Patchwork-Delegate: alexne@voltaire.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 95F9A40B37 for ; Tue, 10 Jul 2012 17:09:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754198Ab2GJRJR (ORCPT ); Tue, 10 Jul 2012 13:09:17 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:65372 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754083Ab2GJRJQ (ORCPT ); Tue, 10 Jul 2012 13:09:16 -0400 Received: by bkwj10 with SMTP id j10so261230bkw.19 for ; Tue, 10 Jul 2012 10:09:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=7S42nOo5VYN+jo2njXIf0Tha4PrQ6kT/g4dJU5Jll7Y=; b=TYtktXiXIE5UbLCqXfyiyI75YRt7rOwsaRKH2VoGqtGQPaLfm31LCUCAMxg3IeFvHT a1sKUKbNbyyWFdGD7Vrqhr5qwuMw1q1T26ZUTWC7zzuriIVE77Zyx7gcZD4PPqPdYTiK KUp8HOnKCCjctph44yPKDgj5JfjA6wFDmp2UlFLFhvbb2QPPj8ykjERl9L45EoCxzSIF e5TVbXVaWsBijruaTabbhxDwGZL36iAe4zJrcmCXBuL1jdEXkMz8WOaV6P3TxK2KJ77F HHRmJBav6tZ/9vfC1TsUDQSMLnC4MsTEbWzfxtOZpqSWHDyd3JrGfaHD5kj4FnT43BbP kpeQ== Received: by 10.204.155.66 with SMTP id r2mr19646057bkw.131.1341940155220; Tue, 10 Jul 2012 10:09:15 -0700 (PDT) Received: from [192.168.1.102] (c-71-192-10-85.hsd1.ma.comcast.net. [71.192.10.85]) by mx.google.com with ESMTPS id gq2sm22643729bkc.13.2012.07.10.10.09.12 (version=SSLv3 cipher=OTHER); Tue, 10 Jul 2012 10:09:14 -0700 (PDT) Message-ID: <4FFC61B6.8010201@dev.mellanox.co.il> Date: Tue, 10 Jul 2012 13:09:10 -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: Alex Netes CC: "linux-rdma (linux-rdma@vger.kernel.org)" , Vladimir Koushnir Subject: [PATCH] opensm/osm_subnet.c: Indicate lmc and lmc_esp0 are not changeable "on the fly" X-Gm-Message-State: ALoCoQkpAdUf40D+UPLegoGzCGYL43fK0c60gdYjaSQ2or3SCXgp69fSTyF0Ju33Ai3MBrf1bNDt Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Hal Rosenstock --- -- 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 7fb5c8f..8e72b37 100644 --- a/opensm/osm_subnet.c +++ b/opensm/osm_subnet.c @@ -422,8 +422,8 @@ static const opt_rec_t opt_tbl[] = { { "transaction_retries", OPT_OFFSET(transaction_retries), opts_parse_uint32, NULL, 0 }, { "max_msg_fifo_timeout", OPT_OFFSET(max_msg_fifo_timeout), opts_parse_uint32, NULL, 1 }, { "sm_priority", OPT_OFFSET(sm_priority), opts_parse_uint8, opts_setup_sm_priority, 1 }, - { "lmc", OPT_OFFSET(lmc), opts_parse_uint8, NULL, 1 }, - { "lmc_esp0", OPT_OFFSET(lmc_esp0), opts_parse_boolean, NULL, 1 }, + { "lmc", OPT_OFFSET(lmc), opts_parse_uint8, NULL, 0 }, + { "lmc_esp0", OPT_OFFSET(lmc_esp0), opts_parse_boolean, NULL, 0 }, { "max_op_vls", OPT_OFFSET(max_op_vls), opts_parse_uint8, NULL, 1 }, { "force_link_speed", OPT_OFFSET(force_link_speed), opts_parse_uint8, NULL, 1 }, { "force_link_speed_ext", OPT_OFFSET(force_link_speed_ext), opts_parse_uint8, NULL, 1 },