DPDK
24.07.0
|
Go to the source code of this file.
Data Structures | |
struct | rte_pdcp_group |
Functions | |
static struct rte_pdcp_entity * | rte_pdcp_en_from_cop (const struct rte_crypto_op *cop) |
static uint16_t | rte_pdcp_pkt_crypto_group (struct rte_crypto_op *cop[], struct rte_mbuf *mb[], struct rte_pdcp_group grp[], uint16_t num) |
RTE PDCP grouping support. It is not recommended to include this file directly, include <rte_pdcp.h> instead. Provides helper functions to process completed crypto-ops and group related packets by sessions they belong to.
Definition in file rte_pdcp_group.h.
|
static |
Take crypto-op as an input and extract pointer to related PDCP entity.
cop | The address of an input rte_crypto_op structure. |
Definition at line 50 of file rte_pdcp_group.h.
|
inlinestatic |
Take as input completed crypto ops, extract related mbufs and group them by rte_pdcp_entity they belong to. Mbuf for which the crypto operation has failed would be flagged using RTE_MBUF_F_RX_SEC_OFFLOAD_FAILED flag in rte_mbuf.ol_flags. The crypto_ops would be freed after the grouping.
Note that application must ensure only crypto-ops prepared by lib_pdcp is provided back to
cop | The address of an array of num pointers to the input rte_crypto_op structures. | |
[out] | mb | The address of an array of num pointers to output rte_mbuf structures. |
[out] | grp | The address of an array of num to output rte_pdcp_group structures. |
num | The maximum number of crypto-ops to process. |
Definition at line 83 of file rte_pdcp_group.h.