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)
commit920d93eac8b97778fef48f34f10e58ddf870fc2a
treebbd1cc6ca58757462c4c7292e41f1f8f2320493b
parent155055771704f8cbb5c176a4309b7dc30a50450c
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]