[IBAL] Add documentation for ib_grh_t, fix wr_type string array to
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 23 Sep 2005 05:15:55 +0000 (05:15 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 23 Sep 2005 05:15:55 +0000 (05:15 +0000)
account for WR_SEND starting at 1.

Signed-off-by: Yossi Leybovich (sleybo@mellanox.co.il)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@82 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/ib_statustext.c
inc/iba/ib_types.h

index 456054c..78f0785 100644 (file)
@@ -205,6 +205,7 @@ ib_get_wc_type_str(
 \r
 static const char* const __ib_wr_type_str[] =\r
 {\r
+       "WR_DUMMY",             /*place holder*/\r
        "WR_SEND",\r
        "WR_RDMA_WRITE",\r
        "WR_RDMA_READ",\r
index e319653..2dfbbc9 100644 (file)
@@ -4939,9 +4939,15 @@ typedef struct _ib_vl_arb_table_record
 #include <complib/cl_packoff.h>\r
 /************/\r
 \r
-/*\r
- *     Global route header information received with unreliable datagram messages\r
- */\r
+/****s* IBA Base: Types/ib_grh_t\r
+* NAME\r
+*      ib_grh_t\r
+*\r
+* DESCRIPTION\r
+*      Global route header information received with unreliable datagram messages\r
+*\r
+* SYNOPSIS\r
+*/\r
 #include <complib/cl_packon.h>\r
 typedef struct _ib_grh\r
 {\r
@@ -4954,6 +4960,7 @@ typedef struct _ib_grh
 \r
 }      PACK_SUFFIX ib_grh_t;\r
 #include <complib/cl_packoff.h>\r
+/************/\r
 \r
 /****f* IBA Base: Types/ib_grh_get_ver_class_flow\r
 * NAME\r