linux_dsm_epyc7002/drivers/infiniband
Huy Nguyen 8cf12d7780 IB/core: Increase number of char device minors
There is a need to increase number of possible char devices to support
large number of SR-IOV instances. The current limit is in the range of
64-128 devices/ports. Increase it to support up to 1024.

The patch performs the following steps to refactor the code:
1. Removes the split bitmap for fixed and overflow dev numbers.
2. Pre-allocates the non-legacy major number range during driver
   initialization, choosen for simplicity.
3. Add new define (RDMA_MAX_PORTS) that is shared between all drivers.
   This is the maximum total number of ports on all struct ib_devices.
4. Set RDMA_MAX_PORTS to 1024.

Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-01-10 22:00:32 -07:00
..
core IB/core: Increase number of char device minors 2018-01-10 22:00:32 -07:00
hw IB/mlx5: remove redundant assignment of mdev 2018-01-10 16:52:52 -05:00
sw RDMA/rxe: Fix a race condition related to the QP error state 2018-01-10 16:57:27 -05:00
ulp Merge branch 'bart-srpt-for-next' into k.o/wip/dl-for-next 2018-01-08 16:06:20 -05:00
Kconfig IB: INFINIBAND should depend on HAS_DMA 2017-11-30 16:01:28 -07:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00