linux/drivers/infiniband/sw
Mike Marciniszyn cf4c906936 IB/rdmavt: Allocate CQ memory on the correct node
[ Upstream commit db9a2c6f9b ]

CQ allocation does not ensure that completion queue entries
and the completion queue structure are allocated on the correct
numa node.

Fix by allocating the rvt_cq and kernel CQ entries on the device node,
leaving the user CQ entries on the default local node.  Also ensure
CQ resizes use the correct allocator when extending a CQ.

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2018-04-12 12:32:15 +02:00
..
rdmavt IB/rdmavt: Allocate CQ memory on the correct node 2018-04-12 12:32:15 +02:00
rxe RDMA/rxe: Fix rxe_qp_cleanup() 2018-02-22 15:42:15 +01:00
Makefile Soft RoCE driver 2016-08-04 11:13:12 -04:00