]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/rxe: Cleanup MR status and type enums
authorBob Pearson <rpearsonhpe@gmail.com>
Tue, 14 Sep 2021 16:42:04 +0000 (11:42 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 24 Sep 2021 13:14:59 +0000 (10:14 -0300)
commit1f9908d2d8cf04f98c1204676237786503a89077
treedc60e8cf6f86702b99020c958c6fdec9aa0baf9b
parent76f0c32b4fc22f5fbebec2fc17eb9c804451fbd7
RDMA/rxe: Cleanup MR status and type enums

Eliminate RXE_MR_STATE_ZOMBIE which is not compatible with IBA.
RXE_MR_STATE_INVALID is better.

Replace RXE_MR_TYPE_XXX by IB_MR_TYPE_XXX which covers all the needed
types.

Link: https://lore.kernel.org/r/20210914164206.19768-3-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_mr.c
drivers/infiniband/sw/rxe/rxe_verbs.h