Searched refs:PACKED_BATCH_SIZE (Results 1 – 6 of 6) sorted by relevance
| /dpdk/drivers/net/virtio/ |
| H A D | virtio_rxtx_packed_neon.h | 58 uint16x4_t pkts[PACKED_BATCH_SIZE]; in virtqueue_enqueue_batch_packed_vec() 87 virtio_for_each_try_unroll(i, 0, PACKED_BATCH_SIZE) { in virtqueue_enqueue_batch_packed_vec() 93 virtio_for_each_try_unroll(i, 0, PACKED_BATCH_SIZE) { in virtqueue_enqueue_batch_packed_vec() 98 uint64x2x2_t desc[PACKED_BATCH_SIZE / 2]; in virtqueue_enqueue_batch_packed_vec() 150 vq->vq_avail_idx += PACKED_BATCH_SIZE; in virtqueue_enqueue_batch_packed_vec() 151 vq->vq_free_cnt -= PACKED_BATCH_SIZE; in virtqueue_enqueue_batch_packed_vec() 207 uint64x2_t desc[PACKED_BATCH_SIZE / 2]; in virtqueue_dequeue_batch_packed_vec() 208 uint64x2x2_t mbp[PACKED_BATCH_SIZE / 2]; in virtqueue_dequeue_batch_packed_vec() 209 uint64x2_t pkt_mb[PACKED_BATCH_SIZE]; in virtqueue_dequeue_batch_packed_vec() 284 vq->vq_free_cnt += PACKED_BATCH_SIZE; in virtqueue_dequeue_batch_packed_vec() [all …]
|
| H A D | virtio_rxtx_packed_avx.h | 33 if (unlikely((idx + PACKED_BATCH_SIZE) > vq->vq_nentries)) in virtqueue_enqueue_batch_packed_vec() 62 virtio_for_each_try_unroll(i, 0, PACKED_BATCH_SIZE) { in virtqueue_enqueue_batch_packed_vec() 68 virtio_for_each_try_unroll(i, 0, PACKED_BATCH_SIZE) { in virtqueue_enqueue_batch_packed_vec() 103 virtio_for_each_try_unroll(i, 0, PACKED_BATCH_SIZE) { in virtqueue_enqueue_batch_packed_vec() 115 virtio_for_each_try_unroll(i, 0, PACKED_BATCH_SIZE) { in virtqueue_enqueue_batch_packed_vec() 129 vq->vq_avail_idx += PACKED_BATCH_SIZE; in virtqueue_enqueue_batch_packed_vec() 130 vq->vq_free_cnt -= PACKED_BATCH_SIZE; in virtqueue_enqueue_batch_packed_vec() 148 uint64_t addrs[PACKED_BATCH_SIZE]; in virtqueue_dequeue_batch_packed_vec() 186 virtio_for_each_try_unroll(i, 0, PACKED_BATCH_SIZE) { in virtqueue_dequeue_batch_packed_vec() 230 vq->vq_free_cnt += PACKED_BATCH_SIZE; in virtqueue_dequeue_batch_packed_vec() [all …]
|
| H A D | virtio_rxtx_packed.c | 49 if (remained >= PACKED_BATCH_SIZE) { in virtio_xmit_pkts_packed_vec() 52 nb_tx += PACKED_BATCH_SIZE; in virtio_xmit_pkts_packed_vec() 53 remained -= PACKED_BATCH_SIZE; in virtio_xmit_pkts_packed_vec() 94 if (likely(num > PACKED_BATCH_SIZE)) in virtio_recv_pkts_packed_vec() 95 num = num - ((vq->vq_used_cons_idx + num) % PACKED_BATCH_SIZE); in virtio_recv_pkts_packed_vec() 98 if (num >= PACKED_BATCH_SIZE) { in virtio_recv_pkts_packed_vec() 101 nb_rx += PACKED_BATCH_SIZE; in virtio_recv_pkts_packed_vec() 102 num -= PACKED_BATCH_SIZE; in virtio_recv_pkts_packed_vec()
|
| H A D | virtio_rxtx_packed.h | 63 #define PACKED_BATCH_SIZE 4 macro 65 #define PACKED_BATCH_SIZE (RTE_CACHE_LINE_SIZE / \ macro 68 #define PACKED_BATCH_MASK (PACKED_BATCH_SIZE - 1) 280 batch_num = PACKED_BATCH_SIZE; in virtio_recv_refill_packed_vec() 281 if (unlikely((idx + PACKED_BATCH_SIZE) > vq->vq_nentries)) in virtio_recv_refill_packed_vec()
|
| /dpdk/lib/vhost/ |
| H A D | virtio_net.c | 374 PACKED_BATCH_SIZE); in vhost_flush_enqueue_batch_packed() 432 PACKED_BATCH_SIZE); in vhost_shadow_dequeue_batch_packed() 1362 uint16_t ids[PACKED_BATCH_SIZE]; in virtio_dev_rx_batch_packed_copy() 1399 uint64_t desc_addrs[PACKED_BATCH_SIZE]; in virtio_dev_rx_sync_batch_packed() 1400 uint64_t lens[PACKED_BATCH_SIZE]; in virtio_dev_rx_sync_batch_packed() 1453 pkt_idx += PACKED_BATCH_SIZE; in virtio_dev_rx_packed() 2800 uint64_t lens[PACKED_BATCH_SIZE]; in vhost_reserve_avail_batch_packed() 2801 uint64_t buf_lens[PACKED_BATCH_SIZE]; in vhost_reserve_avail_batch_packed() 2871 uint16_t ids[PACKED_BATCH_SIZE]; in virtio_dev_tx_batch_packed() 2895 ids[PACKED_BATCH_SIZE - 1]); in virtio_dev_tx_batch_packed() [all …]
|
| H A D | vhost.h | 64 #define PACKED_BATCH_SIZE (RTE_CACHE_LINE_SIZE / \ macro 66 #define PACKED_BATCH_MASK (PACKED_BATCH_SIZE - 1)
|