]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
RDS: IB: set default frag size to 16K
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 1 Sep 2016 16:30:37 +0000 (09:30 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 13 Sep 2016 06:03:33 +0000 (23:03 -0700)
For systems which wants lower fragment setting because of
smaller memory footprints, module parameter 'rds_ib_max_frag'
can be used to set lower value like 4K or 8K.

Orabug: 24656820

Reviewed-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/ib_cm.c

index bcc5aa12ef6516b3174d2c582aadb30f0824335a..16ca391b2ba865cbb0985c93eabcf18c81f464bf 100644 (file)
@@ -42,7 +42,7 @@
 #include "ib.h"
 #include "tcp.h"
 
-static unsigned int rds_ib_max_frag = RDS_FRAG_SIZE;
+static unsigned int rds_ib_max_frag = RDS_MAX_FRAG_SIZE;
 static unsigned int ib_init_frag_size = RDS_FRAG_SIZE;
 
 module_param(rds_ib_max_frag, int, 0444);