From: Jason Gunthorpe <jgg@nvidia.com>
To: Kamal Heib <kamalheib1@gmail.com>
Cc: linux-rdma@vger.kernel.org, Selvin Xavier <selvin.xavier@broadcom.com>
Subject: Re: [PATCH for-next] RDMA/bnxt_re: Remove pkey table
Date: Thu, 25 Nov 2021 13:37:58 -0400 [thread overview]
Message-ID: <20211125173758.GD504001@nvidia.com> (raw)
In-Reply-To: <20211125033615.483750-1-kamalheib1@gmail.com>
On Thu, Nov 25, 2021 at 05:36:15AM +0200, Kamal Heib wrote:
> The RoCE spec requires RoCE devices to support only the default pkey.
> However the bnxt_re driver maintains 0xFFFF entries pkey table and uses
> only the first entry. Remove the pkey table and hard code a table of
> length one hard wired with the default pkey.
>
> Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
> Reviewed-By: Devesh Sharma <devesh.s.sharma@oracle.com>
> ---
> drivers/infiniband/hw/bnxt_re/ib_verbs.c | 9 +--
> drivers/infiniband/hw/bnxt_re/qplib_fp.c | 11 ++-
> drivers/infiniband/hw/bnxt_re/qplib_res.c | 50 ------------
> drivers/infiniband/hw/bnxt_re/qplib_res.h | 7 --
> drivers/infiniband/hw/bnxt_re/qplib_sp.c | 99 +----------------------
> drivers/infiniband/hw/bnxt_re/qplib_sp.h | 9 ---
> 6 files changed, 10 insertions(+), 175 deletions(-)
Applied to for-next, thanks
Jason
prev parent reply other threads:[~2021-11-25 17:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-25 3:36 [PATCH for-next] RDMA/bnxt_re: Remove pkey table Kamal Heib
2021-11-25 12:35 ` Devesh Sharma
2021-11-25 17:37 ` 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=20211125173758.GD504001@nvidia.com \
--to=jgg@nvidia.com \
--cc=kamalheib1@gmail.com \
--cc=linux-rdma@vger.kernel.org \
--cc=selvin.xavier@broadcom.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.