commit | 6ceaadee341da89af143c5cd56a3652b406e1ff5 | [log] [tgz] |
---|---|---|
author | Mitko Haralanov <mitko.haralanov@intel.com> | Mon May 07 14:03:02 2012 -0400 |
committer | Roland Dreier <roland@purestorage.com> | Mon May 14 12:39:04 2012 -0700 |
tree | 5aa84c28c79f936d59bdcfb4475983a04799764d | |
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>