RTE_SECURITY_IPSEC_LIFETIME(3)
π rte_security_ipsec_lifetime π
okay bestie, sit down, hydrate, and let's talk about rte_security_ipsec_lifetime β it's a struct from the DPDK Library Functions Manual, and honestly? she's giving us the vibe-check rules for how long an IPsec SA is allowed to keep going πΈ
β¨ NAME β¨
rte_security_ipsec_lifetime β the little struct that sets the soft and hard lifetime limits for an IPsec SA, so nobody's out here processing packets forever like it's a group chat that never ends π
π SYNOPSIS π
#include <rte_security.h>
π Data Fields
uint64_t packets_soft_limituint64_t bytes_soft_limituint64_t packets_hard_limituint64_t bytes_hard_limit
π Detailed Description π
so, this struct is what you use to configure the soft and hard lifetime of an IPsec SA. no cap π«
the lifetime of an IPsec SA specifies the maximum number of packets or bytes that can be processed. and the moment any hard limit is reached, IPsec operations would start failing β like, that's it, the SA is done, pack it up π«Ά
the soft limits are the β¨ early-warning besties β¨ β you specify them to generate a notification when the SA is approaching those hard limits for lifetime. here's how that plays out:
- for inline operations, reaching the soft expiry limit would result in raising an eth event for the same π£
- for lookaside operations, this would result in a warning returned in
rte_crypto_op.aux_flagsβ οΈ
this whole thing lives at Definition at line 285 of file rte_security.h. iconic placement, truly π
π¦ Field Documentation π¦
uint64_t packets_soft_limitβ soft expiry limit, counted in number of packets. Definition at line 286 of filerte_security.h. πuint64_t bytes_soft_limitβ soft expiry limit, counted in bytes. Definition at line 288 of filerte_security.h. πuint64_t packets_hard_limitβ hard expiry limit, counted in number of packets. Definition at line 290 of filerte_security.h. πuint64_t bytes_hard_limitβ hard expiry limit, counted in bytes. Definition at line 292 of filerte_security.h. π
soft = the gentle heads-up. hard = the actual wall. once a hard limit hits, operations fail. periodt. π«
π Author π
Generated automatically by Doxygen for DPDK from the source code. yes, the robot wrote it, and honestly it ate πβ¨
and that's the whole page, bestie!! this was pulled straight from the DPDK Version 25.11.3 docs, so go forth, set your limits, and stay hydrated π§ππ
π¦ 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