From: Leon Romanovsky <leonro@xxxxxxxxxxxx> Two small patches to simplify and improve XRC logic. Maor Gottlieb (2): RDMA: Clean ib_alloc_xrcd() and reuse it to allocate XRC domain RDMA/core: Optimize XRC target lookup drivers/infiniband/core/uverbs_cmd.c | 12 ++--- drivers/infiniband/core/verbs.c | 69 ++++++++++++++-------------- drivers/infiniband/hw/mlx5/main.c | 24 ++++------ include/rdma/ib_verbs.h | 27 +++++------ 4 files changed, 60 insertions(+), 72 deletions(-) -- 2.26.2