aboutsummaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/qib/qib_sysfs.c
diff options
context:
space:
mode:
authorRalph Campbell <ralph.campbell@qlogic.com>2010-07-21 22:46:11 +0000
committerRoland Dreier <rolandd@cisco.com>2010-08-03 13:59:05 -0700
commit0502f94c62be79d1f4ae6f53ceaefde67ef3cea2 (patch)
tree93816ecd19b774b944a9d09ef6582a02d4b447ee /drivers/infiniband/hw/qib/qib_sysfs.c
parentbdf8edcb5732df554ef53096092e94d22ab5ffc9 (diff)
IB/qib: Set cfgctxts to number of CPUs by default
Up to now, we have set the number of available user contexts based on the number of hardware contexts which is set according to the number of available CPUs. This was fine since most CPUs had a power of two number of cores and the chip supported 4, 8, or 16 user contexts. Now that some systems have 12 cores, the default isn't optimal and should be set to 12 even though 16 hardware contexts need to be enabled. Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_sysfs.c')
0 files changed, 0 insertions, 0 deletions