RTE_EVENT_CRYPTO_ADAPTER_RUNTIME_PARAMS(3)
π NAME π
rte_event_crypto_adapter_runtime_params β bestie, this is the struct that holds the runtime configuration parameters for the crypto adapter. That's it, that's the whole job. π
β¨ SYNOPSIS β¨
#include <rte_event_crypto_adapter.h>
πΈ Data Fields
uint32_t max_nb
uint32_t rsvd [15]
π¦ DETAILED DESCRIPTION π¦
Adapter runtime configuration parameters. π
Little lowkey flex: this struct is defined at line 262 of the file rte_event_crypto_adapter.h. No cap. π
π FIELD DOCUMENTATION π
β uint32_t max_nb
Okay so this one is the main character. π The adapter can return early if it has processed at least max_nb crypto ops. But β and this is important, bestie β that is not treated as a requirement. Batching may cause the adapter to process more than max_nb crypto ops. So it's giving "goal, not rule," fr fr. π
Here's who sets it, and how:
rte_event_crypto_adapter_create()configures the adapter with the default value ofmax_nb.rte_event_crypto_adapter_create_ext()configures the adapter with a user provided value ofmax_nb, through therte_event_crypto_adapter_conf::max_nbparameter.rte_event_cryptoadapter_runtime_params_set()lets you re-configuremax_nbduring runtime (after adding at least one queue pair). β¨
And the fine print, because there's always fine print: this is valid for the devices without RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_FWD or RTE_EVENT_CRYPTO_ADAPTER_CAP_INTERNAL_PORT_OP_NEW capability. π«Ά
π Definition at line 263 of file rte_event_crypto_adapter.h.
π§ uint32_t rsvd[15]
Reserved fields for future expansion. That's the whole vibe β they're just sitting there, iconic, holding space for whatever the future of DPDK decides to do. π
π Definition at line 280 of file rte_event_crypto_adapter.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. Not a human typing this with their own two hands, just so you know. π
okay that's the whole page bestie, and for the cute little sign-off: this gorgeous thing comes to you from DPDK, Version 25.11.3, and it's the rte_event_...time_params(3) page from the Library Functions Manual. slay, go set your max_nb. π
πΈπ¦
π¦ 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