Home
last modified time | relevance | path

Searched refs:used_wrap_counter (Results 1 – 15 of 15) sorted by relevance

/f-stack/dpdk/drivers/net/virtio/
H A Dvirtqueue.c79 vq->vq_packed.used_wrap_counter ^= 1; in virtqueue_rxvq_flush_packed()
160 vq->vq_packed.used_wrap_counter = 1; in virtqueue_rxvq_reset_packed()
196 vq->vq_packed.used_wrap_counter = 1; in virtqueue_txvq_reset_packed()
H A Dvirtqueue.h255 bool used_wrap_counter; member
348 return avail == used && used == vq->vq_packed.used_wrap_counter; in desc_is_used()
605 (vq)->vq_packed.used_wrap_counter); \
852 vq->vq_packed.used_wrap_counter ^= 1; in virtio_xmit_cleanup_inorder_packed()
882 vq->vq_packed.used_wrap_counter ^= 1; in virtio_xmit_cleanup_normal_packed()
H A Dvirtio_rxtx_packed_avx.c389 if (vq->vq_packed.used_wrap_counter) in virtqueue_dequeue_batch_packed_vec()
451 vq->vq_packed.used_wrap_counter ^= 1; in virtqueue_dequeue_batch_packed_vec()
504 vq->vq_packed.used_wrap_counter ^= 1; in virtqueue_dequeue_single_packed_vec()
H A Dvirtio_ethdev.c223 vq->vq_packed.used_wrap_counter ^= 1; in virtio_send_command_packed()
235 vq->vq_packed.used_wrap_counter); in virtio_send_command_packed()
502 vq->vq_packed.used_wrap_counter = 1; in virtio_init_queue()
H A Dvirtio_user_ethdev.c391 dev->packed_queues[queue_idx].used_wrap_counter = true; in virtio_user_setup_queue_packed()
H A Dvirtio_rxtx.c171 vq->vq_packed.used_wrap_counter ^= 1; in virtqueue_dequeue_burst_rx_packed()
/f-stack/dpdk/examples/vhost_blk/
H A Dvhost_blk.h41 bool used_wrap_counter; member
H A Dvhost_blk.c116 if (vq->used_wrap_counter) in enqueue_task_packed()
128 vq->used_wrap_counter = !vq->used_wrap_counter; in enqueue_task_packed()
658 vq->used_wrap_counter = vq->last_used_idx & in new_device()
718 vq->last_used_idx |= (vq->used_wrap_counter << in destroy_device()
/f-stack/dpdk/drivers/net/virtio/virtio_user/
H A Dvirtio_user_dev.h23 bool used_wrap_counter; member
H A Dvirtio_user_dev.c768 vq->used_wrap_counter)) { in virtio_user_handle_cq_packed()
774 if (vq->used_wrap_counter) in virtio_user_handle_cq_packed()
783 vq->used_wrap_counter ^= 1; in virtio_user_handle_cq_packed()
/f-stack/dpdk/lib/librte_vhost/
H A Dvhost.c611 vq->used_wrap_counter = 1; in alloc_vring_queue()
1151 inflight_info->old_used_wrap_counter = inflight_info->used_wrap_counter; in rte_vhost_clr_inflight_desc_packed()
1231 inflight_info->used_wrap_counter = in rte_vhost_set_last_inflight_io_packed()
1232 !inflight_info->used_wrap_counter; in rte_vhost_set_last_inflight_io_packed()
1491 *last_used_idx = (vq->used_wrap_counter << 15) | in rte_vhost_get_vring_base()
1521 vq->used_wrap_counter = !!(last_used_idx & (1 << 15)); in rte_vhost_set_vring_base()
H A Dvhost.h185 bool used_wrap_counter; member
413 vq->used_wrap_counter ^= 1; in vq_inc_last_used_packed()
807 if (vq->used_wrap_counter != off_wrap >> 15) in vhost_vring_call_packed()
H A Drte_vhost.h176 uint8_t used_wrap_counter; member
H A Dvirtio_net.c184 if (vq->used_wrap_counter) { in vhost_flush_enqueue_shadow_packed()
249 flags = PACKED_DESC_ENQUEUE_USED_FLAG(vq->used_wrap_counter); in vhost_flush_enqueue_batch_packed()
279 PACKED_DESC_DEQUEUE_USED_FLAG(vq->used_wrap_counter); in vhost_shadow_dequeue_batch_packed_inorder()
297 flags = PACKED_DESC_DEQUEUE_USED_FLAG(vq->used_wrap_counter); in vhost_shadow_dequeue_batch_packed()
336 if (vq->used_wrap_counter) { in vhost_shadow_dequeue_single_packed()
370 if (vq->used_wrap_counter) { in vhost_shadow_dequeue_single_packed_inorder()
H A Dvhost_user.c861 vq->used_wrap_counter = vq->avail_wrap_counter; in vhost_user_set_vring_base()
1480 inflight_packed->used_wrap_counter = 1; in vhost_user_get_inflight_fd()
1780 inflight_packed->used_wrap_counter; in vhost_check_queue_inflights_packed()
1786 inflight_packed->used_wrap_counter = in vhost_check_queue_inflights_packed()