From: Fiona Trahe Date: Wed, 13 Jun 2018 12:14:14 +0000 (+0200) Subject: crypto/qat: move macro to common file X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c2a8f3b79dc64ea8cc26cacd013cc54889f44768;p=dpdk.git crypto/qat: move macro to common file QAT_64_BTYE_ALIGN_MASK macro is not specific to symmetric crypto, but it is common for other future services. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- diff --git a/drivers/crypto/qat/qat_common.h b/drivers/crypto/qat/qat_common.h index 8ecebe954f..db85d54827 100644 --- a/drivers/crypto/qat/qat_common.h +++ b/drivers/crypto/qat/qat_common.h @@ -15,6 +15,8 @@ */ #define QAT_SGL_MAX_NUMBER 16 +#define QAT_64_BTYE_ALIGN_MASK (~0x3f) + /* Intel(R) QuickAssist Technology device generation is enumerated * from one according to the generation of the device */ diff --git a/drivers/crypto/qat/qat_sym.h b/drivers/crypto/qat/qat_sym.h index e46448bd25..bdb672be43 100644 --- a/drivers/crypto/qat/qat_sym.h +++ b/drivers/crypto/qat/qat_sym.h @@ -9,8 +9,6 @@ #include "qat_common.h" -#define QAT_64_BTYE_ALIGN_MASK (~0x3f) - struct qat_sym_session; struct qat_sym_op_cookie {