]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
[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@82 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

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

index 456054c35f1482ebdfb7a9129efc05a8a63fdaa6..78f078548eba448e33b90b00c9125ceb7c5b08b3 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 e31965392b343cf75642f38bb0aae23a7928b207..2dfbbc9b72f6f1a94e78899a902bb81d03c0e898 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