From patchwork Tue Dec 15 00:43:34 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ira Weiny X-Patchwork-Id: 67431 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nBF0le1W020868 for ; Tue, 15 Dec 2009 00:47:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754065AbZLOArj (ORCPT ); Mon, 14 Dec 2009 19:47:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755616AbZLOArj (ORCPT ); Mon, 14 Dec 2009 19:47:39 -0500 Received: from nspiron-2.llnl.gov ([128.115.41.82]:57500 "EHLO nspiron-2.llnl.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750878AbZLOAri (ORCPT ); Mon, 14 Dec 2009 19:47:38 -0500 X-Attachments: None Received: from mail-2.llnl.gov ([128.115.41.181]) by nspiron-2.llnl.gov with ESMTP; 14 Dec 2009 16:46:59 -0800 Received: from jeepcj7.llnl.gov (jeepcj7.llnl.gov [134.9.93.67]) by mail-2.llnl.gov (8.13.1/8.12.3/LLNL evision: 1.7 $) with SMTP id nBF0klTP018099; Mon, 14 Dec 2009 16:46:47 -0800 Date: Mon, 14 Dec 2009 16:43:34 -0800 From: Ira Weiny To: Sasha Khapyorsky , Hal Rosenstock Cc: "linux-rdma@vger.kernel.org" Subject: SRP issues with OpenSM 3.3.3 Message-Id: <20091214164334.064102f0.weiny2@llnl.gov> X-Mailer: Sylpheed 2.6.0 (GTK+ 2.10.4; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/opensm/opensm/osm_sa_path_record.c b/opensm/opensm/osm_sa_path_record.c index be0cd71..32c889f 100644 --- a/opensm/opensm/osm_sa_path_record.c +++ b/opensm/opensm/osm_sa_path_record.c @@ -800,7 +800,7 @@ static void pr_rcv_build_pr(IN osm_sa_t * sa, IN const osm_port_t * p_src_port, /* Only set HopLimit if going through a router */ if (is_nonzero_gid) - p_pr->hop_flow_raw |= cl_hton32(IB_HOPLIMIT_MAX); + p_pr->hop_flow_raw |= IB_HOPLIMIT_MAX; p_pr->pkey = p_parms->pkey; ib_path_rec_set_sl(p_pr, p_parms->sl);