]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging/rdma/hfi1: Increase SDMA descriptor queue size
authorIgnacio Hernandez <ignacio.hernandez@intel.com>
Mon, 26 Oct 2015 14:28:42 +0000 (10:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 08:43:11 +0000 (17:43 +0900)
A value of 2048 increased PSM performance while not impacting verbs
performance.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Ignacio Hernandez <ignacio.hernandez@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/sdma.c

index 64e63beacf1f03e24302f2c06256521dd6da3bf9..0b3cf83773f60e6d4d7214118e9d5d0d1505d375 100644 (file)
@@ -65,7 +65,7 @@
 #include "trace.h"
 
 /* must be a power of 2 >= 64 <= 32768 */
-#define SDMA_DESCQ_CNT 1024
+#define SDMA_DESCQ_CNT 2048
 #define SDMA_DESC_INTR 64
 #define INVALID_TAIL 0xffff