[openib-general] [PATCH] ib_verbs.h ib_send_wr imm_data endianness
Michael S. Tsirkin
mst at mellanox.co.il
Wed Jun 22 07:12:38 PDT 2005
Mark imm_data as big endian in ib_send_wr, same as we do in ib_wc.
Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>
Index: infiniband/include/ib_verbs.h
===================================================================
--- infiniband/include/ib_verbs.h (revision 2670)
+++ infiniband/include/ib_verbs.h (working copy)
@@ -556,7 +556,7 @@ struct ib_send_wr {
int num_sge;
enum ib_wr_opcode opcode;
int send_flags;
- u32 imm_data;
+ __be32 imm_data;
union {
struct {
u64 remote_addr;
--
MST
More information about the general
mailing list