drivers/qat: fix queue pair NUMA node
authorTomasz Jozwiak <tomaszx.jozwiak@intel.com>
Tue, 26 Mar 2019 14:20:48 +0000 (15:20 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 2 Apr 2019 14:50:24 +0000 (16:50 +0200)
commit1e796b11febb8fd3fa380f762aadadd6cc5a11e8
tree72731d2626d8227204d609c74c32aa28f42bd9fb
parent1aeb9fdb2e8cdf1d820f57c7499cee5351e4c5c1
drivers/qat: fix queue pair NUMA node

This patch assigns QAT queue pair resources to the correct NUMA nodes.
Any DMA'able memory should use NUMA node of QAT device
rather than socket_id of the initializing process.

Fixes: 98c4a35c736f ("crypto/qat: move common qat files to common dir")
Fixes: a795248d740b ("compress/qat: add configure and clear functions")
Cc: stable@dpdk.org
Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/common/qat/qat_qp.c
drivers/compress/qat/qat_comp_pmd.c