git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/virtio: fix kernel set features for multi-queue device
[dpdk.git]
/
examples
/
vhost
/
ioat.c
diff --git
a/examples/vhost/ioat.c
b/examples/vhost/ioat.c
index
60b73be
..
2a2c2d7
100644
(file)
--- a/
examples/vhost/ioat.c
+++ b/
examples/vhost/ioat.c
@@
-113,7
+113,7
@@
open_ioat(const char *value)
goto out;
}
rte_rawdev_start(dev_id);
goto out;
}
rte_rawdev_start(dev_id);
- cb_tracker[dev_id].ioat_space = IOAT_RING_SIZE;
+ cb_tracker[dev_id].ioat_space = IOAT_RING_SIZE
- 1
;
dma_info->nr++;
i++;
}
dma_info->nr++;
i++;
}
@@
-183,7
+183,7
@@
ioat_check_completed_copies_cb(int vid, uint16_t queue_id,
uint16_t dev_id = dma_bind[vid].dmas[queue_id * 2
+ VIRTIO_RXQ].dev_id;
uint16_t dev_id = dma_bind[vid].dmas[queue_id * 2
+ VIRTIO_RXQ].dev_id;
- n_seg = rte_ioat_completed_ops(dev_id, 255, dump, dump);
+ n_seg = rte_ioat_completed_ops(dev_id, 255,
NULL, NULL,
dump, dump);
if (n_seg < 0) {
RTE_LOG(ERR,
VHOST_DATA,
if (n_seg < 0) {
RTE_LOG(ERR,
VHOST_DATA,