diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2020-05-26 13:33:00 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-27 16:05:05 -0300 |
commit | 34e2ab57a911f8b32b22580d11a02f0b79108245 (patch) | |
tree | 4edacb38f573973f1d95ba488eec7bd7ebe2845d /drivers/infiniband/core/cma_priv.h | |
parent | RDMA/cm: Add Enhanced Connection Establishment (ECE) bits (diff) | |
download | linux-dev-34e2ab57a911f8b32b22580d11a02f0b79108245.tar.xz linux-dev-34e2ab57a911f8b32b22580d11a02f0b79108245.zip |
RDMA/ucma: Extend ucma_connect to receive ECE parameters
Active side of CMID initiates connection through librdmacm's
rdma_connect() and kernel's ucma_connect(). Extend UCMA interface to
handle those new parameters.
Link: https://lore.kernel.org/r/20200526103304.196371-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/cma_priv.h')
-rw-r--r-- | drivers/infiniband/core/cma_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/cma_priv.h b/drivers/infiniband/core/cma_priv.h index 5edcf44a9307..caece96ebcf5 100644 --- a/drivers/infiniband/core/cma_priv.h +++ b/drivers/infiniband/core/cma_priv.h @@ -95,6 +95,7 @@ struct rdma_id_private { * Internal to RDMA/core, don't use in the drivers */ struct rdma_restrack_entry res; + struct rdma_ucm_ece ece; }; #if IS_ENABLED(CONFIG_INFINIBAND_ADDR_TRANS_CONFIGFS) |