Home
last modified time | relevance | path

Searched refs:kickfd (Results 1 – 8 of 8) sorted by relevance

/dpdk/drivers/vdpa/ifc/
H A Difcvf_vdpa.c432 int i, kickfd, epfd, nfds = 0; in notify_relay() local
451 vring.kickfd = -1; in notify_relay()
455 ev.data.u64 = qid | (uint64_t)vring.kickfd << 32; in notify_relay()
456 if (epoll_ctl(epfd, EPOLL_CTL_ADD, vring.kickfd, &ev) < 0) { in notify_relay()
473 kickfd = (uint32_t)(events[i].data.u64 >> 32); in notify_relay()
475 nbytes = read(kickfd, &buf, 8); in notify_relay()
734 vring.kickfd = -1; in vring_relay()
738 ev.data.u64 = qid << 1 | (uint64_t)vring.kickfd << 32; in vring_relay()
739 if (epoll_ctl(epfd, EPOLL_CTL_ADD, vring.kickfd, &ev) < 0) { in vring_relay()
/dpdk/drivers/net/virtio/virtio_user/
H A Dvirtio_user_dev.c348 int kickfd; in virtio_user_dev_init_notify() local
360 kickfd = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK); in virtio_user_dev_init_notify()
361 if (kickfd < 0) { in virtio_user_dev_init_notify()
367 dev->kickfds[i] = kickfd; in virtio_user_dev_init_notify()
/dpdk/lib/vhost/
H A Dvhost.c289 if (vq->kickfd >= 0) in cleanup_vq()
290 close(vq->kickfd); in cleanup_vq()
564 vq->kickfd = VIRTIO_UNINITIALIZED_EVENTFD; in init_vring_queue()
960 vring->kickfd = vq->kickfd; in rte_vhost_get_vhost_vring()
H A Dvhost_user.c1436 vq->kickfd != VIRTIO_UNINITIALIZED_EVENTFD && in vq_is_ready()
2039 if (vq->kickfd >= 0) in vhost_user_set_vring_kick()
2040 close(vq->kickfd); in vhost_user_set_vring_kick()
2041 vq->kickfd = file.fd; in vhost_user_set_vring_kick()
2099 if (vq->kickfd >= 0) in vhost_user_get_vring_base()
2100 close(vq->kickfd); in vhost_user_get_vring_base()
2102 vq->kickfd = VIRTIO_UNINITIALIZED_EVENTFD; in vhost_user_get_vring_base()
H A Drte_vhost.h224 int kickfd; member
H A Dvhost.h292 int kickfd; member
/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa_virtq.c375 if (rte_intr_fd_set(virtq->intr_handle, vq.kickfd)) in mlx5_vdpa_virtq_setup()
520 if (vq.size != virtq->vq_size || vq.kickfd != in mlx5_vdpa_virtq_is_modified()
/dpdk/drivers/net/vhost/
H A Drte_eth_vhost.c695 if (vring.kickfd < 0) { in eth_vhost_install_intr()
701 if (rte_intr_efds_index_set(dev->intr_handle, i, vring.kickfd)) in eth_vhost_install_intr()
929 vring.kickfd)) in vring_conf_update()