rte_crypto_raw_dp_ctx(3)

πŸ’– rte_crypto_raw_dp_ctx πŸ’–

okay bestie, welcome to the rte_crypto_raw_dp_ctx page β€” it's a manual page, the library functions kind, and it lives in section 3 of the manual. it's a lil' struct situation and honestly? she's important. let's get into it 🫢


✨ NAME ✨

rte_crypto_raw_dp_ctx β€” that's the whole name, no extras, iconic and to the point πŸ’…


✨ SYNOPSIS ✨

#include <rte_cryptodev.h>

that's it, that's the include. pull in the header and you're in business 🌸


✨ DETAILED DESCRIPTION ✨

so rte_crypto_raw_dp_ctx</p> is the context data for the raw data-path API crypto process. that's the whole vibe of the struct β€” she's the little carry-bag of context that the raw data-path API needs to do its crypto thing πŸ”₯

here's the part you actually cannot skip, bestie:

the buffer of this structure is meant to be allocated by the user application, and the size of that buffer has to be equal to or bigger than the value returned by rte_cryptodev_get_raw_dp_ctx_size(). equal. or. bigger. no cap. 🚨

so the flow is giving very much: call rte_cryptodev_get_raw_dp_ctx_size() first, see what she says, and then allocate at least that much. don't be out here under-allocating, that's not the move 😭

Definition at line 1602 of file rte_cryptodev.h. go look if you wanna see her in the wild, she's right there πŸ‘‘


✨ AUTHOR ✨

Generated automatically by Doxygen for DPDK from the source code. β€” so like, nobody hand-wrote this, the docs just materialized themselves from the source. main character behaviour honestly 🧚


and that's the page!! DPDK, Version 25.11.3, rte_crypto_raw_dp_ctx(3) β€” mwah, go allocate responsibly, ily, bye πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from