]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx4: Increase the number of vectors (EQs) available for ULPs
authorShlomo Pongratz <shlomop@mellanox.com>
Sun, 29 Apr 2012 14:04:27 +0000 (17:04 +0300)
committerRoland Dreier <roland@purestorage.com>
Sat, 19 May 2012 00:04:00 +0000 (17:04 -0700)
commitf792dbdea6677b9709a1372730c4feeb13665ce9
treecc4be106da589cc38964b9f15808476140e17d81
parent88b5953069923c7517187bf1736a6cc82d9cc273
IB/mlx4: Increase the number of vectors (EQs) available for ULPs

Enable IB ULPs to use a larger portion of the device EQs (which map to
IRQs).  The mlx4_ib driver follows the mlx4_core framework of the EQs
to be divided among the device ports.  In this scheme, for each IB
port, the number of allocated EQs follows the number of cores, subject
to other system constraints, such as number available MSI-X vectors.

Signed-off-by: Shlomo Pongratz <shlomop@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/mlx4/cq.c
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/mlx4_ib.h