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

Function process_crypto_request

dpdk/app/test/test_pdcp.c:545–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545static struct rte_crypto_op *
546process_crypto_request(uint8_t dev_id, struct rte_crypto_op *op)
547{
548 if (rte_cryptodev_enqueue_burst(dev_id, 0, &op, 1) != 1) {
549 RTE_LOG(ERR, USER1, "Error sending packet to cryptodev\n");
550 return NULL;
551 }
552
553 op = NULL;
554
555 while (rte_cryptodev_dequeue_burst(dev_id, 0, &op, 1) == 0)
556 rte_pause();
557
558 return op;
559}
560
561static uint32_t
562pdcp_sn_from_raw_get(const void *data, enum rte_security_pdcp_sn_size size)

Callers 1

test_process_packetsFunction · 0.70

Calls 3

rte_pauseFunction · 0.50

Tested by

no test coverage detected