IB/rdmavt: Use correct numa node for SRQ allocation
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Tue, 19 Dec 2017 03:56:52 +0000 (19:56 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 5 Jan 2018 18:34:55 +0000 (13:34 -0500)
commitf5b53b043470b28b60a9c50317e3f777a872b77c
tree39e7fb0aa4e2fd78db2baa7131343e6e09b6af24
parent06f2597f75c7ecd9006dd9711ec8c09b4f3d29e3
IB/rdmavt: Use correct numa node for SRQ allocation

Normal receive queue allocation ensures that kernel receive queues
are allocated on the local numa node. Shared receive queues
do not behave the same way.

Ensure that kernel shared receive queues are allocated on the device
local node.

Reviewed-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/srq.c