RDMA/rxe,siw: Restore uverbs_cmd_mask IB_USER_VERBS_CMD_POST_SEND
authorJason Gunthorpe <jgg@nvidia.com>
Fri, 30 Oct 2020 14:03:05 +0000 (11:03 -0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 2 Nov 2020 19:32:06 +0000 (15:32 -0400)
commit5c4193669b6f20b990f99cb8e15cdea80f865ac1
tree710227a9e742cbec22e2739d2a7bb4ed45df67e6
parent856c2998999958761b6a52208b4edb4d352c4037
RDMA/rxe,siw: Restore uverbs_cmd_mask IB_USER_VERBS_CMD_POST_SEND

These two drivers open code the call to POST_SEND and do not use the
rdma-core wrapper to do it, thus their usages was missed during the audit.

Both drivers use this as a doorbell to signal the kernel to start DMA.

Fixes: 628c02bf38aa ("RDMA: Remove uverbs cmds from drivers that don't use them")
Link: https://lore.kernel.org/r/0-v1-4608c5610afa+fb-uverbs_cmd_post_send_fix_jgg@nvidia.com
Reported-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_verbs.c
drivers/infiniband/sw/siw/siw_main.c