diff options
author | Mitko Haralanov <mitko.haralanov@intel.com> | 2012-05-07 14:03:02 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-05-14 15:39:04 -0400 |
commit | 6ceaadee341da89af143c5cd56a3652b406e1ff5 (patch) | |
tree | 5aa84c28c79f936d59bdcfb4475983a04799764d /drivers/infiniband/hw/qib/qib_user_pages.c | |
parent | 4ccf28a26c981bcc6f938a7ea293a623d2d66d7b (diff) |
IB/qib: Display correct value for number of contexts
A "fix" for a bug with the number of contexts on a single-port board
caused the calculation to be off by one, which causes problems with
the upper layers. The same problem exists for number of free
contexts, which is also fixed here.
Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_user_pages.c')
0 files changed, 0 insertions, 0 deletions