common/cnxk: update meter algorithm in band profile
[dpdk.git] / drivers / common / cnxk / hw / cpt.h
index ccc7af4..4d9c896 100644 (file)
@@ -91,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 {
@@ -215,6 +226,8 @@ union cpt_res_s {
 
                uint64_t reserved_64_127;
        } cn9k;
+
+       uint64_t u64[2];
 };
 
 /* [CN10K, .) */