PACKETS_HARD_LIMIT(3)
πΈ rte_security_ipsec_lifetime β the Library Functions Manual, section 3, bestie β¨
okay so real talk, this page is from the Library Functions Manual (that's section 3, iykyk) and it's literally all about the struct rte_security_ipsec_lifetime. The header up top is all truncated and mysterious like rte_securi...ec_lifetime(3) (main character energy with the ellipsis tbh) but the whole glow-up is about that IPsec SA lifetime config. let's get into it π«Ά
β¨ NAME β¨
rte_security_ipsec_lifetime β no cap, that's the whole name. that's her. π
π¦ SYNOPSIS π¦
#include <rte_security.h>
Data Fields β the four icons of this struct, and yes they're all uint64_t:
uint64_t packets_soft_limit
uint64_t bytes_soft_limit
uint64_t packets_hard_limit
uint64_t bytes_hard_limit
π DESCRIPTION π
So the vibe here is configuring the soft and hard lifetime of an IPsec SA. That's it, that's the plot. π
The lifetime of an IPsec SA specifies the maximum number of packets or bytes that can be processed. and bestie, once any hard limit is reached, IPsec operations start failing. like, done. that's the limit, literally. π
Now the soft limits are the polite little warning system β you can specify them to generate a notification when the SA is approaching the hard limits for lifetime. it's giving "hey bestie, you're getting close" energy. π«Ά
- For inline operations, reaching the soft expiry limit results in raising an eth event for the same.
- For lookaside operations, this results in a warning returned in
rte_crypto_op.aux_flags.
ngl, the soft limit is your friend telling you to hydrate before you actually pass out. the hard limit is passing out. π§
Definition at line 285 of file rte_security.h.
π FIELD DOCUMENTATION π
β uint64_t packets_soft_limit
Soft expiry limit in number of packets. π
Definition at line 286 of file rte_security.h.
β uint64_t bytes_soft_limit
Soft expiry limit in bytes. π
Definition at line 288 of file rte_security.h.
β uint64_t packets_hard_limit
Hard expiry limit in number of packets. π₯
Definition at line 290 of file rte_security.h.
β uint64_t bytes_hard_limit
Hard expiry limit in bytes. π
Definition at line 292 of file rte_security.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. not me being auto-generated and still slaying π
and that's the whole page, bestie β¨ β brought to you by DPDK, Version 26.03.0, signing off as rte_securi...ec_lifetime(3) π¦π no cap, periodt.
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms