RDMA/erdma: Add the erdma module
authorCheng Xu <chengyou@linux.alibaba.com>
Wed, 27 Jul 2022 01:49:25 +0000 (09:49 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 27 Jul 2022 18:54:39 +0000 (15:54 -0300)
commitd55e6fb4803c274918d7b41ea80b3848ef12695c
treea64240880c6bb31c95626aa54223c74bbf5cb0c8
parent920d93eac8b97778fef48f34f10e58ddf870fc2a
RDMA/erdma: Add the erdma module

Add the main erdma module, which provides interface to infiniband
subsystem.

This commit includes a modification from Christophe, that using the bitmap
API to allocate bitmaps instead of hand-writing. And the commit also fixes
warnings reported by static checkers.

Link: https://lore.kernel.org/r/20220727014927.76564-10-chengyou@linux.alibaba.com
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/erdma/erdma_main.c [new file with mode: 0644]