]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf2bcc62d960571dd66577a02be91aa3f5230e32d
treeb010b22447e86615126ffdcada77c9ad2de1ea73
parent7272a56a5b83ad367832ee3ee6bf425b85c840e4
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