#define CPT_LF_CTX_ENC_PKT_CNT (0x540ull)
#define CPT_LF_CTX_DEC_BYTE_CNT (0x550ull)
#define CPT_LF_CTX_DEC_PKT_CNT (0x560ull)
+#define CPT_LF_CTX_RELOAD (0x570ull)
#define CPT_AF_LFX_CTL(a) (0x27000ull | (uint64_t)(a) << 3)
#define CPT_AF_LFX_CTL2(a) (0x29000ull | (uint64_t)(a) << 3)
struct {
uint64_t cptr : 46;
uint64_t inval : 1;
- uint64_t res : 1;
- uint64_t pf_func : 16;
+ uint64_t reserved_47_63 : 17;
+ } s;
+};
+
+union cpt_lf_ctx_reload {
+ uint64_t u;
+ struct {
+ uint64_t cptr : 46;
+ uint64_t reserved_46_63 : 18;
} s;
};
} s;
};
+union cpt_lf_q_inst_ptr {
+ uint64_t u;
+ struct cpt_lf_q_inst_ptr_s {
+ uint64_t dq_ptr : 20;
+ uint64_t reserved_20_31 : 12;
+ uint64_t nq_ptr : 20;
+ uint64_t reserved_52_62 : 11;
+ uint64_t xq_xor : 1;
+ } s;
+};
+
union cpt_lf_q_base {
uint64_t u;
struct cpt_lf_q_base_s {
} s;
};
+union cpt_lf_q_grp_ptr {
+ uint64_t u;
+ struct {
+ uint64_t dq_ptr : 15;
+ uint64_t reserved_31_15 : 17;
+ uint64_t nq_ptr : 15;
+ uint64_t reserved_47_62 : 16;
+ uint64_t xq_xor : 1;
+ } s;
+};
+
union cpt_inst_w4 {
uint64_t u64;
struct {
uint64_t reserved_64_127;
} cn9k;
+
+ uint64_t u64[2];
};
/* [CN10K, .) */