Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/vdpa/ifc/
H A Difcvf_vdpa.c434 int i, kickfd, epfd, nfds = 0; in notify_relay() local
453 vring.kickfd = -1; in notify_relay()
457 ev.data.u64 = qid | (uint64_t)vring.kickfd << 32; in notify_relay()
458 if (epoll_ctl(epfd, EPOLL_CTL_ADD, vring.kickfd, &ev) < 0) { in notify_relay()
475 kickfd = (uint32_t)(events[i].data.u64 >> 32); in notify_relay()
477 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()
/f-stack/dpdk/drivers/net/virtio/virtio_user/
H A Dvirtio_user_dev.c259 int kickfd; in virtio_user_dev_init_notify() local
277 kickfd = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK); in virtio_user_dev_init_notify()
278 if (kickfd < 0) { in virtio_user_dev_init_notify()
283 dev->kickfds[i] = kickfd; in virtio_user_dev_init_notify()
/f-stack/dpdk/lib/librte_vhost/
H A Dvhost.c281 if (vq->kickfd >= 0) in cleanup_vq()
282 close(vq->kickfd); in cleanup_vq()
555 vq->kickfd = VIRTIO_UNINITIALIZED_EVENTFD; in init_vring_queue()
924 vring->kickfd = vq->kickfd; in rte_vhost_get_vhost_vring()
H A Dvhost_user.c1301 vq->kickfd != VIRTIO_UNINITIALIZED_EVENTFD && in vq_is_ready()
1889 if (vq->kickfd >= 0) in vhost_user_set_vring_kick()
1890 close(vq->kickfd); in vhost_user_set_vring_kick()
1891 vq->kickfd = file.fd; in vhost_user_set_vring_kick()
1952 if (vq->kickfd >= 0) in vhost_user_get_vring_base()
1953 close(vq->kickfd); in vhost_user_get_vring_base()
1955 vq->kickfd = VIRTIO_UNINITIALIZED_EVENTFD; in vhost_user_get_vring_base()
H A Drte_vhost.h219 int kickfd; member
H A Dvhost.h159 int kickfd; member
/f-stack/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa_virtq.c340 virtq->intr_handle.fd = vq.kickfd; in mlx5_vdpa_virtq_setup()
498 if (vq.size != virtq->vq_size || vq.kickfd != virtq->intr_handle.fd) in mlx5_vdpa_virtq_is_modified()
/f-stack/dpdk/drivers/net/vhost/
H A Drte_eth_vhost.c701 if (vring.kickfd < 0) { in eth_vhost_install_intr()
706 dev->intr_handle->efds[i] = vring.kickfd; in eth_vhost_install_intr()
917 eth_dev->intr_handle->efds[rx_idx] = vring.kickfd; in vring_conf_update()