summaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma/rdma_user_cm.h
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-05-26 12:33:01 +0200
committerJason Gunthorpe <jgg@mellanox.com>2020-05-27 21:05:05 +0200
commit93531ee7b9d1313227d2b4f354989895e8d57b72 (patch)
treeb010b22447e86615126ffdcada77c9ad2de1ea73 /include/uapi/rdma/rdma_user_cm.h
parentRDMA/ucma: Extend ucma_connect to receive ECE parameters (diff)
downloadlinux-93531ee7b9d1313227d2b4f354989895e8d57b72.tar.xz
linux-93531ee7b9d1313227d2b4f354989895e8d57b72.zip
RDMA/ucma: Deliver ECE parameters through UCMA events
Passive side of CMID connection receives ECE request through REQ message and needs to respond with relevant REP message which will be forwarded to active side. The UCMA events interface is responsible for such communication with the user space (librdmacm). Extend it to provide ECE wire data. Link: https://lore.kernel.org/r/20200526103304.196371-4-leon@kernel.org Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi/rdma/rdma_user_cm.h')
-rw-r--r--include/uapi/rdma/rdma_user_cm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_user_cm.h b/include/uapi/rdma/rdma_user_cm.h
index c1409dd7225f..19c5c3f74af9 100644
--- a/include/uapi/rdma/rdma_user_cm.h
+++ b/include/uapi/rdma/rdma_user_cm.h
@@ -297,6 +297,7 @@ struct rdma_ucm_event_resp {
struct rdma_ucm_ud_param ud;
} param;
__u32 reserved;
+ struct rdma_ucm_ece ece;
};
/* Option levels */