DPDK  23.07.0
Data Fields
rte_event_crypto_metadata Union Reference

#include <rte_event_crypto_adapter.h>

Data Fields

struct rte_event_crypto_request request_info
 
struct rte_event response_info
 

Detailed Description

Crypto event metadata structure will be filled by application to provide crypto request and event response information.

If crypto events are enqueued using a HW mechanism, the cryptodev PMD will use the event response information to set up the event that is enqueued back to eventdev after completion of the crypto operation. If the transfer is done by SW, event response information will be used by the adapter.

Examples:
examples/ipsec-secgw/ipsec.c.

Definition at line 228 of file rte_event_crypto_adapter.h.

Field Documentation

◆ request_info

struct rte_event_crypto_request request_info

Request information to be filled in by application for RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD mode. First 8 bytes of request_info is reserved for response_info.

Examples:
examples/ipsec-secgw/ipsec.c.

Definition at line 229 of file rte_event_crypto_adapter.h.

◆ response_info

struct rte_event response_info

Response information to be filled in by application for RTE_EVENT_CRYPTO_ADAPTER_OP_NEW and RTE_EVENT_CRYPTO_ADAPTER_OP_FORWARD mode.

Examples:
examples/ipsec-secgw/ipsec.c.

Definition at line 234 of file rte_event_crypto_adapter.h.


The documentation for this union was generated from the following file: