staticstructrte_pdcp_entity*rte_pdcp_en_from_cop(conststructrte_crypto_op*cop)[inline],[static]WarningEXPERIMENTAL: this API may change without prior notice.
Take crypto-op as an input and extract pointer to related PDCP entity.
Parameterscop The address of an input rte_crypto_opstructure.Returns
The pointer to the related rte_pdcp_entitystructure.
Definition at line 50 of file rte_pdcp_group.h.
staticuint16_trte_pdcp_pkt_crypto_group(structrte_crypto_op*cop[],structrte_mbuf*mb[],structrte_pdcp_groupgrp[],uint16_tnum)[inline],[static]WarningEXPERIMENTAL: this API may change without prior notice.
Take as input completed crypto ops, extract related mbufs and group them by rte_pdcp_entitytheybelongto.MbufforwhichthecryptooperationhasfailedwouldbeflaggedusingRTE_MBUF_F_RX_SEC_OFFLOAD_FAILEDflaginrte_mbuf.ol_flags.Thecrypto_opswouldbefreedafterthegrouping.
Note that application must ensure only crypto-ops prepared by lib_pdcp is provided back to
Seealsorte_pdcp_pkt_crypto_group().
Parameterscop The address of an array of num pointers to the input rte_crypto_opstructures.mbTheaddressofanarrayofnumpointerstooutputrte_mbufstructures.grpTheaddressofanarrayofnumtooutputrte_pdcp_groupstructures.numThemaximumnumberofcrypto-opstoprocess.Returns
Number of filled elements in grp array.
Definition at line 83 of file rte_pdcp_group.h.