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

Function openssl_pmd_dequeue_burst

dpdk/drivers/crypto/openssl/rte_openssl_pmd.c:3370–3383  ·  view source on GitHub ↗

Dequeue burst */

Source from the content-addressed store, hash-verified

3368
3369/** Dequeue burst */
3370static uint16_t
3371openssl_pmd_dequeue_burst(void *queue_pair, struct rte_crypto_op **ops,
3372 uint16_t nb_ops)
3373{
3374 struct openssl_qp *qp = queue_pair;
3375
3376 unsigned int nb_dequeued = 0;
3377
3378 nb_dequeued = rte_ring_dequeue_burst(qp->processed_ops,
3379 (void **)ops, nb_ops, NULL);
3380 qp->stats.dequeued_count += nb_dequeued;
3381
3382 return nb_dequeued;
3383}
3384
3385/** Create OPENSSL crypto device */
3386static int

Callers

nothing calls this directly

Calls 1

rte_ring_dequeue_burstFunction · 0.85

Tested by

no test coverage detected