[ofa-general] [PATCH] libibverbs/man: clarify GRH bytes offset in wc

Or Gerlitz ogerlitz at voltaire.com
Sat Aug 4 22:23:03 PDT 2007


Hi Roland,

The man page of ibv_poll_cq says that if the IBV_WC_GRH bit is set in the
work completion flag then GRH is present. I was wrongly thinking that only if
the bit is set, the app data starts after 40 bytes offset, which is wrong.
This patch clarifies this.

Also, what about the inline related patch, have you applied it?

Or.

Clarify that even when IBV_WC_GRH bit is not set in the wc flags, the
actual data starts at offset 40 from the posted receive buffer start.

Signed-off-by: Or Gerlitz <ogerlitz at voltaire.com>

--- libibverbs.orig/man/ibv_poll_cq.3	2007-06-21 17:39:11.000000000 +0300
+++ libibverbs/man/ibv_poll_cq.3	2007-08-05 08:16:41.000000000 +0300
@@ -47,7 +47,7 @@ The attribute wc_flags describes the pro
 It is either 0 or the bitwise OR of one or more of the following flags:
 .PP
 .TP
-.B IBV_WC_GRH \fR      GRH is present
+.B IBV_WC_GRH \fR      GRH is present (note that even if not set, the data starts at offset 40 from the posted receive buffer start)
 .TP
 .B IBV_WC_WITH_IMM \fR Immediate data value is valid
 .PP



More information about the general mailing list