diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2017-12-19 06:57:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-12 13:32:15 +0300 |
commit | cf4c906936513fd62861fbfffb55e6d136491601 (patch) | |
tree | 221c17077c021e6b2b83c25510f69bae4173d39f /block | |
parent | da5e12ab599a61537cbaafe801e7422d1f43ac53 (diff) | |
download | linux-cf4c906936513fd62861fbfffb55e6d136491601.tar.xz |
IB/rdmavt: Allocate CQ memory on the correct node
[ Upstream commit db9a2c6f9b6196b889b98e961cb9a37617b11ccf ]
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions