*
* RTE IPsec support.
*
- * @warning
- * @b EXPERIMENTAL:
- * All functions in this file may be changed or removed without prior notice.
- *
* librte_ipsec provides a framework for data-path IPsec protocol
* processing (ESP/AH).
*/
* - Zero if operation completed successfully.
* - -EINVAL if the parameters are invalid.
*/
-__rte_experimental
int
rte_ipsec_session_prepare(struct rte_ipsec_session *ss);
* @return
* Number of successfully processed packets, with error code set in rte_errno.
*/
-__rte_experimental
static inline uint16_t
rte_ipsec_pkt_crypto_prepare(const struct rte_ipsec_session *ss,
struct rte_mbuf *mb[], struct rte_crypto_op *cop[], uint16_t num)
return ss->pkt_func.prepare.async(ss, mb, cop, num);
}
-__rte_experimental
static inline uint16_t
rte_ipsec_pkt_cpu_prepare(const struct rte_ipsec_session *ss,
struct rte_mbuf *mb[], uint16_t num)
* @return
* Number of successfully processed packets, with error code set in rte_errno.
*/
-__rte_experimental
static inline uint16_t
rte_ipsec_pkt_process(const struct rte_ipsec_session *ss, struct rte_mbuf *mb[],
uint16_t num)