staticstructrte_ipsec_session*rte_ipsec_ses_from_crypto(conststructrte_crypto_op*cop)[inline],[static]
Take crypto-op as an input and extract pointer to related ipsec session.
Parameterscop The address of an input rte_crypto_opstructure.Returns
The pointer to the related rte_ipsec_sessionstructure.
Definition at line 45 of file rte_ipsec_group.h.
staticuint16_trte_ipsec_pkt_crypto_group(conststructrte_crypto_op*cop[],structrte_mbuf*mb[],structrte_ipsec_groupgrp[],uint16_tnum)[inline],[static]
Take as input completed crypto ops, extract related mbufs and group them by rte_ipsec_session they belong
to. For mbuf which crypto-op wasn't completed successfully RTE_MBUF_F_RX_SEC_OFFLOAD_FAILED will be
raised in ol_flags. Note that mbufs with undetermined SA (session-less) are not freed by the function,
but are placed beyond mbufs for the last valid group. It is a user responsibility to handle them further.
Parameterscop The address of an array of num pointers to the input rte_crypto_opstructures.mbTheaddressofanarrayofnumpointerstooutputrte_mbufstructures.grpTheaddressofanarrayofnumtooutputrte_ipsec_groupstructures.numThemaximumnumberofcrypto-opstoprocess.Returns
Number of filled elements in grp array.
Definition at line 82 of file rte_ipsec_group.h.