RDMA/erdma: Add verbs implementation
authorCheng Xu <chengyou@linux.alibaba.com>
Wed, 27 Jul 2022 01:49:23 +0000 (09:49 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 27 Jul 2022 18:54:39 +0000 (15:54 -0300)
commit155055771704f8cbb5c176a4309b7dc30a50450c
tree79098da866f371bb2a8b7a1d683bdd4d705ac4c6
parentdb23ae64caac84622c025860df69d4bc4859fa9c
RDMA/erdma: Add verbs implementation

The RDMA verbs implementation of erdma is divided into three files:
erdma_qp.c, erdma_cq.c, and erdma_verbs.c. Internal used functions and
datapath functions of QP/CQ are put in erdma_qp.c and erdma_cq.c, the rest
is in erdma_verbs.c.

This commit also fixes some static check warnings.

Link: https://lore.kernel.org/r/20220727014927.76564-8-chengyou@linux.alibaba.com
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/erdma/erdma_cq.c [new file with mode: 0644]
drivers/infiniband/hw/erdma/erdma_qp.c [new file with mode: 0644]
drivers/infiniband/hw/erdma/erdma_verbs.c [new file with mode: 0644]