Home
last modified time | relevance | path

Searched refs:batch_idx_read (Results 1 – 4 of 4) sorted by relevance

/dpdk/drivers/dma/idxd/
H A Didxd_common.c92 idxd->batch_idx_write + 1 == idxd->batch_idx_read) in __idxd_write_desc()
201 if (idxd->batch_idx_read == idxd->batch_idx_write) in batch_ok()
210 if (++idxd->batch_idx_read > idxd->max_batches) in batch_ok()
211 idxd->batch_idx_read = 0; in batch_ok()
244 next_batch = (idxd->batch_idx_read + 1); in batch_completed()
267 idxd->batch_idx_ring[idxd->batch_idx_read] += ret; in batch_completed()
290 next_batch = (idxd->batch_idx_read + 1); in batch_completed_status()
302 idxd->batch_idx_read = next_batch; in batch_completed_status()
328 idxd->batch_idx_read = next_batch; in batch_completed_status()
419 else if (i == idxd->batch_idx_read) in idxd_dump()
[all …]
H A Didxd_internal.h47 unsigned short batch_idx_read; member
/dpdk/drivers/raw/ioat/
H A Drte_idxd_rawdev_fns.h105 unsigned short batch_idx_read; member
138 if ((idxd->batch_idx_read == 0 && idxd->batch_idx_write == idxd->max_batches) || in __idxd_burst_capacity()
139 idxd->batch_idx_write + 1 == idxd->batch_idx_read) in __idxd_burst_capacity()
176 if ((idxd->batch_idx_read == 0 && idxd->batch_idx_write == idxd->max_batches) || in __idxd_write_desc()
177 idxd->batch_idx_write + 1 == idxd->batch_idx_read) in __idxd_write_desc()
265 rte_prefetch1(&idxd->desc_ring[idxd->batch_idx_ring[idxd->batch_idx_read]]); in __idxd_perform_ops()
312 while (idxd->batch_idx_read != idxd->batch_idx_write) { in __idxd_completed_ops()
313 uint16_t idx_to_chk = idxd->batch_idx_ring[idxd->batch_idx_read]; in __idxd_completed_ops()
349 idxd->batch_idx_read++; in __idxd_completed_ops()
350 if (idxd->batch_idx_read > idxd->max_batches) in __idxd_completed_ops()
[all …]
H A Dioat_common.c91 fprintf(f, "batch idx read: %u\n", rte_idxd->batch_idx_read); in idxd_dev_dump()
249 public->batch_idx_read = 0; in idxd_rawdev_create()