bdev/compress: use comp bdev assigned queue pair in poller
Previously hardcoded to 0 for iniital dev/test. Change-Id: If3b98b0083ff52366eb4deaadb5ffb6a277f904c Signed-off-by: paul luse <paul.e.luse@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/454681 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
parent
96fe0fb199
commit
3cf1cd0b14
@ -534,7 +534,8 @@ comp_dev_poller(void *args)
|
||||
struct vbdev_comp_op *op_to_resubmit;
|
||||
int rc, i;
|
||||
|
||||
num_deq = rte_compressdev_dequeue_burst(cdev_id, 0, deq_ops, NUM_MAX_INFLIGHT_OPS);
|
||||
num_deq = rte_compressdev_dequeue_burst(cdev_id, comp_bdev->device_qp->qp, deq_ops,
|
||||
NUM_MAX_INFLIGHT_OPS);
|
||||
for (i = 0; i < num_deq; i++) {
|
||||
reduce_args = (struct spdk_reduce_vol_cb_args *)deq_ops[i]->m_src->userdata;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user