diff options
author | Matan Barak | 2015-12-23 13:56:55 +0100 |
---|---|---|
committer | Doug Ledford | 2015-12-23 16:39:52 +0100 |
commit | 045959db65c67d7189dc89ecddb5fa10aafa449d (patch) | |
tree | 6b29c2d20fa2a8eb119f90221c04762c7ef75f2d /drivers/infiniband/Kconfig | |
parent | IB/rdma_cm: Add wrapper for cma reference count (diff) | |
download | kernel-qcow2-linux-045959db65c67d7189dc89ecddb5fa10aafa449d.tar.gz kernel-qcow2-linux-045959db65c67d7189dc89ecddb5fa10aafa449d.tar.xz kernel-qcow2-linux-045959db65c67d7189dc89ecddb5fa10aafa449d.zip |
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/Kconfig')
-rw-r--r-- | drivers/infiniband/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index 282ec0b664fe..8a8440c0eed1 100644 --- a/drivers/infiniband/Kconfig +++ b/drivers/infiniband/Kconfig @@ -55,6 +55,15 @@ config INFINIBAND_ADDR_TRANS depends on INFINIBAND default y +config INFINIBAND_ADDR_TRANS_CONFIGFS + bool + depends on INFINIBAND_ADDR_TRANS && CONFIGFS_FS && !(INFINIBAND=y && CONFIGFS_FS=m) + default y + ---help--- + ConfigFS support for RDMA communication manager (CM). + This allows the user to config the default GID type that the CM + uses for each device, when initiaing new connections. + source "drivers/infiniband/hw/mthca/Kconfig" source "drivers/infiniband/hw/qib/Kconfig" source "drivers/infiniband/hw/cxgb3/Kconfig" |