OSDN Git Service

RDMA/umad: Use kernel API to allocate umad indexes
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 2 Oct 2018 08:13:30 +0000 (11:13 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 16 Oct 2018 18:36:21 +0000 (14:36 -0400)
commit551d315e34a5e6961f8deaf2d6f37ad24fccaa08
tree68cc4cf0d25d6c395f3ae55cc02ec85e8ec647fc
parent90f6e41cc03a4055d56e94ad7c97df4b1add7f61
RDMA/umad: Use kernel API to allocate umad indexes

Replace custom code to allocate indexes to generic kernel API.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/user_mad.c