Loading...
Searching...
No Matches
spdk_accel_mlx5_attr Struct Reference

Configuration attributes for the accel_mlx5 module. More...

#include <mlx5.h>

Data Fields

size_t opts_size
 The size of spdk_accel_mlx5_attr according to the caller of this library is used for ABI compatibility.
 
uint16_t qp_size
 The number of entries in qp submission/receive queue.
 
uint32_t num_requests
 The number of requests in the global pool.
 
char * allowed_devs
 Comma separated list of allowed device names (NULL for all devices)
 
uint16_t crypto_split_blocks
 Apply crypto operation for each X data blocks.
 
bool enable_driver
 Enables accel_mlx5 platform driver for UMR operations.
 

Detailed Description

Configuration attributes for the accel_mlx5 module.

Use spdk_accel_mlx5_get_default_attr() to initialize with default values, then modify as needed before passing to spdk_accel_mlx5_enable().

Field Documentation

◆ crypto_split_blocks

uint16_t spdk_accel_mlx5_attr::crypto_split_blocks

Apply crypto operation for each X data blocks.

Works only if multiblock crypto operation is supported by HW. 0 means no limit

◆ opts_size

size_t spdk_accel_mlx5_attr::opts_size

The size of spdk_accel_mlx5_attr according to the caller of this library is used for ABI compatibility.

The library uses this field to know how many fields in this structure are valid. And the library will populate any remaining fields with default values.


The documentation for this struct was generated from the following file:
  • mlx5.h