]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/rxe: Remove type 2A memory window capability
authorBob Pearson <rpearsonhpe@gmail.com>
Thu, 7 Apr 2022 18:43:22 +0000 (13:43 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 8 Apr 2022 17:37:17 +0000 (14:37 -0300)
commit24caf850a832ca8b332e7c03db2a7f0909b5e96d
tree8a6fe19e7a9cc00628b1858eb1a0342dd523c7f1
parent03225a27840b83954e1751067109fd88f77f9c3a
RDMA/rxe: Remove type 2A memory window capability

Currently the rdma_rxe driver claims to support both 2A and 2B type memory
windows. But the IBA requires

010-37.2.31: If an HCA supports the Base Memory Management
extensions, the HCA shall support either Type 2A or Type 2B MWs,
but not both.

This commit removes the device capability bit for type 2A memory windows
and adds a clarifying comment to rxe_mw.c.

Link: https://lore.kernel.org/r/20220407184321.14207-1-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_mw.c
drivers/infiniband/sw/rxe/rxe_param.h