|
|
a82cef |
From 3e60cb34a3d1cf7ceec2d0ed2281a4544f7b15ea Mon Sep 17 00:00:00 2001
|
|
|
a82cef |
From: Potnuri Bharat Teja <bharat@chelsio.com>
|
|
|
a82cef |
Date: Wed, 9 Sep 2020 21:07:07 +0530
|
|
|
a82cef |
Subject: [PATCH] RDMA/iw_cxgb4: Disable delayed ack by default
|
|
|
a82cef |
Patch-mainline: v5.10-rc1
|
|
|
a82cef |
Git-commit: 8d539c6109f203bb237c7c1eb73d4665869bab1a
|
|
|
a82cef |
References: jsc#SLE-15118
|
|
|
a82cef |
|
|
|
a82cef |
Receive side delayed ack mode is needed only for certain area networks/
|
|
|
a82cef |
connections. Therefore disable it by default.
|
|
|
a82cef |
|
|
|
a82cef |
Link: https://lore.kernel.org/r/20200909153707.2795-1-bharat@chelsio.com
|
|
|
a82cef |
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
|
|
|
a82cef |
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
|
|
|
a82cef |
Acked-by: Denis Kirjanov <denis.kirjanov@suse.com>
|
|
|
a82cef |
---
|
|
|
a82cef |
drivers/infiniband/hw/cxgb4/cm.c | 4 ++--
|
|
|
a82cef |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
a82cef |
|
|
|
a82cef |
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
|
|
|
a82cef |
index 30e08bcc9afb..98efd688c499 100644
|
|
|
a82cef |
--- a/drivers/infiniband/hw/cxgb4/cm.c
|
|
|
a82cef |
+++ b/drivers/infiniband/hw/cxgb4/cm.c
|
|
|
a82cef |
@@ -77,9 +77,9 @@ static int enable_ecn;
|
|
|
a82cef |
module_param(enable_ecn, int, 0644);
|
|
|
a82cef |
MODULE_PARM_DESC(enable_ecn, "Enable ECN (default=0/disabled)");
|
|
|
a82cef |
|
|
|
a82cef |
-static int dack_mode = 1;
|
|
|
a82cef |
+static int dack_mode;
|
|
|
a82cef |
module_param(dack_mode, int, 0644);
|
|
|
a82cef |
-MODULE_PARM_DESC(dack_mode, "Delayed ack mode (default=1)");
|
|
|
a82cef |
+MODULE_PARM_DESC(dack_mode, "Delayed ack mode (default=0)");
|
|
|
a82cef |
|
|
|
a82cef |
uint c4iw_max_read_depth = 32;
|
|
|
a82cef |
module_param(c4iw_max_read_depth, int, 0644);
|
|
|
a82cef |
--
|
|
|
a82cef |
2.16.4
|
|
|
a82cef |
|