RTE_ETH_EVENT_IPSEC_DESC(3)
β¨ rte_eth_event_ipsec_desc(3) β¨
okay bestie, so this is a page from the Library Functions Manual and it's literally just one struct's whole story π
her name is rte_eth_event_ipsec_desc and she's the glow-up descriptor for the RTE_ETH_EVENT_IPSEC event. no cap.
πΈ SYNOPSIS πΈ
#include <rte_ethdev.h>
π Data Fields π
enum rte_eth_event_ipsec_subtypesubtypeuint64_tmetadata
π Detailed Description π
so basically, this is the descriptor for the RTE_ETH_EVENT_IPSEC event π¦. the eth dev uses it to send along extra info about the IPsec offload event β like, the event itself walks in and this struct is her little entourage carrying the details β¨.
fr fr, it's defined at line 4175 of the file rte_ethdev.h. iconic placement.
π Field Documentation π
π enum rte_eth_event_ipsec_subtype subtype
this one is the type of the RTE_ETH_EVENT_IPSEC_* event π« β she says WHICH ipsec event we're dealing with.
defined at line 4177 of file rte_ethdev.h. noted. π
π uint64_t metadata
the event specific metadata π«Ά β the little bonus payload that comes attached.
and here's the tea β: for the following events, the userdata registered with the rte_security_session gets returned as the metadata:
RTE_ETH_EVENT_IPSEC_ESN_OVERFLOWRTE_ETH_EVENT_IPSEC_SA_TIME_EXPIRYRTE_ETH_EVENT_IPSEC_SA_BYTE_EXPIRYRTE_ETH_EVENT_IPSEC_SA_PKT_EXPIRYRTE_ETH_EVENT_IPSEC_SA_BYTE_HARD_EXPIRYRTE_ETH_EVENT_IPSEC_SA_PKT_HARD_EXPIRY
like, all six of those just hand your userdata back to you as the metadata. slay π.
β See also β
struct rte_security_session_conf
and yeah, this field is defined at line 4195 of file rte_ethdev.h π (she's down there, deep in the header, living her best life).
π Author π
generated automatically by Doxygen for DPDK, straight from the source code β so basically the robot wrote it, not a person π.
and that's a wrap, bestie π this page came to you from DPDK, Version 25.11.3 π¦ mwah, go forth and handle your IPsec events, you main character πβ¨
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms