| 710 | } |
| 711 | |
| 712 | static uint16_t |
| 713 | nitrox_sym_dev_deq_burst(void *queue_pair, struct rte_crypto_op **ops, |
| 714 | uint16_t nb_ops) |
| 715 | { |
| 716 | struct nitrox_qp *qp = queue_pair; |
| 717 | uint16_t filled_slots = nitrox_qp_used_count(qp); |
| 718 | int cnt = 0; |
| 719 | |
| 720 | if (nb_ops > filled_slots) |
| 721 | nb_ops = filled_slots; |
| 722 | |
| 723 | for (cnt = 0; cnt < nb_ops; cnt++) |
| 724 | if (nitrox_deq_single_op(qp, &ops[cnt])) |
| 725 | break; |
| 726 | |
| 727 | return cnt; |
| 728 | } |
| 729 | |
| 730 | static struct rte_cryptodev_ops nitrox_cryptodev_ops = { |
| 731 | .dev_configure = nitrox_sym_dev_config, |
nothing calls this directly
no test coverage detected