All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Selvin Xavier <selvin.xavier@broadcom.com>
Cc: jgg@ziepe.ca, linux-rdma@vger.kernel.org,
	andrew.gospodarek@broadcom.com,
	kalesh-anakkur.purayil@broadcom.com
Subject: Re: [PATCH for-next] RDMA/bnxt_re: Congestion control settings using debugfs hook
Date: Sun, 19 Jan 2025 14:34:17 +0200	[thread overview]
Message-ID: <20250119123417.GE21007@unreal> (raw)
In-Reply-To: <CA+sbYW3fsjMxqMPyq7HGLMuhb2TEkG8Jo3PmgOyMR7ba5TF3DQ@mail.gmail.com>

On Sun, Jan 19, 2025 at 04:01:55PM +0530, Selvin Xavier wrote:
> On Sun, Jan 19, 2025 at 3:27 PM Leon Romanovsky <leon@kernel.org> wrote:
> >
> > On Fri, Jan 17, 2025 at 08:29:04PM -0800, Selvin Xavier wrote:
> > > Implements routines to set and get different settings  of
> > > the congestion control. This will enable the users to modify
> > > the settings according to their network.
> > >
> > > Currently supporting only GEN 0 version of the parameters.
> > > Reading these files queries the firmware and report the values
> > > currently programmed. Writing to the files sends commands that
> > > update the congestion control settings.
> > >
> > > Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
> > > ---
> > >  drivers/infiniband/hw/bnxt_re/bnxt_re.h |   2 +
> > >  drivers/infiniband/hw/bnxt_re/debugfs.c | 215 +++++++++++++++++++++++++++++++-
> > >  drivers/infiniband/hw/bnxt_re/debugfs.h |  15 +++
> > >  3 files changed, 231 insertions(+), 1 deletion(-)
> >
> > <...>
> >
> > > +static const char * const bnxt_re_cc_gen0_name[] = {
> > > +     "enable_cc",
> > > +     "g",
> >
> > ????
> It is the "running avg. weight" used by Congestion control algo in HW.
> It is referred as "g" in the parameters and the FW command. So used
> the same name for the debugfs file.

At the end, it is your debugfs for your customers. IMHO, it doesn't look
nice to them.

Thanks

  reply	other threads:[~2025-01-19 12:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-18  4:29 [PATCH for-next] RDMA/bnxt_re: Congestion control settings using debugfs hook Selvin Xavier
2025-01-19  9:57 ` Leon Romanovsky
2025-01-19 10:31   ` Selvin Xavier
2025-01-19 12:34     ` Leon Romanovsky [this message]
2025-01-19 16:03       ` Selvin Xavier

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=20250119123417.GE21007@unreal \
    --to=leon@kernel.org \
    --cc=andrew.gospodarek@broadcom.com \
    --cc=jgg@ziepe.ca \
    --cc=kalesh-anakkur.purayil@broadcom.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=selvin.xavier@broadcom.com \
    /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.