From: Leon Romanovsky <leon@kernel.org>
To: Potnuri Bharat Teja <bharat@chelsio.com>
Cc: "jgg@ziepe.ca" <jgg@ziepe.ca>,
"dledford@redhat.com" <dledford@redhat.com>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>
Subject: Re: [PATCH] RDMA/iw_cxgb4: disable delayed ack by default
Date: Fri, 11 Sep 2020 16:11:52 +0300 [thread overview]
Message-ID: <20200911131152.GM421756@unreal> (raw)
In-Reply-To: <CY4PR1201MB0232802345D9A7BC05F1B88DCE270@CY4PR1201MB0232.namprd12.prod.outlook.com>
On Thu, Sep 10, 2020 at 07:14:50PM +0000, Potnuri Bharat Teja wrote:
> >> Subject: [PATCH] RDMA/iw_cxgb4: disable delayed ack by default
> >>
> >> 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)");
> >
> >Are you sure that this doesn't break user scripts?
> Yes, I am sure. This does not interfere with user/kernel RDMA functionalities.
How is it possible?
Before this change user that did "modprobe iw_cxgb4" had delayed mode
enabled, after this he will need to issue "modprobe iw_cxgb4 dack_mode=1"
https://github.com/linux-rdma/rdma-core/blob/master/kernel-boot/rdma-hw-modules.rules#L12
Thanks
>
> Thanks,
> Bharat.
> >
> >Thanks
> >
> >>
> >> uint c4iw_max_read_depth = 32;
> >> module_param(c4iw_max_read_depth, int, 0644);
> >> --
> >> 2.24.0
next prev parent reply other threads:[~2020-09-11 14:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-09 13:47 [PATCH] RDMA/iw_cxgb4: disable delayed ack by default Potnuri Bharat Teja
2020-09-09 15:28 ` Potnuri Bharat Teja
2020-09-10 12:27 ` Leon Romanovsky
2020-09-10 19:14 ` Potnuri Bharat Teja
2020-09-11 13:11 ` Leon Romanovsky [this message]
2020-09-11 16:09 ` Potnuri Bharat Teja
2020-09-13 7:13 ` Leon Romanovsky
2020-09-14 17:01 ` Potnuri Bharat Teja
2020-09-15 6:47 ` Leon Romanovsky
2020-09-15 8:10 ` Potnuri Bharat Teja
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200911131152.GM421756@unreal \
--to=leon@kernel.org \
--cc=bharat@chelsio.com \
--cc=dledford@redhat.com \
--cc=jgg@ziepe.ca \
--cc=linux-rdma@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.