16#include <rte_compat.h>
26typedef uint16_t (*rte_pdcp_pre_p_t)(
const struct rte_pdcp_entity *entity,
29 uint16_t num, uint16_t *nb_err);
32typedef uint16_t (*rte_pdcp_post_p_t)(
const struct rte_pdcp_entity *entity,
35 uint16_t num, uint16_t *nb_err);
50 rte_pdcp_pre_p_t pre_process;
52 rte_pdcp_post_p_t post_process;
288static inline uint16_t
291 uint16_t num, uint16_t *nb_err)
293 return entity->
pre_process(entity, mb, cop, num, nb_err);
329static inline uint16_t
333 uint16_t num, uint16_t *nb_err)
335 return entity->
post_process(entity, in_mb, out_mb, num, nb_err);
#define __rte_cache_aligned
__rte_experimental struct rte_pdcp_entity * rte_pdcp_entity_establish(const struct rte_pdcp_entity_conf *conf)
__rte_experimental int rte_pdcp_entity_release(struct rte_pdcp_entity *pdcp_entity, struct rte_mbuf *out_mb[])
static __rte_experimental uint16_t rte_pdcp_pkt_pre_process(const struct rte_pdcp_entity *entity, struct rte_mbuf *mb[], struct rte_crypto_op *cop[], uint16_t num, uint16_t *nb_err)
__rte_experimental int rte_pdcp_entity_suspend(struct rte_pdcp_entity *pdcp_entity, struct rte_mbuf *out_mb[])
__rte_experimental struct rte_mbuf * rte_pdcp_control_pdu_create(struct rte_pdcp_entity *pdcp_entity, enum rte_pdcp_ctrl_pdu_type type)
void(* rte_pdcp_t_reordering_stop_cb_t)(void *timer, void *args)
static __rte_experimental uint16_t rte_pdcp_pkt_post_process(const struct rte_pdcp_entity *entity, struct rte_mbuf *in_mb[], struct rte_mbuf *out_mb[], uint16_t num, uint16_t *nb_err)
void(* rte_pdcp_t_reordering_start_cb_t)(void *timer, void *args)
__rte_experimental uint16_t rte_pdcp_t_reordering_expiry_handle(const struct rte_pdcp_entity *entity, struct rte_mbuf *out_mb[])
bool out_of_order_delivery
struct rte_mempool * ctrl_pdu_pool
bool status_report_required
struct rte_mempool * sess_mpool
struct rte_pdcp_t_reordering t_reordering
struct rte_mempool * cop_pool
bool reverse_iv_direction
struct rte_crypto_sym_xform * crypto_xfrm
struct rte_security_pdcp_xform pdcp_xfrm
rte_pdcp_post_p_t post_process
rte_pdcp_pre_p_t pre_process
rte_pdcp_t_reordering_stop_cb_t stop
rte_pdcp_t_reordering_start_cb_t start