[rds-devel] [PATCH 2/2] net/rds: fix usage of immediate data for post_send()

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Tue May 20 08:30:55 PDT 2008


Or Gerlitz wrote:
> 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;
> 
> 
> _______________________________________________
> rds-devel mailing list
> rds-devel at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/rds-devel
> 

Aplpied to OFED-1.4 kernel git tree:
git://git.openfabrics.org/ofed_1_4/linux-2.6.git ofed_kernel

Regards,
Vladimir



More information about the rds-devel mailing list