linux/drivers/infiniband/hw
Ramkrishna Vepa c804f07248 IB/qib: Add dual-rail NUMA awareness for PSM processes
The driver currently selects a HCA based on the algorithm that PSM
chooses, contexts within a HCA or across. The HCA can also be chosen
by the user. Either way, this patch assigns a CPU on the NUMA node
local to the selected HCA. This patch also tries to select the HCA
closest to the NUMA node of the CPU assigned via taskset to PSM
process. If this HCA is unusable then another unit is selected based
on the algorithm that is currently enforced or selected by PSM - round
robin context selection 'within' or 'across' HCA's.

Fixed a bug wherein contexts are setup on the NUMA node on which the
processes are opened (setup_ctxt()) and not on the NUMA node that the
driver recommends the CPU on.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Vinit Agnihotri <vinit.abhay.agnihotri@intel.com>
Signed-off-by: Ramkrishna Vepa <ramkrishna.vepa@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2013-06-21 17:19:49 -07:00
..
amso1100 drivers/infiniband/hw/amso1100: convert to using idr_alloc_cyclic 2013-04-29 18:28:41 -07:00
cxgb3 drivers/infiniband/hw: rename random32() to prandom_u32() 2013-05-07 18:38:27 -07:00
cxgb4 InfiniBand/RDMA changes for the 3.10 merge window: 2013-05-08 15:29:48 -07:00
ehca IB/ehca: convert to idr_alloc() 2013-02-27 19:10:16 -08:00
ipath InfiniBand/RDMA changes for the 3.10 merge window: 2013-05-08 15:29:48 -07:00
mlx4 net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
mthca Drivers: infinband: remove __dev* attributes. 2013-01-03 15:57:15 -08:00
nes net: vlan: add protocol argument to packet tagging functions 2013-04-19 14:46:06 -04:00
ocrdma IB/ocrdma: convert to idr_alloc() 2013-02-27 19:10:17 -08:00
qib IB/qib: Add dual-rail NUMA awareness for PSM processes 2013-06-21 17:19:49 -07:00