linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-next] RDMA/iw_cxgb4: disable delayed ack by default
@ 2020-09-09 15:37 Potnuri Bharat Teja
  2020-09-18 15:45 ` Jason Gunthorpe
  0 siblings, 1 reply; 2+ messages in thread
From: Potnuri Bharat Teja @ 2020-09-09 15:37 UTC (permalink / raw)
  To: jgg, dledford; +Cc: linux-rdma, bharat

Receive side delayed ack mode is needed only for certain area networks/
connections. Therefore disable it by default.

Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
---
 drivers/infiniband/hw/cxgb4/cm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index 1f288c73ccfc..8769e7aa097f 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -77,9 +77,9 @@ static int enable_ecn;
 module_param(enable_ecn, int, 0644);
 MODULE_PARM_DESC(enable_ecn, "Enable ECN (default=0/disabled)");
 
-static int dack_mode = 1;
+static int dack_mode;
 module_param(dack_mode, int, 0644);
-MODULE_PARM_DESC(dack_mode, "Delayed ack mode (default=1)");
+MODULE_PARM_DESC(dack_mode, "Delayed ack mode (default=0)");
 
 uint c4iw_max_read_depth = 32;
 module_param(c4iw_max_read_depth, int, 0644);
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH for-next] RDMA/iw_cxgb4: disable delayed ack by default
  2020-09-09 15:37 [PATCH for-next] RDMA/iw_cxgb4: disable delayed ack by default Potnuri Bharat Teja
@ 2020-09-18 15:45 ` Jason Gunthorpe
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2020-09-18 15:45 UTC (permalink / raw)
  To: Potnuri Bharat Teja; +Cc: dledford, linux-rdma

On Wed, Sep 09, 2020 at 09:07:07PM +0530, Potnuri Bharat Teja wrote:
> Receive side delayed ack mode is needed only for certain area networks/
> connections. Therefore disable it by default.
> 
> Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
> ---
>  drivers/infiniband/hw/cxgb4/cm.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied to for-next

Thanks,
Jason

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-18 15:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 15:37 [PATCH for-next] RDMA/iw_cxgb4: disable delayed ack by default Potnuri Bharat Teja
2020-09-18 15:45 ` Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).