cnss_prealloc: Update preallocation pool entries

Update pre allocation pool entries as below:

8kb: 22 -> 16
16kb: 16 -> 16
32kb: 6 -> 22
64kb: 8 -> 38
128kb: 2 -> 10

Change-Id: I2ba69d7332447229f0ad2907dd380f663a8a3fd8
CRs-Fixed: 3306034
This commit is contained in:
Alan Chen
2022-09-30 13:53:18 -07:00
committed by Madan Koyyalamudi
parent 99580edb00
commit e3b36fcd46

View File

@@ -58,11 +58,11 @@ struct cnss_pool {
/* size, min pool reserve, name, memorypool handler, cache handler*/
static struct cnss_pool cnss_pools[] = {
{8 * 1024, 22, "cnss-pool-8k", NULL, NULL},
{8 * 1024, 16, "cnss-pool-8k", NULL, NULL},
{16 * 1024, 16, "cnss-pool-16k", NULL, NULL},
{32 * 1024, 6, "cnss-pool-32k", NULL, NULL},
{64 * 1024, 8, "cnss-pool-64k", NULL, NULL},
{128 * 1024, 2, "cnss-pool-128k", NULL, NULL},
{32 * 1024, 22, "cnss-pool-32k", NULL, NULL},
{64 * 1024, 38, "cnss-pool-64k", NULL, NULL},
{128 * 1024, 10, "cnss-pool-128k", NULL, NULL},
};
/**