diff options
author | Stefan Roscher <ossrosch@linux.vnet.ibm.com> | 2008-10-22 15:52:31 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-10-22 15:52:31 -0700 |
commit | 19f4282149147b4a3e8c670373dc73ddd5d5facc (patch) | |
tree | e6b740a392f7c76dec479ec762c837b16d2e0651 /init | |
parent | 0540bbbe455e123a1692d26205ad1a29983883b0 (diff) |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions