Searched refs:max_ops (Results 1 – 7 of 7) sorted by relevance
| /dpdk/drivers/dma/idxd/ |
| H A D | idxd_common.c | 189 if (max_ops == 0) in batch_ok() 194 ret = RTE_MIN((uint16_t)(idxd->ids_avail - idxd->ids_returned), max_ops); in batch_ok() 214 ret = RTE_MIN((uint16_t)(idxd->ids_avail - idxd->ids_returned), max_ops); in batch_ok() 228 batch_completed(struct idxd_dmadev *idxd, uint16_t max_ops, bool *has_error) in batch_completed() argument 233 int ret = batch_ok(idxd, max_ops, NULL); in batch_completed() 260 ret = RTE_MIN((uint16_t)(i - idxd->ids_returned), max_ops); in batch_completed() 261 if (ret < max_ops) in batch_completed() 283 int ret = batch_ok(idxd, max_ops, status); in batch_completed_status() 317 for (ret = 0; ret < b_len && ret < max_ops; ret++) { in batch_completed_status() 377 batch = batch_completed(idxd, max_ops - ret, has_error); in idxd_completed() [all …]
|
| H A D | idxd_internal.h | 97 uint16_t idxd_completed(void *dev_private, uint16_t qid, uint16_t max_ops, 100 uint16_t max_ops, uint16_t *last_idx,
|
| /dpdk/drivers/dma/ioat/ |
| H A D | ioat_dmadev.c | 418 ioat_completed(void *dev_private, uint16_t qid __rte_unused, const uint16_t max_ops, in ioat_completed() argument 439 if (count > max_ops) in ioat_completed() 440 count = max_ops; in ioat_completed() 442 if (count == max_ops || state != IOAT_CHANSTS_HALTED) { in ioat_completed() 469 uint16_t max_ops, uint16_t *last_idx, enum rte_dma_status_code *status) in ioat_completed_status() argument 482 for (i = 0; i < RTE_MIN(count + 1, max_ops); i++) in ioat_completed_status() 486 if (count > max_ops) in ioat_completed_status() 487 count = max_ops; in ioat_completed_status() 489 if (count == max_ops || state != IOAT_CHANSTS_HALTED) in ioat_completed_status() 507 count = RTE_MIN(count + 1, max_ops); in ioat_completed_status()
|
| /dpdk/app/test/ |
| H A D | test_dmadev.c | 231 const uint16_t max_ops = 4; in test_enqueue_copies() local 245 for (i = 0; i < max_ops; i++) in test_enqueue_copies() 254 count = rte_dma_completed(dev_id, vchan, max_ops * 2, &id, NULL); in test_enqueue_copies() 255 if (count != max_ops) in test_enqueue_copies() 257 count, max_ops); in test_enqueue_copies()
|
| /dpdk/drivers/raw/ioat/ |
| H A D | rte_idxd_rawdev_fns.h | 305 __idxd_completed_ops(int dev_id, uint8_t max_ops, uint32_t *status, uint8_t *num_unsuccessful, in __idxd_completed_ops() argument 377 if (n >= max_ops) in __idxd_completed_ops()
|
| H A D | ioat_rawdev_test.c | 187 const uint16_t max_ops = 4; in test_enqueue_copies() local 202 for (i = 0; i < max_ops; i++) { in test_enqueue_copies() 218 (void *)&completed[max_completions]) != max_ops) { in test_enqueue_copies()
|
| /dpdk/lib/eventdev/ |
| H A D | rte_event_crypto_adapter.c | 807 unsigned int max_ops) in eca_crypto_adapter_run() argument 809 unsigned int ops_left = max_ops; in eca_crypto_adapter_run() 825 if (ops_left == max_ops) in eca_crypto_adapter_run()
|