[ofa-general] [PATCH] mlx4: increase max outstanding rdma reads per qp

Jack Morgenstein jackm at dev.mellanox.co.il
Tue Jul 17 03:11:43 PDT 2007


Change max outstanding rdma reads per QP from 4 to 16.
This enables an improvement in latency for rdma-read applications.

Pointed out by Dotan Barak and Sagi Rotem.
Signed-off-by: Jack Morgenstein <jackm at dev.mellanox.co.il>

Index: connectx_kernel/drivers/net/mlx4/main.c
===================================================================
--- connectx_kernel.orig/drivers/net/mlx4/main.c	2007-07-11 11:55:52.000000000 +0300
+++ connectx_kernel/drivers/net/mlx4/main.c	2007-07-11 11:59:54.000000000 +0300
@@ -78,7 +78,7 @@
 static struct mlx4_profile default_profile = {
 	.num_qp		= 1 << 16,
 	.num_srq	= 1 << 16,
-	.rdmarc_per_qp	= 4,
+	.rdmarc_per_qp	= 1 << 4,
 	.num_cq		= 1 << 16,
 	.num_mcg	= 1 << 13,
 	.num_mpt	= 1 << 17,



More information about the general mailing list