[openib-general] [PATCH] libibverbs: document immediate data ordering

Michael S. Tsirkin mst at mellanox.co.il
Thu Dec 1 02:02:52 PST 2005


verbs.h documents ordering for immediate data in completion,
but not in send work request.
 
Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>

Index: libibverbs/include/infiniband/verbs.h
===================================================================
--- libibverbs/include/infiniband/verbs.h	(revision 4031)
+++ libibverbs/include/infiniband/verbs.h	(working copy)
@@ -441,7 +441,7 @@ struct ibv_send_wr {
 	int			num_sge;
 	enum ibv_wr_opcode	opcode;
 	enum ibv_send_flags	send_flags;
-	uint32_t		imm_data;
+	uint32_t		imm_data;	/* in network byte order */
 	union {
 		struct {
 			uint64_t	remote_addr;

-- 
MST



More information about the general mailing list