common/cnxk: update meter algorithm in band profile
[dpdk.git] / drivers / common / cnxk / hw / cpt.h
index 919f842..4d9c896 100644 (file)
@@ -64,6 +64,7 @@ union cpt_lf_ctx_flush {
        struct {
                uint64_t cptr : 46;
                uint64_t inval : 1;
+               uint64_t reserved_47_63 : 17;
        } s;
 };
 
@@ -71,6 +72,7 @@ union cpt_lf_ctx_reload {
        uint64_t u;
        struct {
                uint64_t cptr : 46;
+               uint64_t reserved_46_63 : 18;
        } s;
 };
 
@@ -89,6 +91,17 @@ union cpt_lf_inprog {
        } 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 {
@@ -213,6 +226,8 @@ union cpt_res_s {
 
                uint64_t reserved_64_127;
        } cn9k;
+
+       uint64_t u64[2];
 };
 
 /* [CN10K, .) */