From: stansmith Date: Thu, 24 Dec 2009 00:40:46 +0000 (+0000) Subject: [OPENSM] Temp fix for broken SRP operation; revert back to working code. Real fix... X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=57772488918798d7eba78d9ddc4ff75b166a5016;p=~shefty%2Frdma-win.git [OPENSM] Temp fix for broken SRP operation; revert back to working code. Real fix touches numerous files, will be delayed until after 2.2 release. git-svn-id: svn://openib.tc.cornell.edu/gen1@2645 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- diff --git a/branches/WOF2-2/ulp/opensm/user/opensm/osm_sa_path_record.c b/branches/WOF2-2/ulp/opensm/user/opensm/osm_sa_path_record.c index 1b81bc8c..85848690 100644 --- a/branches/WOF2-2/ulp/opensm/user/opensm/osm_sa_path_record.c +++ b/branches/WOF2-2/ulp/opensm/user/opensm/osm_sa_path_record.c @@ -792,7 +792,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); diff --git a/trunk/ulp/opensm/user/opensm/osm_sa_path_record.c b/trunk/ulp/opensm/user/opensm/osm_sa_path_record.c index 1b81bc8c..85848690 100644 --- a/trunk/ulp/opensm/user/opensm/osm_sa_path_record.c +++ b/trunk/ulp/opensm/user/opensm/osm_sa_path_record.c @@ -792,7 +792,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);