kernel-ark/drivers/infiniband/hw
Stefan Roscher 19f4282149 IB/ehca: Fix reported max number of QPs and CQs in systems with >1 adapter
Because ehca adapters can differ in the maximum number of QPs and CQs
we have to save the maximum number of these ressources per adapter and
not globally per ehca driver. This fix introduces 2 new members to the
shca structure to store the maximum value for QPs and CQs per adapter.

The module parameters are now used as initial values for those
variables.  If a user selects an invalid number of CQs or QPs we don't
print an error any longer, instead we will inform the user with a
warning and set the values to the respective maximum supported by the
HW.

Signed-off-by: Stefan Roscher <stefan.roscher@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2008-10-22 15:52:31 -07:00
..
amso1100 IB: Drop code after return statement 2008-09-20 20:06:32 -07:00
cxgb3 RDMA/cxgb3: Set active_mtu in ib_port_attr 2008-09-30 14:51:19 -07:00
ehca IB/ehca: Fix reported max number of QPs and CQs in systems with >1 adapter 2008-10-22 15:52:31 -07:00
ipath IB/ipath: Fix hang on module unload 2008-09-29 21:24:04 -07:00
mlx4 IB/mlx4: Set RLKEY bit for kernel QPs 2008-10-08 20:09:01 -07:00
mthca IB/mthca: Use pci_request_regions() 2008-09-29 21:37:33 -07:00
nes Merge branches 'cma', 'cxgb3', 'ehca', 'ipath', 'ipoib', 'mad', 'misc', 'mlx4', 'mthca' and 'nes' into for-next 2008-10-09 17:41:15 -07:00