RDMA/cxgb4: Set the default TCP send window to 128KB

This helps with large IO throughput.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
Steve Wise 2010-09-10 11:15:41 -05:00 коммит произвёл Roland Dreier
Родитель 2f5b48c3ad
Коммит 98ae68b7ee
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -117,9 +117,9 @@ static int rcv_win = 256 * 1024;
module_param(rcv_win, int, 0644); module_param(rcv_win, int, 0644);
MODULE_PARM_DESC(rcv_win, "TCP receive window in bytes (default=256KB)"); 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_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; static struct workqueue_struct *workq;