diff options
author | Matan Barak <matanb@mellanox.com> | 2015-12-23 15:56:55 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2015-12-23 18:39:52 +0300 |
commit | 045959db65c67d7189dc89ecddb5fa10aafa449d (patch) | |
tree | 6b29c2d20fa2a8eb119f90221c04762c7ef75f2d /drivers/infiniband/core/Makefile | |
parent | 218a773f7632d8553638c76d3a5a8c77e82ccea1 (diff) | |
download | linux-045959db65c67d7189dc89ecddb5fa10aafa449d.tar.xz |
IB/cma: Add configfs for rdma_cm
Users would like to control the behaviour of rdma_cm.
For example, old applications which don't set the
required RoCE gid type could be executed on RoCE V2
network types. In order to support this configuration,
we implement a configfs for rdma_cm.
In order to use the configfs, one needs to mount it and
mkdir <IB device name> inside rdma_cm directory.
The patch adds support for a single configuration file,
default_roce_mode. The mode can either be "IB/RoCE v1" or
"RoCE v2".
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/Makefile')
-rw-r--r-- | drivers/infiniband/core/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/core/Makefile b/drivers/infiniband/core/Makefile index ae48d874012f..f818538a7f4e 100644 --- a/drivers/infiniband/core/Makefile +++ b/drivers/infiniband/core/Makefile @@ -24,6 +24,8 @@ iw_cm-y := iwcm.o iwpm_util.o iwpm_msg.o rdma_cm-y := cma.o +rdma_cm-$(CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS) += cma_configfs.o + rdma_ucm-y := ucma.o ib_addr-y := addr.o |