All of lore.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon@kernel.org>
To: Gal Pressman <galpress@amazon.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>,
	Doug Ledford <dledford@redhat.com>,
	linux-rdma@vger.kernel.org
Subject: Re: [PATCH for-rc v2] RDMA/restrack: Track driver QP types in resource tracker
Date: Tue, 30 Jul 2019 18:22:16 +0300	[thread overview]
Message-ID: <20190730152216.GF4878@mtr-leonro.mtl.com> (raw)
In-Reply-To: <20190730133720.62548-1-galpress@amazon.com>

On Tue, Jul 30, 2019 at 04:37:20PM +0300, Gal Pressman wrote:
> The check for QP type different than XRC has wrongly excluded driver QP
> types from the resource tracker.
> As a result, "rdma resource show" user command would not show opened
> driver QPs which does not reflect the real state of the system.
>
> Check QP type explicitly instead of improperly assuming enum
> values/ordering.
>
> Fixes: 78a0cd648a80 ("RDMA/core: Add resource tracking for create and destroy QPs")
> Signed-off-by: Gal Pressman <galpress@amazon.com>
> ---
> v2:
> * Improve commit message

Please finish review of v0 and give enough time for reviewers to see
patch and post their notes before resending.

Thanks

  reply	other threads:[~2019-07-30 15:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-30 13:37 [PATCH for-rc v2] RDMA/restrack: Track driver QP types in resource tracker Gal Pressman
2019-07-30 15:22 ` Leon Romanovsky [this message]
2019-07-31 15:36   ` Doug Ledford
2019-07-31 16:09     ` Gal Pressman

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=20190730152216.GF4878@mtr-leonro.mtl.com \
    --to=leon@kernel.org \
    --cc=dledford@redhat.com \
    --cc=galpress@amazon.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.