| 543 | } |
| 544 | |
| 545 | static struct rte_crypto_op * |
| 546 | process_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 | |
| 561 | static uint32_t |
| 562 | pdcp_sn_from_raw_get(const void *data, enum rte_security_pdcp_sn_size size) |
no test coverage detected