[rds-devel] [PATCH 2/2] net/rds: fix usage of immediate data for post_send()
Or Gerlitz
ogerlitz at voltaire.com
Wed May 14 07:18:35 PDT 2008
add missing indirection on the immediate data for the call to ib_post_send()
to comply with the mainline kernel
Signed-off-by: Or Gerlitz <ogerlitz at voltaire.com>
Index: linux-2.6.26-rc2/net/rds/ib_send.c
===================================================================
--- linux-2.6.26-rc2.orig/net/rds/ib_send.c
+++ linux-2.6.26-rc2/net/rds/ib_send.c
@@ -98,7 +98,7 @@ void rds_ib_send_init_ring(struct rds_ib
send->s_wr.num_sge = 1;
send->s_wr.opcode = IB_WR_SEND;
send->s_wr.send_flags = 0;
- send->s_wr.imm_data = 0;
+ send->s_wr.ex.imm_data = 0;
send->s_sge[0].lkey = ic->i_mr->lkey;
More information about the rds-devel
mailing list