From 6d9c43f821edebadc11261790ff06be430ec39ff Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 28 Aug 2016 16:27:43 +0000 Subject: [PATCH] ib_srpt: Reduce default value of srpt_sq_size Reduce the default value of the srpt_sq_size kernel module parameter from 4096 to 256. This avoids on recent kernels (e.g. 4.1.0) QP creation causes swiotlb to complain about a failed allocation. Reported-by: Curtis Maloney git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6981 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srpt/src/ib_srpt.h b/srpt/src/ib_srpt.h index 4dea3fbfb..70c2c1c4c 100644 --- a/srpt/src/ib_srpt.h +++ b/srpt/src/ib_srpt.h @@ -119,7 +119,7 @@ enum { SRP_LOGIN_RSP_MULTICHAN_MAINTAINED = 0x2, MIN_SRPT_SQ_SIZE = 16, - DEF_SRPT_SQ_SIZE = 4096, + DEF_SRPT_SQ_SIZE = 256, SRPT_RQ_SIZE = 128, MIN_SRPT_SRQ_SIZE = 4, DEFAULT_SRPT_SRQ_SIZE = 4095,