common/qat: fix undefined macro
PATCH 1/1 common/qat: fix undefined macro
When using RTE_ENABLE_ASSERT and debug mode, an undefined macro error appeared for ICP_QAT_FW_SYM_COMM_ADDR_SGL. This was not being defined, but is now added to the header file.
Bugzilla ID: 1395
---
Cc: [email protected]
--- drivers/common/qat/qat_adf/icp_qat_fw_la.h | 1 + 1 file changed, 1 insertion(+)
drivers/common/qat/qat_adf/icp_qat_fw_la.h +1 -0
@@ -111,6 +111,7 @@ struct icp_qat_fw_la_bulk_req {#define ICP_QAT_FW_SYM_IV_IN_DESC_VALID 1#define ICP_QAT_FW_SYM_DIRECTION_BITPOS 15#define ICP_QAT_FW_SYM_DIRECTION_MASK 0x1 +#define ICP_QAT_FW_SYM_COMM_ADDR_SGL 1/* In GEN_LCE AEAD AES GCM Algorithm has ID 0 */ #define QAT_LA_CRYPTO_AEAD_AES_GCM_GEN_LCE 0
Signature · 1 line
2.25.1
Quoted 36 lines
-----Original Message-----
From: Power, Ciara <[email protected]>
Sent: Tuesday, March 5, 2024 5:26 PM
To: [email protected]
Cc: [email protected]; Power, Ciara <[email protected]>; Nayak, Nishikanta <[email protected]>; Ji, Kai <[email protected]>
Subject: [PATCH] common/qat: fix undefined macroWhen using
RTE_ENABLE_ASSERTand debug mode, an undefined macro error appeared forICP_QAT_FW_SYM_COMM_ADDR_SGL.
This was not being defined, but is now added to the header file.Bugzilla ID: 1395
Fixes e9271821e489 ("common/qat: support GEN LCE device")Signed-off-by Ciara Power <[email protected]>---
Cc: [email protected]--- drivers/common/qat/qat_adf/icp_qat_fw_la.h | 1 + 1 file changed, 1 insertion(+)drivers/common/qat/qat_adf/icp_qat_fw_la.h +0
-0@@ -111,6 +111,7 @@ struct icp_qat_fw_la_bulk_req { #define
ICP_QAT_FW_SYM_IV_IN_DESC_VALID1 #defineICP_QAT_FW_SYM_DIRECTION_BITPOS15 #defineICP_QAT_FW_SYM_DIRECTION_MASK0x1
+#defineICP_QAT_FW_SYM_COMM_ADDR_SGL1
Quoted 4 lines
/* In
GEN_LCEAEAD AES GCM Algorithm has ID 0 */ #defineQAT_LA_CRYPTO_AEAD_AES_GCM_GEN_LCE0
--
2.25.1
Quoted 12 lines
-----Original Message-----
From: Ciara Power <[email protected]>
Sent: Tuesday, March 5, 2024 1:56 PM
To: [email protected]
Cc: [email protected]; Ciara Power <[email protected]>; [email protected]; Kai Ji <[email protected]>
Subject: [PATCH] common/qat: fix undefined macroWhen using
RTE_ENABLE_ASSERTand debug mode, an undefined macro error appeared forICP_QAT_FW_SYM_COMM_ADDR_SGL. This was not being defined, but is now added to the header file.
Quoted 6 lines
Bugzilla ID: 1395
Fixes e9271821e489 ("common/qat: support GEN LCE device")Signed-off-by Ciara Power <[email protected]>---
Can confirm it resolves the build failure, thanks!
Thomas Monjalon
Applied05/03/2024 13:15, Ali Alnubani:
Quoted 15 lines
Quoted 15 lines
-----Original Message-----
From: Ciara Power <[email protected]>
Sent: Tuesday, March 5, 2024 1:56 PM
To: [email protected]
Cc: [email protected]; Ciara Power <[email protected]>; [email protected]; Kai Ji <[email protected]>
Subject: [PATCH] common/qat: fix undefined macroWhen using
RTE_ENABLE_ASSERTand debug mode, an undefined macro error appeared forICP_QAT_FW_SYM_COMM_ADDR_SGL. This was not being defined, but is now added to the header file.Bugzilla ID: 1395
Fixes e9271821e489 ("common/qat: support GEN LCE device")
Quoted 7 lines
Quoted 3 lines
Signed-off-by Ciara Power <[email protected]>---
Can confirm it resolves the build failure, thanks!
Tested-by Ali Alnubani <[email protected]>
Applied, thanks.