[ofa-general] [PATCH] ibutils/ibis: gsi.pkey to gsi.pkey_ix rename

Sasha Khapyorsky sashak at voltaire.com
Sun Jan 20 12:12:10 PST 2008


This follows gsi.pkey to gsi.pkey_ix renaming in OpenSM mad address
structure.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 ibis/src/ibbbm.c |    2 +-
 ibis/src/ibcr.c  |    2 +-
 ibis/src/ibpm.c  |    2 +-
 ibis/src/ibvs.c  |    4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ibis/src/ibbbm.c b/ibis/src/ibbbm.c
index e60c861..5457c72 100644
--- a/ibis/src/ibbbm.c
+++ b/ibis/src/ibbbm.c
@@ -226,7 +226,7 @@ __ibbbm_vpd(
   mad_addr.static_rate = 0;
   mad_addr.addr_type.gsi.remote_qp=cl_hton32(1);
   mad_addr.addr_type.gsi.remote_qkey = cl_hton32(0x80010000);
-  mad_addr.addr_type.gsi.pkey = 0;
+  mad_addr.addr_type.gsi.pkey_ix = 0;
   mad_addr.addr_type.gsi.service_level = 0;
   mad_addr.addr_type.gsi.global_route = FALSE;
 
diff --git a/ibis/src/ibcr.c b/ibis/src/ibcr.c
index 18405ad..3d8654e 100644
--- a/ibis/src/ibcr.c
+++ b/ibis/src/ibcr.c
@@ -185,7 +185,7 @@ __ibcr_prep_cr_mad(
   mad_addr.static_rate = 0;
   mad_addr.addr_type.gsi.remote_qp=cl_hton32(1);
   mad_addr.addr_type.gsi.remote_qkey = cl_hton32(0x80010000);
-  mad_addr.addr_type.gsi.pkey = 0;
+  mad_addr.addr_type.gsi.pkey_ix = 0;
   mad_addr.addr_type.gsi.service_level = 0;
   mad_addr.addr_type.gsi.global_route = FALSE;
 
diff --git a/ibis/src/ibpm.c b/ibis/src/ibpm.c
index fce144e..0680deb 100644
--- a/ibis/src/ibpm.c
+++ b/ibis/src/ibpm.c
@@ -176,7 +176,7 @@ __ibpm_prep_port_counter_mad(
   mad_addr.static_rate = 0;
   mad_addr.addr_type.gsi.remote_qp=cl_hton32(1);
   mad_addr.addr_type.gsi.remote_qkey = cl_hton32(0x80010000);
-  mad_addr.addr_type.gsi.pkey = 0;
+  mad_addr.addr_type.gsi.pkey_ix = 0;
   mad_addr.addr_type.gsi.service_level = 0;
   mad_addr.addr_type.gsi.global_route = FALSE;
 
diff --git a/ibis/src/ibvs.c b/ibis/src/ibvs.c
index e581d0f..2857278 100644
--- a/ibis/src/ibvs.c
+++ b/ibis/src/ibvs.c
@@ -242,7 +242,7 @@ __ibvs_init_mad_addr(
   p_mad_addr->static_rate = 0;
   p_mad_addr->addr_type.gsi.remote_qp=cl_hton32(1);
   p_mad_addr->addr_type.gsi.remote_qkey = cl_hton32(0x80010000);
-  p_mad_addr->addr_type.gsi.pkey = 0;
+  p_mad_addr->addr_type.gsi.pkey_ix = 0;
   p_mad_addr->addr_type.gsi.service_level = 0;
   p_mad_addr->addr_type.gsi.global_route = FALSE;
 }
@@ -1360,7 +1360,7 @@ ibvs_plft_map_get(
   mad_addr.static_rate = 0;
   mad_addr.addr_type.gsi.remote_qp=cl_hton32(0);
   mad_addr.addr_type.gsi.remote_qkey = 0;
-  mad_addr.addr_type.gsi.pkey = 0;
+  mad_addr.addr_type.gsi.pkey_ix = 0;
   mad_addr.addr_type.gsi.service_level = 0;
   mad_addr.addr_type.gsi.global_route = FALSE;
 
-- 
1.5.4.rc2.38.gd6da3




More information about the general mailing list