RDMA/cma: Provide ECE reject reason
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 26 May 2020 10:33:04 +0000 (13:33 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 27 May 2020 19:05:05 +0000 (16:05 -0300)
commit8094ba0ace7f6cd1e31ea8b151fba3594cadfa9a
tree99c534530158357e07883b6e932ef96b3fead123
parent0cb15372a615a9835893f43e86ae45399eb63996
RDMA/cma: Provide ECE reject reason

IBTA declares "vendor option not supported" reject reason in REJ messages
if passive side doesn't want to accept proposed ECE options.

Due to the fact that ECE is managed by userspace, there is a need to let
users to provide such rejected reason.

Link: https://lore.kernel.org/r/20200526103304.196371-7-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
drivers/infiniband/ulp/isert/ib_isert.c
drivers/infiniband/ulp/rtrs/rtrs-srv.c
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/nvme/target/rdma.c
include/rdma/rdma_cm.h
include/uapi/rdma/rdma_user_cm.h
net/rds/ib_cm.c