crypto/qat: move macro to common file
authorFiona Trahe <fiona.trahe@intel.com>
Wed, 13 Jun 2018 12:14:14 +0000 (14:14 +0200)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 27 Jun 2018 23:25:33 +0000 (01:25 +0200)
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 <fiona.trahe@intel.com>
Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
drivers/crypto/qat/qat_common.h
drivers/crypto/qat/qat_sym.h

index 8ecebe9..db85d54 100644 (file)
@@ -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
  */
index e46448b..bdb672b 100644 (file)
@@ -9,8 +9,6 @@
 
 #include "qat_common.h"
 
-#define QAT_64_BTYE_ALIGN_MASK (~0x3f)
-
 struct qat_sym_session;
 
 struct qat_sym_op_cookie {