]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cma: Connect ECE to rdma_accept
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 26 May 2020 10:33:03 +0000 (13:33 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 27 May 2020 19:05:05 +0000 (16:05 -0300)
commitac4c3d4091b0f00db6a1ca3036aac6e71345f26d
treefb938b78d738f01f79189eb75496696a1039ffa7
parentb24076f2b26dae063a2c5d5bd166c751cd872d0a
RDMA/cma: Connect ECE to rdma_accept

The rdma_accept() is called by both passive and active sides of CMID
connection to mark readiness to start data transfer. For passive side,
this is called explicitly, for active side, it is called implicitly while
receiving REP message.

Provide ECE data to rdma_accept function needed for passive side to send
that REP message.

Link: https://lore.kernel.org/r/20200526103304.196371-6-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cma.c
drivers/infiniband/core/ucma.c
include/rdma/rdma_cm.h
include/uapi/rdma/rdma_user_cm.h