From 70484b87c1b08e33f3b9165954d2afba02c8c425 Mon Sep 17 00:00:00 2001 From: ftillier Date: Fri, 23 Sep 2005 05:15:55 +0000 Subject: [PATCH] [IBAL] Add documentation for ib_grh_t, fix wr_type string array to 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 | 1 + trunk/inc/iba/ib_types.h | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/trunk/core/al/ib_statustext.c b/trunk/core/al/ib_statustext.c index 456054c3..78f07854 100644 --- a/trunk/core/al/ib_statustext.c +++ b/trunk/core/al/ib_statustext.c @@ -205,6 +205,7 @@ ib_get_wc_type_str( static const char* const __ib_wr_type_str[] = { + "WR_DUMMY", /*place holder*/ "WR_SEND", "WR_RDMA_WRITE", "WR_RDMA_READ", diff --git a/trunk/inc/iba/ib_types.h b/trunk/inc/iba/ib_types.h index e3196539..2dfbbc9b 100644 --- a/trunk/inc/iba/ib_types.h +++ b/trunk/inc/iba/ib_types.h @@ -4939,9 +4939,15 @@ typedef struct _ib_vl_arb_table_record #include /************/ -/* - * Global route header information received with unreliable datagram messages - */ +/****s* IBA Base: Types/ib_grh_t +* NAME +* ib_grh_t +* +* DESCRIPTION +* Global route header information received with unreliable datagram messages +* +* SYNOPSIS +*/ #include typedef struct _ib_grh { @@ -4954,6 +4960,7 @@ typedef struct _ib_grh } PACK_SUFFIX ib_grh_t; #include +/************/ /****f* IBA Base: Types/ib_grh_get_ver_class_flow * NAME -- 2.41.0