From: Leon Romanovsky <leon@kernel.org>
To: Jason Gunthorpe <jgg@nvidia.com>
Cc: Mark Bloch <mbloch@nvidia.com>,
linux-rdma@vger.kernel.org, Maor Gottlieb <maorg@nvidia.com>
Subject: Re: [PATCH rdma-rc] RDMA/mlx5: Use the proper number of ports
Date: Tue, 16 Aug 2022 16:14:47 +0300 [thread overview]
Message-ID: <YvuYR6v6sGoYDQ84@unreal> (raw)
In-Reply-To: <a54a56c2ede16044a29d119209b35189c662ac72.1659944855.git.leonro@nvidia.com>
On Mon, Aug 08, 2022 at 10:48:06AM +0300, Leon Romanovsky wrote:
> From: Mark Bloch <mbloch@nvidia.com>
>
> The cited commit allowed the driver to operate over HCAs that have
> 4 physical ports. Use the number of ports of the RDMA device in the for
> loop instead of using the struct size.
>
> Fixes: 4cd14d44b11d ("net/mlx5: Support devices with more than 2 ports")
> Signed-off-by: Mark Bloch <mbloch@nvidia.com>
> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
> ---
> drivers/infiniband/hw/mlx5/main.c | 34 +++++++++++++++----------------
> 1 file changed, 16 insertions(+), 18 deletions(-)
>
Thanks, applied.
prev parent reply other threads:[~2022-08-16 13:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-08 7:48 [PATCH rdma-rc] RDMA/mlx5: Use the proper number of ports Leon Romanovsky
2022-08-16 13:14 ` Leon Romanovsky [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=YvuYR6v6sGoYDQ84@unreal \
--to=leon@kernel.org \
--cc=jgg@nvidia.com \
--cc=linux-rdma@vger.kernel.org \
--cc=maorg@nvidia.com \
--cc=mbloch@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