commit | 6676b3f746ff164a4a367c9aa5ae4b5b1145083c | [log] [tgz] |
---|---|---|
author | Mike Marciniszyn <mike.marciniszyn@qlogic.com> | Mon Jan 10 17:42:20 2011 -0800 |
committer | Roland Dreier <rolandd@cisco.com> | Mon Jan 10 17:42:20 2011 -0800 |
tree | 4a9d0ce7dc03a56cae8f2c95da9a55d670933697 | |
parent | 5dbbcb97cc55dd6e0c34cf06f9e1ee181247d054 [diff] |
IB/qib: Fix context allocation with multiple HCAs The driver was incorrectly choosing HCAs on which to allocate new user contexts based on overall count of usable ports regardless whether the usable port was on the currently selected HCA. Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>