Data Accelerator Offload
Loading...
Searching...
No Matches
Data Fields
dao_lc_qp_conf Struct Reference

#include <dao_liquid_crypto.h>

Data Fields

bool out_of_order_delivery_en
 
uint16_t nb_desc
 
uint16_t max_seg_size
 

Detailed Description

The liquid crypto queue pair configuration structure.

This structure is used to configure a liquid crypto queue pair.

Definition at line 241 of file dao_liquid_crypto.h.

Field Documentation

◆ out_of_order_delivery_en

bool out_of_order_delivery_en

Enable out of order delivery.

Definition at line 243 of file dao_liquid_crypto.h.

◆ nb_desc

uint16_t nb_desc

The number of descriptors in the queue pair. For performance benefits, the actual number of descriptors would be rounded up to a power of 2.

Definition at line 248 of file dao_liquid_crypto.h.

◆ max_seg_size

uint16_t max_seg_size

The maximum segment size. Sum of size of all buffers passed to the API must not exceed this value.

In case of symmetric crypto operations, the maximum segment size is calculated based on the following parameters:

  • Total length of all fragments in the input buffer.
  • Length of IV (if applicable).
  • Length of AAD (if applicable).
  • Length of digest (if applicable).

Definition at line 260 of file dao_liquid_crypto.h.


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