RTE_EVENT_CRYPTO_ADAPTER_CONF(3)
π rte_event_crypto_adapter_conf(3) π
okay bestie, welcome to section 3 of the library functions manual β we're doing rte_event_crypto_adapter_conf today and it's literally the glow-up your event crypto adapter config has been waiting for π«Ά
β¨ NAME β¨
rte_event_crypto_adapter_conf β the adapter configuration struct, no cap
πΈ SYNOPSIS πΈ
#include <rte_event_crypto_adapter.h>
π Data Fields
uint8_t event_port_iduint32_t max_nb
π¦ DESCRIPTION π¦
So. This is the adapter configuration structure β the one that the adapter configuration callback function is expected to fill out. That's the whole job. It's giving "fill in the blanks and hand me back the vibes" π
See also: rte_event_crypto_adapter_conf_cb β go check that one out too, it's the callback doing the actual filling, iykyk.
Also for the record: this struct is Definition at line 246 of file rte_event_crypto_adapter.h. noted π
π FIELD DOCUMENTATION π
β uint8_t event_port_id
Event port identifier, bestie. The adapter enqueues events to this port, and it dequeues crypto request events in RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD mode. That's the whole personality of this field π₯
Definition at line 247 of file rte_event_crypto_adapter.h.
β uint32_t max_nb
The adapter can return early if it has processed at least max_nb crypto ops. But β and this is the important part, don't skip it β this isn't treated as a requirement. Batching may cause the adapter to process more than max_nb crypto ops. So it's like "at least this many, probably more, no promises" energy π
Definition at line 252 of file rte_event_crypto_adapter.h.
π AUTHOR π
Generated automatically by Doxygen for DPDK from the source code. Not me writing it by hand, the machines did that part π€β¨
and that's the tea, queen π you now know rte_event_crypto_adapter_conf through and through β go fill out that config callback and slay ππ¦πΈ
signing off from DPDK, Version 25.11.3, manual page rte_event_...dapter_conf(3) β periodt. π
π¦ 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