mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Currently, the erdma driver supports both the iWARP and RoCEv2 protocols. The erdma driver reads the ERDMA_REGS_DEV_PROTO_REG register to identify the protocol used by the erdma device. Since each protocol requires different ib_device_ops, we introduce the erdma_device_ops_iwarp and erdma_device_ops_rocev2 for iWARP and RoCEv2 protocols, respectively. Signed-off-by: Boshi Yu <boshiyu@linux.alibaba.com> Link: https://patch.msgid.link/20241211020930.68833-2-boshiyu@linux.alibaba.com Reviewed-by: Cheng Xu <chengyou@linux.alibaba.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
12 lines
442 B
Text
12 lines
442 B
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
config INFINIBAND_ERDMA
|
|
tristate "Alibaba Elastic RDMA Adapter (ERDMA) support"
|
|
depends on PCI_MSI && 64BIT
|
|
depends on INFINIBAND_ADDR_TRANS
|
|
depends on INFINIBAND_USER_ACCESS
|
|
help
|
|
This is a RDMA driver for Alibaba Elastic RDMA Adapter(ERDMA),
|
|
which supports RDMA features in Alibaba cloud environment.
|
|
|
|
To compile this driver as module, choose M here. The module will be
|
|
called erdma.
|