From: Steve Wise Date: Fri, 10 Sep 2010 16:15:41 +0000 (-0500) Subject: RDMA/cxgb4: Set the default TCP send window to 128KB X-Git-Tag: v2.6.37-rc1~95^2^4~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=98ae68b7ee6adb75ede42d84eae4032dbb122b81;p=profile%2Fivi%2Fkernel-x86-ivi.git RDMA/cxgb4: Set the default TCP send window to 128KB This helps with large IO throughput. Signed-off-by: Steve Wise Signed-off-by: Roland Dreier --- diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c index 9b5c3e3..0f68e2b 100644 --- a/drivers/infiniband/hw/cxgb4/cm.c +++ b/drivers/infiniband/hw/cxgb4/cm.c @@ -117,9 +117,9 @@ static int rcv_win = 256 * 1024; module_param(rcv_win, int, 0644); MODULE_PARM_DESC(rcv_win, "TCP receive window in bytes (default=256KB)"); -static int snd_win = 32 * 1024; +static int snd_win = 128 * 1024; module_param(snd_win, int, 0644); -MODULE_PARM_DESC(snd_win, "TCP send window in bytes (default=32KB)"); +MODULE_PARM_DESC(snd_win, "TCP send window in bytes (default=128KB)"); static struct workqueue_struct *workq;