From patchwork Wed Sep 6 11:56:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 9940495 X-Patchwork-Delegate: ira.weiny@intel.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7219C6035F for ; Wed, 6 Sep 2017 11:56:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 74F4028B9D for ; Wed, 6 Sep 2017 11:56:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 680BD28BA8; Wed, 6 Sep 2017 11:56:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D210528B9D for ; Wed, 6 Sep 2017 11:56:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752916AbdIFL4k (ORCPT ); Wed, 6 Sep 2017 07:56:40 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:38299 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752767AbdIFL4k (ORCPT ); Wed, 6 Sep 2017 07:56:40 -0400 Received: by mail-qk0-f193.google.com with SMTP id c69so3664621qke.5 for ; Wed, 06 Sep 2017 04:56:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dev-mellanox-co-il.20150623.gappssmtp.com; s=20150623; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=ZGCUWigA4JQ3nGH+OqNCAe4mVpZ9PRfNGQk1yUIBgVg=; b=q7LQSxJl6TzxorWwcPzueqjW0iTKe+k0rzODJRG7Af1TctH/qi0S/HHEjcEgwWk5nR ZZMXpIYrhjPmRWMu5vSp0qvvJwXc53mHlKGIFGO4gj060xxwyoWMjpm+vhpuDiOLQ8gb 39HFptd0uNHewk2wmwv1cPU7EBl4VcCGLeRdUk6DOKYrKVx2gRG9pzNlcK/z9VB7w15f x3KIVaah6pGBqJvTtJauKioUOsv5AVcUlBSAu5w0St5cj6MPFOACoLStObtG3L447+ot zVz7BZflqx84CnT7bni7NgOd1lsEaVu9DHI6E9fLFSufrS3O373EZU7ffPooAIA2kpuq F2TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=ZGCUWigA4JQ3nGH+OqNCAe4mVpZ9PRfNGQk1yUIBgVg=; b=R5YJ7HIC0Kv8y/xGeQy+RYXiGnZzOoPkB8o6NJUYlldso9Y7F8wRHsGEq+M60UM2tk 8M0tVNhKMMvbLqpCJrdG032wxwHmtTymf1ND96jeyyByQrJ5ijgncBO7/S8peEgCN1cz +FDuLXT0m5IIg++HeMKGu7bIOEAQ2S1nYwhno9aj+IOP0Ei9EZVUzSeenu9op9L5oT/l 64szz69E7gE8s2l+KibVI4JJhtkqk+xEdBgWwp+QpOloTABO/+tBg6cPNZhHJGYO0lJu F8ZWLkrEJ9D2XLdtj4DUiQIriuRiKxTMUhJfDAz4rsaWWGnGjKGvgrDJOx8EW2zH1JTo Qc/Q== X-Gm-Message-State: AHPjjUgGbwHFU3YZSTmV0Zod9TaMM9G9fetjjUO6HFM/ADGuKbW6wo0U lHQpHbci46PbmpTtX20= X-Google-Smtp-Source: ADKCNb5FEaeYUQI87irZSmJu90t1M0M6CUKW4Pv95UwAgiDA5B0CgfCMaPIjjZb/EzBy+qOY1K2+sA== X-Received: by 10.233.221.199 with SMTP id r190mr3088350qkf.174.1504698999492; Wed, 06 Sep 2017 04:56:39 -0700 (PDT) Received: from [192.168.1.183] (c-73-182-207-166.hsd1.ma.comcast.net. [73.182.207.166]) by smtp.googlemail.com with ESMTPSA id p7sm2100414qke.78.2017.09.06.04.56.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Sep 2017 04:56:38 -0700 (PDT) To: "Weiny, Ira" Cc: "linux-rdma@vger.kernel.org" From: Hal Rosenstock Subject: [PATCH infiniband-diags] libibmad/fields.c: PortInfo:McastPkeyTrapSuppressionEnabled is 2 bits in IBA 1.3 Message-ID: <6e774db9-11d3-8f2f-ab50-d3c661ce102d@dev.mellanox.co.il> Date: Wed, 6 Sep 2017 07:56:38 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Per MgtWG comment #4576 Signed-off-by: Hal Rosenstock --- libibmad/src/fields.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libibmad/src/fields.c b/libibmad/src/fields.c index e0333f8..bf48689 100644 --- a/libibmad/src/fields.c +++ b/libibmad/src/fields.c @@ -162,7 +162,7 @@ static const ib_field_t ib_mad_f[] = { {BITSOFFS(384, 16), "QkeyViolations", mad_dump_uint}, {BITSOFFS(400, 8), "GuidCap", mad_dump_uint}, {BITSOFFS(408, 1), "ClientReregister", mad_dump_uint}, - {BITSOFFS(409, 1), "McastPkeyTrapSuppressionEnabled", mad_dump_uint}, + {BITSOFFS(409, 2), "McastPkeyTrapSuppressionEnabled", mad_dump_uint}, {BITSOFFS(411, 5), "SubnetTimeout", mad_dump_uint}, {BITSOFFS(419, 5), "RespTimeVal", mad_dump_uint}, {BITSOFFS(424, 4), "LocalPhysErr", mad_dump_uint},