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@xxxxxxxxx> > Reviewed-By: Devesh Sharma <devesh.s.sharma@xxxxxxxxxx> > --- > 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