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] RDMA/mlx5: Set ODP caps only if device profile support ODP
Date: Fri, 26 Mar 2021 13:58:38 -0300 [thread overview]
Message-ID: <20210326165838.GC863945@nvidia.com> (raw)
In-Reply-To: <20210318135259.681264-1-leon@kernel.org>
On Thu, Mar 18, 2021 at 03:52:59PM +0200, Leon Romanovsky wrote:
> From: Shay Drory <shayd@nvidia.com>
>
> Currently, ODP caps are set during the init stage of mlx5_ib_dev,
> regardless whether the device profile supports ODP or not.
> There isn't a point to set ODP caps if the device profile doesn't
> supports ODP. Hence, setting the ODP caps in the odp_init stage.
>
> Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
> Signed-off-by: Shay Drory <shayd@nvidia.com>
> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> ---
> drivers/infiniband/hw/mlx5/main.c | 2 --
> drivers/infiniband/hw/mlx5/mlx5_ib.h | 6 ------
> drivers/infiniband/hw/mlx5/odp.c | 4 +++-
> 3 files changed, 3 insertions(+), 9 deletions(-)
Applied to for-next, thanks
Jason
prev parent reply other threads:[~2021-03-26 16:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-18 13:52 [PATCH rdma-next] RDMA/mlx5: Set ODP caps only if device profile support ODP Leon Romanovsky
2021-03-26 16:58 ` 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=20210326165838.GC863945@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.