]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Modify the default number of kernel receive conexts
authorHarish Chegondi <harish.chegondi@intel.com>
Mon, 25 Jul 2016 20:38:50 +0000 (13:38 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 20:00:58 +0000 (16:00 -0400)
commit8acc55363ce857fe86bf5190ee8cd0200d31272c
tree2198fbc11c61e590c0ec5bcbeef952220134ff64
parent460bb8e5f9a0d004eba5f3cfe5b90f1121f748b9
IB/hfi1: Modify the default number of kernel receive conexts

Currently, the default number of kernel receive contexts is set to the
number of NUMA nodes on the system plus one for control context. However,
the systems that have a single socket and/or have NUMA disabled in the BIOS
will have only one receive context by default. This patch would ensure that
by default there will be at least two kernel receive contexts plus one for
control context regardless of the number of NUMA nodes on the system. The
user can override the default number of kernel receive contexts with the
krcvqs module parameter.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Harish Chegondi <harish.chegondi@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/chip.c