From: Leon Romanovsky <leonro@xxxxxxxxxxxx> Changelog v0->v1: * Add new patch which increases number of RDMA ports * Rebase There is no need to do custom logic to allocate indexes while kernel provides specific API for that. Thanks Leon Romanovsky (3): RDMA/core: Increase total number of RDMA ports across all devices RDMA/uverbs: Use kernel API to allocate uverbs indexes RDMA/umad: Use kernel API to allocate umad indexes drivers/infiniband/core/core_priv.h | 2 +- drivers/infiniband/core/user_mad.c | 11 +++++------ drivers/infiniband/core/uverbs_main.c | 12 ++++++------ 3 files changed, 12 insertions(+), 13 deletions(-) -- 2.14.4