From patchwork Wed Sep 5 17:02:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 1410051 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 E86BFDF28C for ; Wed, 5 Sep 2012 17:02:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753875Ab2IERC3 (ORCPT ); Wed, 5 Sep 2012 13:02:29 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:55274 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752075Ab2IERC2 (ORCPT ); Wed, 5 Sep 2012 13:02:28 -0400 Received: by bkwj10 with SMTP id j10so378196bkw.19 for ; Wed, 05 Sep 2012 10:02:27 -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=dcmsWD606EIcdEQIMRjqyex1utxMZYLT2ya+1kKLhA4=; b=YYedpFWXFFtjd92X9UimCduaOhy4PBrxHek9DLvG7BPpxpLH49CTlCw88RWWr1ixh1 3P8ldloLyxRClATpMg07AaZkuW5oGsF4dTFKPFLwk6+z2U+/q6KqlplJzM845/dFTQpy xZTzPfGXg4K47G9jNEimf3NthtkxSe+VO32IN92jIG2Ck6kPrY/pqKKgyXsnFXEyIW00 02WOh7DyfSCWSlCNxcpsf83a8PAYhF8mOHxutUKdYTUacgoIDmHu8hC8Dw5JRAB4XPj5 bDeIMX6149Is+wxc7zQcDf96hzt/Z/V7Aa7vho0RyTkmVit+t7r3UHAjGxFdQLM26cpM lXoA== Received: by 10.205.118.138 with SMTP id fq10mr10093201bkc.58.1346864546648; Wed, 05 Sep 2012 10:02:26 -0700 (PDT) Received: from [169.254.173.157] (c-71-192-10-85.hsd1.ma.comcast.net. [71.192.10.85]) by mx.google.com with ESMTPS id t23sm1722189bks.4.2012.09.05.10.02.24 (version=SSLv3 cipher=OTHER); Wed, 05 Sep 2012 10:02:25 -0700 (PDT) Message-ID: <5047859F.6020402@dev.mellanox.co.il> Date: Wed, 05 Sep 2012 13:02:23 -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)" Subject: [PATCH] osmtest/osmt_multicast.c: Fix 02BF error X-Gm-Message-State: ALoCoQlEaP+xA3q9P0ZpRrjjonS/yOVQO5B867bLJAJ8gFWoKuF97oFJFurqRcMHxqIOBWQT1Hcf Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org when running osmtest -f m -M 2 Reported-by: Daniel Klein Sep 04 20:27:28 920578 [D2499700] 0x02 -> osmt_run_mcast_flow: Checking partial JoinState delete request - removing NonMember (o15.0.1.14)... Sep 04 20:27:28 920863 [D2499700] 0x02 -> osmt_run_mcast_flow: Validating Join State removal of Non Member bit (o15.0.1.14)... Sep 04 20:27:28 921510 [D2499700] 0x02 -> osmt_run_mcast_flow: Validating Join State update remove (o15.0.1.14)... Sep 04 20:27:28 921518 [D2499700] 0x01 -> osmt_run_mcast_flow: ERR 02BF: Validating JoinState update failed. Expected 0x25 got: 0x20 Sep 04 20:27:28 921527 [D2499700] 0x01 -> osmtest_run: ERR 0152: Multicast Flow failed: (IB_ERROR) OSMTEST: TEST "Multicast" FAIL 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/osmtest/osmt_multicast.c b/osmtest/osmt_multicast.c index b861ad4..052ab1a 100644 --- a/osmtest/osmt_multicast.c +++ b/osmtest/osmt_multicast.c @@ -2096,7 +2096,7 @@ ib_api_status_t osmt_run_mcast_flow(IN osmtest_t * const p_osmt) OSM_LOG(&p_osmt->log, OSM_LOG_INFO, "Validating Join State update remove (o15.0.1.14)...\n"); - if (p_mc_res->scope_state != 0x25) { /* scope is MSB - now only 0x0 so port is removed from MCG */ + if (p_mc_res->scope_state != 0x20) { /* scope is MSB - now only 0x0 so port is removed from MCG */ OSM_LOG(&p_osmt->log, OSM_LOG_ERROR, "ERR 02BF: " "Validating JoinState update failed. Expected 0x25 got: 0x%02X\n", p_mc_res->scope_state);