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
vhost: fix file descriptors naming
[dpdk.git]
/
lib
/
librte_vhost
/
vhost_rxtx.c
diff --git
a/lib/librte_vhost/vhost_rxtx.c
b/lib/librte_vhost/vhost_rxtx.c
index
c7c9550
..
535c7a1
100644
(file)
--- a/
lib/librte_vhost/vhost_rxtx.c
+++ b/
lib/librte_vhost/vhost_rxtx.c
@@
-180,7
+180,7
@@
virtio_dev_rx(struct virtio_net *dev, uint16_t queue_id,
/* Kick the guest if necessary. */
if (!(vq->avail->flags & VRING_AVAIL_F_NO_INTERRUPT))
/* Kick the guest if necessary. */
if (!(vq->avail->flags & VRING_AVAIL_F_NO_INTERRUPT))
- eventfd_write((int)vq->
kick
fd, 1);
+ eventfd_write((int)vq->
call
fd, 1);
return count;
}
return count;
}
@@
-507,7
+507,7
@@
virtio_dev_merge_rx(struct virtio_net *dev, uint16_t queue_id,
/* Kick the guest if necessary. */
if (!(vq->avail->flags & VRING_AVAIL_F_NO_INTERRUPT))
/* Kick the guest if necessary. */
if (!(vq->avail->flags & VRING_AVAIL_F_NO_INTERRUPT))
- eventfd_write((int)vq->
kick
fd, 1);
+ eventfd_write((int)vq->
call
fd, 1);
}
return count;
}
return count;
@@
-725,6
+725,6
@@
rte_vhost_dequeue_burst(struct virtio_net *dev, uint16_t queue_id,
vq->used->idx += entry_success;
/* Kick guest if required. */
if (!(vq->avail->flags & VRING_AVAIL_F_NO_INTERRUPT))
vq->used->idx += entry_success;
/* Kick guest if required. */
if (!(vq->avail->flags & VRING_AVAIL_F_NO_INTERRUPT))
- eventfd_write((int)vq->
kick
fd, 1);
+ eventfd_write((int)vq->
call
fd, 1);
return entry_success;
}
return entry_success;
}