RDMA/irdma: Remove incorrect masking of PD
authorMustafa Ismail <mustafa.ismail@intel.com>
Fri, 25 Feb 2022 16:32:11 +0000 (10:32 -0600)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 28 Feb 2022 16:07:40 +0000 (12:07 -0400)
commit17850f2b0b4b806e47cc44df94186bfc2cdd490b
tree94f83201ad6891e4c5130749dab556101656ef7a
parentb200189626b5cefbaf8be9cadd7a28215e065bb9
RDMA/irdma: Remove incorrect masking of PD

The PD id is masked with 0x7fff, while PD can be 18 bits for GEN2 HW.
Remove the masking as it should not be needed and can cause incorrect PD
id to be used.

Fixes: b48c24c2d710 ("RDMA/irdma: Implement device supported verb APIs")
Link: https://lore.kernel.org/r/20220225163211.127-4-shiraz.saleem@intel.com
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/verbs.c