MCPcopy Create free account
hub / github.com/F-Stack/f-stack / nitrox_sym_dev_deq_burst

Function nitrox_sym_dev_deq_burst

dpdk/drivers/crypto/nitrox/nitrox_sym.c:712–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712static uint16_t
713nitrox_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
730static struct rte_cryptodev_ops nitrox_cryptodev_ops = {
731 .dev_configure = nitrox_sym_dev_config,

Callers

nothing calls this directly

Calls 2

nitrox_qp_used_countFunction · 0.85
nitrox_deq_single_opFunction · 0.85

Tested by

no test coverage detected