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/af_xdp: support need wakeup feature
[dpdk.git]
/
lib
/
librte_vhost
/
vdpa.c
diff --git
a/lib/librte_vhost/vdpa.c
b/lib/librte_vhost/vdpa.c
index
e915488
..
8e45ce9
100644
(file)
--- a/
lib/librte_vhost/vdpa.c
+++ b/
lib/librte_vhost/vdpa.c
@@
-126,7
+126,7
@@
rte_vdpa_get_device_num(void)
return vdpa_device_num;
}
return vdpa_device_num;
}
-int
__rte_experimental
+int
rte_vdpa_relay_vring_used(int vid, uint16_t qid, void *vring_m)
{
struct virtio_net *dev = get_device(vid);
rte_vdpa_relay_vring_used(int vid, uint16_t qid, void *vring_m)
{
struct virtio_net *dev = get_device(vid);
@@
-181,7
+181,7
@@
rte_vdpa_relay_vring_used(int vid, uint16_t qid, void *vring_m)
return -1;
if (unlikely(dlen < vq->desc[desc_id].len)) {
return -1;
if (unlikely(dlen < vq->desc[desc_id].len)) {
- idesc = alloc_copy_ind_table(dev, vq,
+ idesc =
vhost_
alloc_copy_ind_table(dev, vq,
vq->desc[desc_id].addr,
vq->desc[desc_id].len);
if (unlikely(!idesc))
vq->desc[desc_id].addr,
vq->desc[desc_id].len);
if (unlikely(!idesc))