Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Leon Romanovsky <leon@kernel.org>
Cc: Doug Ledford <dledford@redhat.com>,
	Patrisious Haddad <phaddad@nvidia.com>,
	<linux-rdma@vger.kernel.org>
Subject: Re: [PATCH rdma-next] RDMA/nldev: Return an error message on failure to turn auto mode
Date: Mon, 18 Jan 2021 17:00:48 -0400	[thread overview]
Message-ID: <20210118210048.GA797553@nvidia.com> (raw)
In-Reply-To: <20201230130240.180737-1-leon@kernel.org>

On Wed, Dec 30, 2020 at 03:02:40PM +0200, Leon Romanovsky wrote:
> From: Patrisious Haddad <phaddad@nvidia.com>
> 
> The bounded counter can't be reconfigured to be in auto mode,
> in attempt to do it, the user will get an error, but without any
> hint why. Update nldev interface to return an error message through
> extack mechanism.
> 
> Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> ---
>  drivers/infiniband/core/counters.c | 62 ++++++++++++++++--------------
>  drivers/infiniband/core/nldev.c    |  4 +-
>  include/rdma/rdma_counter.h        |  3 +-
>  3 files changed, 36 insertions(+), 33 deletions(-)

Applied to for-next, thanks

Jason

      reply	other threads:[~2021-01-18 21:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30 13:02 [PATCH rdma-next] RDMA/nldev: Return an error message on failure to turn auto mode Leon Romanovsky
2021-01-18 21:00 ` Jason Gunthorpe [this message]

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=20210118210048.GA797553@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=dledford@redhat.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=phaddad@nvidia.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox