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
- 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