]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/erdma: Add connection management (CM) support
authorCheng Xu <chengyou@linux.alibaba.com>
Wed, 27 Jul 2022 01:49:24 +0000 (09:49 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 27 Jul 2022 18:54:39 +0000 (15:54 -0300)
commitdc34727276e9e1e3a12d0748f82f80ffed6a10a6
treebbd1cc6ca58757462c4c7292e41f1f8f2320493b
parent38ba6b3d64bdd67f73cbf0479014641387b74595
RDMA/erdma: Add connection management (CM) support

ERDMA's transport protocol is iWarp, so the driver must support CM
interface. In CM part, we use the same way as SoftiWarp: using kernel
socket to set up the connection, then performing MPA negotiation in
kernel. So, this part of code mainly comes from SoftiWarp, base on it,
we add some more features, such as non-blocking iw_connect implementation.

This commit also fixes a duplicated include issue reported by Abaci Robot.

Link: https://lore.kernel.org/r/20220727014927.76564-9-chengyou@linux.alibaba.com
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/erdma/erdma_cm.c [new file with mode: 0644]
drivers/infiniband/hw/erdma/erdma_cm.h [new file with mode: 0644]