crypto/qat: support GEN4 unified cipher slice
[dpdk.git] / drivers / common / qat / qat_adf / icp_qat_hw.h
index fdc0f19..b1e6a1f 100644 (file)
@@ -342,6 +342,16 @@ struct icp_qat_hw_cipher_algo_blk {
        uint8_t key[ICP_QAT_HW_CIPHER_MAX_KEY_SZ];
 } __rte_cache_aligned;
 
+struct icp_qat_hw_ucs_cipher_config {
+       uint32_t val;
+       uint32_t reserved[3];
+};
+
+struct icp_qat_hw_cipher_algo_blk20 {
+       struct icp_qat_hw_ucs_cipher_config cipher_config;
+       uint8_t key[ICP_QAT_HW_CIPHER_MAX_KEY_SZ];
+} __rte_cache_aligned;
+
 /* ========================================================================= */
 /*                COMPRESSION SLICE                                          */
 /* ========================================================================= */