[ofa-general] [PATCH] libmlx4: make BF available for RDMA_READ work requests

Jack Morgenstein jackm at dev.mellanox.co.il
Thu Jun 21 02:01:58 PDT 2007


Make blueflame available for RDMA_READs (performance improvement).

Signed-off-by: Jack Morgenstein <jackm at dev.mellanox.co.il>

Index: a/src/qp.c
===================================================================
--- a/src/qp.c	2007-06-20 16:31:36.000000000 +0300
+++ b/src/qp.c	2007-06-21 09:17:14.000000000 +0300
@@ -204,9 +204,11 @@
 
 				break;
 
+			case IBV_WR_RDMA_READ:
+				inl = 1;
+				/* fall through */
 			case IBV_WR_RDMA_WRITE:
 			case IBV_WR_RDMA_WRITE_WITH_IMM:
-			case IBV_WR_RDMA_READ:
 				((struct mlx4_wqe_raddr_seg *) wqe)->raddr =
 					htonll(wr->wr.rdma.remote_addr);
 				((struct mlx4_wqe_raddr_seg *) wqe)->rkey =



More information about the general mailing list