]> git.kernelconcepts.de Git - karo-tx-linux.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)
commite605b743f33d697ad885f99ac8aac480ab6aa6de
treecc4be106da589cc38964b9f15808476140e17d81
parentf4ec9e9531ac79ee2521faf7ad3d98978f747e42
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