rte_cryptodev_core.h(3)
π rte_cryptodev_core.h π
okay so bestie, welcome to rte_cryptodev_core.h β this is the RTE Crypto Device internal header, and yes the name is a mouthful, iykyk. It's a C library functions manual page, and it's honestly kind of the backstage-pass of DPDK crypto. Let's get into it π
β¨ NAME β¨
rte_cryptodev_core.h β literally just the header itself, bestie. That's the whole name. Iconic, low-effort, slay.
π¦ SYNOPSIS π¦
Typedefs
typedef uint16_t(* dequeue_pkt_burst_t) (void *qp, struct rte_crypto_op
**ops, uint16_t nb_ops)
typedef uint16_t(* enqueue_pkt_burst_t) (void *qp, struct rte_crypto_op
**ops, uint16_t nb_ops)
typedef uint32_t(* crypto_qp_depth_used_t) (void *qp)
Variables
struct rte_cryptodev * rte_cryptodevs
πΈ Detailed Description πΈ
So this is the RTE Crypto Device internal header, and here's the vibe: it contains internal data types β BUT (and this is the plot twist) they're still part of the public API, because they get used by inline functions in the published API. so it's giving "private but also not private." main character energy fr fr π
β οΈ Important warning, bestie: Applications should not use these directly. Like, do not. That's the whole rule. No cap.
Definition in file rte_cryptodev_core.h.
π§ Typedef Documentation π§
π typedef uint16_t(* dequeue_pkt_burst_t) (void *qp, struct rte_crypto_op **ops, uint16_t nb_ops)
Dequeue processed packets from a queue pair of a device. That's it, that's the job β pulling the finished ones back out. Obsessed with the clarity honestly.
Definition at line 19 of file rte_cryptodev_core.h.
π₯ typedef uint16_t(* enqueue_pkt_burst_t) (void *qp, struct rte_crypto_op **ops, uint16_t nb_ops)
Enqueue packets for processing on a queue pair of a device. The pushy one of the duo β it loads 'em in. Periodt.
Definition at line 23 of file rte_cryptodev_core.h.
π typedef uint32_t(* crypto_qp_depth_used_t) (void *qp)
Get used descriptor depth in a queue pair of a device. Basically "how full is this queue rn" β a vibe check for your descriptors π«Ά
Definition at line 27 of file rte_cryptodev_core.h.
π Variable Documentation π
β struct rte_cryptodev* rte_cryptodevs [extern]
The pool of rte_cryptodev structures. That's the whole description. It's the pool, it holds the rte_cryptodev structures, and it's extern. Simple, elegant, ate π
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not a human, not a girlie β a whole robot wrote this one, and honestly? slay.
okay that's the whole page bestie, you made it to the end, proud of you π₯Ήπ β this little masterpiece dropped as part of DPDK, Version 26.03.0, and the page is rte_cryptodev_core.h(3). go forth and not use these internals directly, mkay? π¦β¨
π¦ 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