RDMA/ucma: Deliver ECE parameters through UCMA events
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 26 May 2020 10:33:01 +0000 (13:33 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 27 May 2020 19:05:05 +0000 (16:05 -0300)
commit93531ee7b9d1313227d2b4f354989895e8d57b72
treeb010b22447e86615126ffdcada77c9ad2de1ea73
parent34e2ab57a911f8b32b22580d11a02f0b79108245
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>
drivers/infiniband/core/ucma.c
include/rdma/rdma_cm.h
include/uapi/rdma/rdma_user_cm.h