net/bnxt: fix enable/disable VLAN filtering
[dpdk.git] / drivers / crypto / octeontx2 / otx2_cryptodev_hw_access.h
index 87d4e77..6f78aa4 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "cpt_common.h"
 #include "cpt_hw_types.h"
+#include "cpt_mcode_defines.h"
 
 #include "otx2_dev.h"
 
@@ -119,6 +120,21 @@ union otx2_cpt_lf_q_grp_ptr {
        } s;
 };
 
+/*
+ * Enumeration cpt_9x_comp_e
+ *
+ * CPT 9X Completion Enumeration
+ * Enumerates the values of CPT_RES_S[COMPCODE].
+ */
+enum cpt_9x_comp_e {
+       CPT_9X_COMP_E_NOTDONE = 0x00,
+       CPT_9X_COMP_E_GOOD = 0x01,
+       CPT_9X_COMP_E_FAULT = 0x02,
+       CPT_9X_COMP_E_HWERR = 0x04,
+       CPT_9X_COMP_E_INSTERR = 0x05,
+       CPT_9X_COMP_E_LAST_ENTRY = 0x06
+};
+
 struct otx2_cpt_qp {
        uint32_t id;
        /**< Queue pair id */