Vlad, Please pull the following patches from git.openfabrics.org/~mmarciniszyn/scm/linux-2.6.to_ofed.
Thanks! Mike commit afbcb93ce910f9e8eb335145b0b06ef8ced784ab Author: Ram Vepa <[email protected]> Date: Tue Jul 26 10:42:09 2011 -0400 IB/qib: Adjust to use cpumask_weight() and cpumask_first() The cpus_weight macro doesn't work correctly when the CONFIG_CPUMASK_OFFSTACK is chosen. The macro can walk run off the end of the valid bits in the mask because NR_CPUS is much larger than the actual number of bits. This patch adjusts the code to use the APIs that were added for kernels >= 2.6.30. Backport adjustments will need to be made for older kernels. An equivalent patch was also submitted submitted externally by KOSAKI Motohiro <[email protected]>. Signed-off-by: Mike Marciniszyn <[email protected]> commit 2484eae46e66f32f3a7db0fa2799c1a87240bc1b Author: Ram Vepa <[email protected]> Date: Tue Jul 26 08:03:24 2011 -0400 IB/qib: add sysfs interface to read free contexts Indicate the number of free user contexts via the sysfs file /sys/class/infiniband/qib0/nfreectxts as required for PSM. Signed-off-by: Ram Vepa <[email protected]> Signed-off-by: Mike Marciniszyn <[email protected]> This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message. _______________________________________________ ewg mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
