16 #include <rte_compat.h> 30 typedef uint16_t (*rte_pdcp_pre_p_t)(
const struct rte_pdcp_entity *entity,
33 uint16_t num, uint16_t *nb_err);
36 typedef uint16_t (*rte_pdcp_post_p_t)(
const struct rte_pdcp_entity *entity,
39 uint16_t num, uint16_t *nb_err);
54 rte_pdcp_pre_p_t pre_process;
56 rte_pdcp_post_p_t post_process;
292 static inline uint16_t
295 uint16_t num, uint16_t *nb_err)
297 return entity->
pre_process(entity, mb, cop, num, nb_err);
333 static inline uint16_t
337 uint16_t num, uint16_t *nb_err)
339 return entity->
post_process(entity, in_mb, out_mb, num, nb_err);
rte_pdcp_t_reordering_start_cb_t start
void(* rte_pdcp_t_reordering_stop_cb_t)(void *timer, void *args)
rte_pdcp_post_p_t post_process
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)
struct rte_crypto_sym_xform * crypto_xfrm
#define __rte_cache_aligned
__rte_experimental struct rte_pdcp_entity * rte_pdcp_entity_establish(const struct rte_pdcp_entity_conf *conf)
struct rte_mempool * sess_mpool
__rte_experimental uint16_t rte_pdcp_t_reordering_expiry_handle(const struct rte_pdcp_entity *entity, struct rte_mbuf *out_mb[])
void(* rte_pdcp_t_reordering_start_cb_t)(void *timer, void *args)
bool out_of_order_delivery
__rte_experimental int rte_pdcp_entity_suspend(struct rte_pdcp_entity *pdcp_entity, struct rte_mbuf *out_mb[])
struct rte_mempool * ctrl_pdu_pool
__rte_experimental int rte_pdcp_entity_release(struct rte_pdcp_entity *pdcp_entity, struct rte_mbuf *out_mb[])
rte_pdcp_pre_p_t pre_process
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)
bool status_report_required
struct rte_mempool * cop_pool
rte_pdcp_t_reordering_stop_cb_t stop
__rte_experimental struct rte_mbuf * rte_pdcp_control_pdu_create(struct rte_pdcp_entity *pdcp_entity, enum rte_pdcp_ctrl_pdu_type type)
bool reverse_iv_direction