X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fmt%2Fmt_ss.h;h=4c002560cb22c182fe72368968823f772a32a9ed;hb=refs%2Fchanges%2F15%2F9315%2F5;hp=a39b7820253c01bf7ec4bd33e86b07ffc3aea34a;hpb=65443172dd60a6ea312bd3a15959dbf54ad7f045;p=o-du%2Fl2.git diff --git a/src/mt/mt_ss.h b/src/mt/mt_ss.h index a39b78202..4c002560c 100755 --- a/src/mt/mt_ss.h +++ b/src/mt/mt_ss.h @@ -63,7 +63,11 @@ #define SS_MAX_STSKS 5 #endif #else -#define SS_MAX_STSKS 5 +#ifndef INTEL_WLS_MEM +#define SS_MAX_STSKS 8 +#else +#define SS_MAX_STSKS 7 +#endif #endif #endif /* SS_MULTICORE_SUPPORT */ @@ -90,7 +94,7 @@ #ifdef SS_MULTICORE_SUPPORT #define SS_MAX_REGS SS_MAX_STSKS #else -#define SS_MAX_REGS 5 +#define SS_MAX_REGS 7 #endif #ifdef CMM_MAX_BKT_ENT @@ -211,8 +215,12 @@ that are configured below. #ifdef XEON_SPECIFIC_CHANGES #define MT_BKT_0_NUMBLKS 5248 /* 10500 Modified from 3500 to 10500 */ #else +#ifdef SS_USE_WLS_MEM +#define MT_BKT_0_NUMBLKS 200704 /* 10500 Modified from 3500 to 10500 */ +#else #define MT_BKT_0_NUMBLKS 10000 /* 10500 Modified from 3500 to 10500 */ #endif +#endif #else #define MT_BKT_0_NUMBLKS 10000 #endif @@ -225,7 +233,11 @@ that are configured below. #else #define MT_BKT_1_DSIZE 1280 /* Modified from 256 to 4096 */ #endif +#ifdef SS_USE_WLS_MEM +#define MT_BKT_1_NUMBLKS 310720 /* 1000*/ +#else #define MT_BKT_1_NUMBLKS 10496 /* 1000*/ +#endif #else /*mt010.301*/ #define MT_BKT_1_DSIZE 256 @@ -258,11 +270,14 @@ that are configured below. #define MT_BKT_3_DSIZE 4224 /* Fill in this value as required */ #define MT_BKT_3_NUMBLKS 5248 /*10496 */ /* Fill in this value as required */ #else -#define MT_BKT_3_DSIZE 12000 /* Fill in this value as required */ +#define MT_BKT_3_DSIZE 12200 /* Fill in this value as required */ #define MT_BKT_3_NUMBLKS 1000 /*10496 */ /* Fill in this value as required */ #endif #endif +#define MT_BKT_4_DSIZE 65000 +#define MT_BKT_4_NUMBLKS 2000 + /* For Non-Sharable regions/static regions */ #ifdef XEON_SPECIFIC_CHANGES #define MT_BKT_0_STATIC_NUMBLKS 500000 /* Fill in this value as required */ @@ -275,16 +290,18 @@ that are configured below. #define MT_BKT_1_STATIC_NUMBLKS 15000 /* Fill in this value as required */ #define MT_BKT_2_STATIC_NUMBLKS 500 /* Fill in this value as required */ #define MT_BKT_3_STATIC_NUMBLKS 1600 /* Fill in this value as required */ +#define MT_BKT_4_STATIC_NUMBLKS 1000 /* Fill in this value as required */ #endif /*mt010.301*/ #ifdef RGL_SPECIFIC_CHANGES #define MT_MAX_BKTS 5 #else -#define MT_MAX_BKTS 4 +#define MT_MAX_BKTS 5 #endif /* mt029.201 corrected typos */ /* memory pool data size definitions for pool-to-size mapping table */ +#define MT_POOL_4_DSIZE (MT_BKT_4_DSIZE-(sizeof(SsMblk)+sizeof(SsDblk))) #define MT_POOL_3_DSIZE (MT_BKT_3_DSIZE-(sizeof(SsMblk)+sizeof(SsDblk))) #define MT_POOL_2_DSIZE (MT_BKT_2_DSIZE-(sizeof(SsMblk)+sizeof(SsDblk))) #define MT_POOL_1_DSIZE (MT_BKT_1_DSIZE-(sizeof(SsMblk)+sizeof(SsDblk))) @@ -373,6 +390,7 @@ that are configured below. #endif #endif +#define WLS_MEM_SIZE 0x7ec00000 /* Total size of WLS memory configured */ #endif /* __MTSSH__ */