DPDK  24.07.0
Data Fields
rte_cryptodev_info Struct Reference

#include <rte_cryptodev.h>

Data Fields

const char * driver_name
 
uint8_t driver_id
 
struct rte_device * device
 
uint64_t feature_flags
 
const struct rte_cryptodev_capabilitiescapabilities
 
unsigned max_nb_queue_pairs
 
uint16_t min_mbuf_headroom_req
 
uint16_t min_mbuf_tailroom_req
 
unsigned max_nb_sessions
 

Detailed Description

Crypto device information

Examples:
examples/fips_validation/main.c, examples/ip_pipeline/cryptodev.c, examples/ipsec-secgw/ipsec-secgw.c, examples/ipsec-secgw/ipsec.c, examples/l2fwd-crypto/main.c, examples/pipeline/obj.c, and examples/vhost_crypto/main.c.

Definition at line 571 of file rte_cryptodev.h.

Field Documentation

◆ driver_name

const char* driver_name

Driver name.

Examples:
examples/l2fwd-crypto/main.c, and examples/vhost_crypto/main.c.

Definition at line 572 of file rte_cryptodev.h.

◆ driver_id

uint8_t driver_id

Driver identifier

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

Definition at line 573 of file rte_cryptodev.h.

◆ device

struct rte_device* device

Generic device information.

Definition at line 574 of file rte_cryptodev.h.

◆ feature_flags

uint64_t feature_flags

Feature flags exposes HW/SW features for the given device

Examples:
examples/fips_validation/main.c, examples/ipsec-secgw/ipsec-secgw.c, examples/ipsec-secgw/ipsec.c, and examples/l2fwd-crypto/main.c.

Definition at line 576 of file rte_cryptodev.h.

◆ capabilities

const struct rte_cryptodev_capabilities* capabilities

Array of devices supported capabilities

Examples:
examples/ipsec-secgw/ipsec-secgw.c, examples/ipsec-secgw/ipsec.c, and examples/l2fwd-crypto/main.c.

Definition at line 579 of file rte_cryptodev.h.

◆ max_nb_queue_pairs

unsigned max_nb_queue_pairs

Maximum number of queues pairs supported by device.

Examples:
examples/ipsec-secgw/ipsec-secgw.c, examples/pipeline/obj.c, and examples/vhost_crypto/main.c.

Definition at line 582 of file rte_cryptodev.h.

◆ min_mbuf_headroom_req

uint16_t min_mbuf_headroom_req

Minimum mbuf headroom required by device

Definition at line 585 of file rte_cryptodev.h.

◆ min_mbuf_tailroom_req

uint16_t min_mbuf_tailroom_req

Minimum mbuf tailroom required by device

Definition at line 588 of file rte_cryptodev.h.

◆ max_nb_sessions

unsigned max_nb_sessions

Maximum number of sessions supported by device. If 0, the device does not have any limitation in number of sessions that can be used.

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

Definition at line 592 of file rte_cryptodev.h.


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