RTE_EVENT_CRYPTO_METADATA(3)

πŸ’– NAME πŸ’–

rte_event_crypto_metadata β€” the lil glow-up struct that carries your crypto request deets and your event response deets, bestie 🫢


✨ SYNOPSIS ✨

#include <rte_event_crypto_adapter.h>

🌸 Data Fields

  • struct rte_event_crypto_request request_info
  • struct rte_event response_info

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so picture this: this is the crypto event metadata structure, and it's literally empty until you β€” yes you, the application 🫡 β€” fill it in. It's giving "carry my crypto request info and my event response info, pls and thank you."

Here's the tea on who reads it:

  • If crypto events get enqueued using a HW mechanism, the cryptodev PMD picks up that event response information to set up the event that gets enqueued back to the eventdev once the crypto operation is done. So like, the hardware does the whole thing behind your back (affectionate).
  • But if the transfer is done by SW, then it's the adapter that uses the event response information instead.

Either way, somebody's reading your homework. πŸ“

Definition at line 228 of file rte_event_crypto_adapter.h. Periodt.

πŸŽ€ FIELD DOCUMENTATION πŸŽ€

πŸ’œ struct rte_event_crypto_request request_info

Request information β€” and this one is filled in by the application for RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD mode. πŸ‘‘

But hold up, listen: the first 8 bytes of request_info are reserved for response_info. So don't go touching those, they're spoken for. 🚫

Definition at line 229 of file rte_event_crypto_adapter.h.

πŸ’™ struct rte_event response_info

Response information β€” also filled in by the application, but this time it's for both RTE_EVENT_CRYPTO_ADAPTER_OP_NEW and RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD mode. Versatile icon behavior, honestly. ✨

Definition at line 234 of file rte_event_crypto_adapter.h.

🌈 AUTHOR 🌈

Bestie this was generated automatically by Doxygen for DPDK from the source code β€” so nobody's hand-wrote this, the robot did it and honestly? it ate. πŸ€–πŸ’…


okay that's the whole page, mwah πŸ’‹ This iconic lil doc is from DPDK, Version 25.11.3, and the page itself is rte_event_...to_metadata(3) β€” go forth and enqueue responsibly, my love πŸ§šπŸ’–

πŸ“¦ where this page comes from