Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/qat/qat_api/common/include/lac_sal_types.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | typedef enum { | ||||
/* symmetric crypto only service*/ | /* symmetric crypto only service*/ | ||||
SAL_SERVICE_TYPE_CRYPTO_SYM = 16, | SAL_SERVICE_TYPE_CRYPTO_SYM = 16, | ||||
SAL_SERVICE_TYPE_QAT = 32 | SAL_SERVICE_TYPE_QAT = 32 | ||||
} sal_service_type_t; | } sal_service_type_t; | ||||
/** | /** | ||||
***************************************************************************** | ***************************************************************************** | ||||
* @ingroup SalCtrl | * @ingroup SalCtrl | ||||
* Device generations | |||||
* | |||||
* @description | |||||
* List in an enum all the QAT device generations. | |||||
* | |||||
*****************************************************************************/ | |||||
typedef enum { GEN2, GEN3, GEN4 } sal_generation_t; | |||||
/** | |||||
***************************************************************************** | |||||
* @ingroup SalCtrl | |||||
* Generic Instance Container | * Generic Instance Container | ||||
* | * | ||||
* @description | * @description | ||||
* Contains all the common information across the different instances. | * Contains all the common information across the different instances. | ||||
* | * | ||||
*****************************************************************************/ | *****************************************************************************/ | ||||
typedef struct sal_service_s { | typedef struct sal_service_s { | ||||
sal_service_type_t type; | sal_service_type_t type; | ||||
▲ Show 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | typedef struct sal_service_s { | ||||
Cpa32U dcExtendedFeatures; | Cpa32U dcExtendedFeatures; | ||||
/**< Bit field of features. I.e. Compress And Verify */ | /**< Bit field of features. I.e. Compress And Verify */ | ||||
CpaBoolean isInstanceStarted; | CpaBoolean isInstanceStarted; | ||||
/**< True if user called StartInstance on this instance */ | /**< True if user called StartInstance on this instance */ | ||||
CpaBoolean integrityCrcCheck; | CpaBoolean integrityCrcCheck; | ||||
/** < True if the device supports end to end data integrity checks */ | /** < True if the device supports end to end data integrity checks */ | ||||
sal_generation_t gen; | |||||
/** Generation of devices */ | |||||
} sal_service_t; | } sal_service_t; | ||||
/** | /** | ||||
***************************************************************************** | ***************************************************************************** | ||||
* @ingroup SalCtrl | * @ingroup SalCtrl | ||||
* SAL structure | * SAL structure | ||||
* | * | ||||
* @description | * @description | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |