[ofa-general] [PATCH] RDMA/nes: Initialize limit_maxrdreqsz to 0

Chien Tung chien.tin.tung at intel.com
Mon Nov 3 12:05:24 PST 2008


From: Chien Tung <chien.tin.tung at intel.com>

RDMA/nes: Initialize limit_maxrdreqsz to 0

Initialize limit_maxrdreqsz to 0 so the workaround is off by default.

Signed-off-by: Chien Tung <chien.tin.tung at intel.com>
--
Left out initialization from previous patch (commit 
633693660045b3e46a63ed618eb38a54339fbcc0).  Don't know how easy
it would be to fix the previous patch.

 drivers/infiniband/hw/nes/nes.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c
index aa1dc41..b60572e 100644
--- a/drivers/infiniband/hw/nes/nes.c
+++ b/drivers/infiniband/hw/nes/nes.c
@@ -95,7 +95,7 @@ unsigned int wqm_quanta = 0x10000;
 module_param(wqm_quanta, int, 0644);
 MODULE_PARM_DESC(wqm_quanta, "WQM quanta");
 
-static unsigned int limit_maxrdreqsz;
+static unsigned int limit_maxrdreqsz = 0;
 module_param(limit_maxrdreqsz, bool, 0644);
 MODULE_PARM_DESC(limit_maxrdreqsz, "Limit max read request size to 256 Bytes");
 



More information about the general mailing list