]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/cnxk/hw/rvu.h
common/cnxk: update meter algorithm in band profile
[dpdk.git] / drivers / common / cnxk / hw / rvu.h
index 632d9499ea0ef4e384b96a38838f4996c8a640c7..daf758f0b5b985af1c8fa8e1ac0b3128ae08bb46 100644 (file)
 #define RVU_BLOCK_TYPE_RAD  (0xdull)
 #define RVU_BLOCK_TYPE_DFA  (0xeull)
 #define RVU_BLOCK_TYPE_HNA  (0xfull)
+#define RVU_BLOCK_TYPE_REE  (0xeull)
 
 #define RVU_BLOCK_ADDR_RVUM    (0x0ull)
 #define RVU_BLOCK_ADDR_LMT     (0x1ull)
 #define RVU_BLOCK_ADDR_NDC2    (0xeull)
 #define RVU_BLOCK_ADDR_R_END   (0x1full)
 #define RVU_BLOCK_ADDR_R_START (0x14ull)
+#define RVU_BLOCK_ADDR_REE0    (0x14ull)
+#define RVU_BLOCK_ADDR_REE1    (0x15ull)
 
 #define RVU_VF_INT_VEC_MBOX (0x0ull)
 
 #define NPA_AF_BAR2_SEL         (0x9000000ull)
 #define CPT_AF_BAR2_SEL         (0x9000000ull)
 #define RVU_AF_BAR2_SEL         (0x9000000ull)
+#define REE_AF_BAR2_SEL         (0x9000000ull)
 
 #define AF_BAR2_ALIASX(a, b)                                                   \
        (0x9100000ull | (uint64_t)(a) << 12 | (uint64_t)(b))
 #define NPA_AF_BAR2_ALIASX(a, b)  AF_BAR2_ALIASX(0, b)
 #define CPT_AF_BAR2_ALIASX(a, b)  AF_BAR2_ALIASX(a, b)
 #define RVU_AF_BAR2_ALIASX(a, b)  AF_BAR2_ALIASX(a, b)
+#define REE_AF_BAR2_ALIASX(a, b)  AF_BAR2_ALIASX(a, b)
 
 /* Structures definitions */