]> git.droids-corp.org - dpdk.git/commitdiff
common/cnxk: define minor opcodes for MISC
authorAnoob Joseph <anoobj@marvell.com>
Fri, 17 Dec 2021 09:19:43 +0000 (14:49 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 21 Jan 2022 08:38:37 +0000 (09:38 +0100)
MISC CPT instruction behaves differently based on minor opcode.
Define the missing minor opcodes for MISC major opcode.

Signed-off-by: Aakash Sasidharan <asasidharan@marvell.com>
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/common/cnxk/roc_se.h

index 5be832fa75e1b555db820e0441efdd58820191f7..253575a6353585aebab672f4b08920776a6a3037 100644 (file)
 #define ROC_SE_MAJOR_OP_HMAC      0x35
 #define ROC_SE_MAJOR_OP_ZUC_SNOW3G 0x37
 #define ROC_SE_MAJOR_OP_KASUMI    0x38
-#define ROC_SE_MAJOR_OP_MISC      0x01
+
+#define ROC_SE_MAJOR_OP_MISC            0x01
+#define ROC_SE_MISC_MINOR_OP_PASSTHROUGH 0x03
+#define ROC_SE_MISC_MINOR_OP_DUMMY      0x04
+#define ROC_SE_MISC_MINOR_OP_HW_SUPPORT         0x08
 
 #define ROC_SE_MAX_AAD_SIZE 64
 #define ROC_SE_MAX_MAC_LEN  64