]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/rxe: Remove IB_SRQ_INIT_MASK
authorBob Pearson <rpearsonhpe@gmail.com>
Thu, 21 Apr 2022 01:40:34 +0000 (20:40 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 6 May 2022 18:33:31 +0000 (15:33 -0300)
commit498eef7c58ae3043596d681155c874e9a4622d95
tree50ab91fbdb704ec3bf9ddbe5c9d343e23a5e9bd5
parent9beba06c0805056ea8bbf8dfc10380164ac1a239
RDMA/rxe: Remove IB_SRQ_INIT_MASK

Currently the #define IB_SRQ_INIT_MASK is used to distinguish the
rxe_create_srq verb from the rxe_modify_srq verb so that some code can be
shared between these two subroutines.

This commit splits rxe_srq_chk_attr into two subroutines: rxe_srq_chk_init
and rxe_srq_chk_attr which handle the create_srq and modify_srq verbs
separately.

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