Home
last modified time | relevance | path

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

/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()
198 vq->vq_packed.used_wrap_counter = 1; in virtqueue_txvq_reset_packed()
H A Dvirtqueue.h276 bool used_wrap_counter; member
373 return avail == used && used == vq->vq_packed.used_wrap_counter; in desc_is_used()
630 (vq)->vq_packed.used_wrap_counter); \
879 vq->vq_packed.used_wrap_counter ^= 1; in virtio_xmit_cleanup_inorder_packed()
909 vq->vq_packed.used_wrap_counter ^= 1; in virtio_xmit_cleanup_normal_packed()
H A Dvirtio_rxtx_packed_avx.h173 if (vq->vq_packed.used_wrap_counter) in virtqueue_dequeue_batch_packed_vec()
235 vq->vq_packed.used_wrap_counter ^= 1; in virtqueue_dequeue_batch_packed_vec()
H A Dvirtio_rxtx_packed_neon.h225 if (vq->vq_packed.used_wrap_counter) in virtqueue_dequeue_batch_packed_vec()
289 vq->vq_packed.used_wrap_counter ^= 1; in virtqueue_dequeue_batch_packed_vec()
H A Dvirtio_rxtx_packed.h255 vq->vq_packed.used_wrap_counter ^= 1; in virtqueue_dequeue_single_packed_vec()
H A Dvirtio_user_ethdev.c195 dev->packed_queues[queue_idx].used_wrap_counter = true; in virtio_user_setup_queue_packed()
H A Dvirtio_ethdev.c221 vq->vq_packed.used_wrap_counter ^= 1; in virtio_send_command_packed()
233 vq->vq_packed.used_wrap_counter); in virtio_send_command_packed()
538 vq->vq_packed.used_wrap_counter = 1; in virtio_init_queue()
1420 if (vq->vq_packed.used_wrap_counter) in virtio_get_monitor_addr()
H A Dvirtio_rxtx.c162 vq->vq_packed.used_wrap_counter ^= 1; in virtqueue_dequeue_burst_rx_packed()
/dpdk/examples/vhost_blk/
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()
671 vq->used_wrap_counter = vq->last_used_idx & in new_device()
732 vq->last_used_idx |= (vq->used_wrap_counter << in destroy_device()
H A Dvhost_blk.h41 bool used_wrap_counter; member
/dpdk/drivers/net/virtio/virtio_user/
H A Dvirtio_user_dev.h24 bool used_wrap_counter; member
H A Dvirtio_user_dev.c826 vq->used_wrap_counter)) { in virtio_user_handle_cq_packed()
832 if (vq->used_wrap_counter) in virtio_user_handle_cq_packed()
841 vq->used_wrap_counter ^= 1; in virtio_user_handle_cq_packed()
/dpdk/lib/vhost/
H A Dvhost.c627 vq->used_wrap_counter = 1; in alloc_vring_queue()
1187 inflight_info->old_used_wrap_counter = inflight_info->used_wrap_counter; in rte_vhost_clr_inflight_desc_packed()
1270 inflight_info->used_wrap_counter = in rte_vhost_set_last_inflight_io_packed()
1271 !inflight_info->used_wrap_counter; in rte_vhost_set_last_inflight_io_packed()
1536 *last_used_idx = (vq->used_wrap_counter << 15) | in rte_vhost_get_vring_base()
1567 vq->used_wrap_counter = !!(last_used_idx & (1 << 15)); in rte_vhost_set_vring_base()
H A Dvhost.h274 bool used_wrap_counter; member
508 vq->used_wrap_counter ^= 1; in vq_inc_last_used_packed()
914 if (vq->used_wrap_counter != off_wrap >> 15) in vhost_vring_call_packed()
H A Dvirtio_net.c292 if (vq->used_wrap_counter) { in vhost_flush_enqueue_shadow_packed()
358 flags = PACKED_DESC_ENQUEUE_USED_FLAG(vq->used_wrap_counter); in vhost_flush_enqueue_batch_packed()
389 PACKED_DESC_DEQUEUE_USED_FLAG(vq->used_wrap_counter); in vhost_shadow_dequeue_batch_packed_inorder()
407 flags = PACKED_DESC_DEQUEUE_USED_FLAG(vq->used_wrap_counter); in vhost_shadow_dequeue_batch_packed()
446 if (vq->used_wrap_counter) { in vhost_shadow_dequeue_single_packed()
480 if (vq->used_wrap_counter) { in vhost_shadow_dequeue_single_packed_inorder()
1931 if (vq->used_wrap_counter) { in write_back_completed_descs_packed()
H A Drte_vhost.h181 uint8_t used_wrap_counter; member
H A Dvhost_user.c920 vq->used_wrap_counter = vq->avail_wrap_counter; in vhost_user_set_vring_base()
1618 inflight_packed->used_wrap_counter = 1; in vhost_user_get_inflight_fd()
1928 inflight_packed->used_wrap_counter; in vhost_check_queue_inflights_packed()
1934 inflight_packed->used_wrap_counter = in vhost_check_queue_inflights_packed()