6 #ifndef _RTE_SECURITY_DRIVER_H_ 7 #define _RTE_SECURITY_DRIVER_H_ 20 #include <rte_compat.h> 27 struct rte_security_session {
37 uint8_t driver_priv_data[0];
44 #define SECURITY_GET_SESS_PRIV(s) \ 45 ((void *)(((struct rte_security_session *)s)->driver_priv_data)) 46 #define SECURITY_GET_SESS_PRIV_IOVA(s) \ 47 (((struct rte_security_session *)s)->driver_priv_data_iova) 63 struct rte_security_session *sess);
72 struct rte_security_session *sess);
87 struct rte_security_session *sess,
157 struct rte_security_session *sess,
158 struct rte_security_stats *stats);
172 struct rte_security_macsec_sc_stats *stats);
186 struct rte_security_macsec_sa_stats *stats);
191 int rte_security_dynfield_register(
void);
206 struct rte_security_session *sess,
struct rte_mbuf *mb,
security_macsec_sc_destroy_t macsec_sc_destroy
#define __rte_cache_min_aligned
int(* security_session_update_t)(void *device, struct rte_security_session *sess, struct rte_security_session_conf *conf)
security_session_stats_get_t session_stats_get
const struct rte_security_capability *(* security_capabilities_get_t)(void *device)
security_macsec_sc_create_t macsec_sc_create
security_macsec_sa_destroy_t macsec_sa_destroy
int(* security_session_stats_get_t)(void *device, struct rte_security_session *sess, struct rte_security_stats *stats)
security_session_update_t session_update
security_capabilities_get_t capabilities_get
security_session_destroy_t session_destroy
int(* security_macsec_sa_create_t)(void *device, struct rte_security_macsec_sa *conf)
__extension__ typedef void * RTE_MARKER[0]
int(* security_set_pkt_metadata_t)(void *device, struct rte_security_session *sess, struct rte_mbuf *mb, void *params)
security_session_create_t session_create
security_set_pkt_metadata_t set_pkt_metadata
security_macsec_sa_create_t macsec_sa_create
int(* security_macsec_sc_create_t)(void *device, struct rte_security_macsec_sc *conf)
int(* security_macsec_sc_stats_get_t)(void *device, uint16_t sc_id, struct rte_security_macsec_sc_stats *stats)
security_macsec_sc_stats_get_t macsec_sc_stats_get
int(* security_macsec_sa_stats_get_t)(void *device, uint16_t sa_id, struct rte_security_macsec_sa_stats *stats)
int(* security_session_create_t)(void *device, struct rte_security_session_conf *conf, struct rte_security_session *sess)
security_session_get_size session_get_size
int(* security_session_destroy_t)(void *device, struct rte_security_session *sess)
int(* security_macsec_sa_destroy_t)(void *device, uint16_t sa_id)
security_macsec_sa_stats_get_t macsec_sa_stats_get
int(* security_macsec_sc_destroy_t)(void *device, uint16_t sc_id)
unsigned int(* security_session_get_size)(void *device)