RDMA/core: Increase total number of RDMA ports across all devices
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 2 Oct 2018 08:13:28 +0000 (11:13 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 16 Oct 2018 18:36:20 +0000 (14:36 -0400)
commit7d65cbf0b0ac7d7eebf397ff9af6645b2b3004c2
treea1cd6c6a4149e10a8b7ed13c8b433148ff9f8ab8
parentb4c542df5ae83f079f867011a8f7721fb8a1f44c
RDMA/core: Increase total number of RDMA ports across all devices

IDA adds overhead to store IDs bitmap with maximal value of IDA
can be upto 2099202 (IDA_MAX = 0x80000000U / IDA_BITMAP_BITS - 1).

However, there is no need to add such enormous number of devices
and it is enough for now to limit it to be 8192.

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