All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Leon Romanovsky <leon@kernel.org>
Cc: Doug Ledford <dledford@redhat.com>, Shay Drory <shayd@nvidia.com>,
	linux-rdma@vger.kernel.org, Maor Gottlieb <maorg@nvidia.com>
Subject: Re: [PATCH rdma-next v1] RDMA/mlx5: Create ODP EQ only when ODP MR is created
Date: Fri, 26 Mar 2021 10:19:56 -0300	[thread overview]
Message-ID: <20210326131956.GB832996@nvidia.com> (raw)
In-Reply-To: <20210314125418.179716-1-leon@kernel.org>

On Sun, Mar 14, 2021 at 02:54:18PM +0200, Leon Romanovsky wrote:
> From: Shay Drory <shayd@nvidia.com>
> 
> There is no need to create the ODP EQ if the user doesn't use ODP MRs.
> Hence, create it only when the first ODP MR is created. This EQ will be
> destroyed only when the device is unloaded.
> This will decrease the number of EQs created per device. for example: If
> we creates 1K devices (SF/VF/etc'), than we will decrease the num of EQs
> by 1K.
> 
> Signed-off-by: Shay Drory <shayd@nvidia.com>
> Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> ---
>  Changelog:
>  v1:
>  * Delete optimization
> ---
>  drivers/infiniband/hw/mlx5/mlx5_ib.h |  7 +++++++
>  drivers/infiniband/hw/mlx5/mr.c      |  3 +++
>  drivers/infiniband/hw/mlx5/odp.c     | 29 ++++++++++++++++++----------
>  3 files changed, 29 insertions(+), 10 deletions(-)

Applied to for-next, thanks

Jason

      reply	other threads:[~2021-03-26 13:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-14 12:54 [PATCH rdma-next v1] RDMA/mlx5: Create ODP EQ only when ODP MR is created Leon Romanovsky
2021-03-26 13:19 ` 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=20210326131956.GB832996@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=dledford@redhat.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=maorg@nvidia.com \
    --cc=shayd@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 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.