IB/hfi1: Change default number of user contexts
authorJubin John <jubin.john@intel.com>
Tue, 12 Apr 2016 18:30:08 +0000 (11:30 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:28 +0000 (16:32 -0400)
commit0852d241f48463d80764f841f2e06c0f3c4da923
treebd5835ddbb999ae30cab910e1d7b4bf2ad04770b
parentb218f786adc215509e806fe4eb98725e33e8d784
IB/hfi1: Change default number of user contexts

Change the default number of user contexts to the number of real
(non-HT) cpu cores in order to reduce the division of hfi1 hardware
contexts in the case of high core counts with hyper-threading enabled.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/affinity.c
drivers/staging/rdma/hfi1/affinity.h
drivers/staging/rdma/hfi1/chip.c