openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

commit 8c481c7d3583b03c525f3de0948f35324b6d9b54
parent 0debea681c8d9c0055f9a06bd45643ae3c0a5ede
Author: Broadcom SDK Release <sdk.releases@broadcom.com>
Date:   Tue, 27 Aug 2019 11:15:15 -0700

SDK-186131: Increase memory limit for WB allocation

Devices: 56980_A0
Module: SDK

Symptom:
_bcm_th3_cosq_wb_alloc fails with -17 with XGS and DNX combined image

Diffstat:
Msdk-6.5.16/src/bcm/tomahawk3/cosq.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdk-6.5.16/src/bcm/tomahawk3/cosq.c b/sdk-6.5.16/src/bcm/tomahawk3/cosq.c @@ -281,7 +281,7 @@ _bcm_th3_cosq_wb_alloc(int unit) _bcm_th3_mmu_info_t *mmu_info = NULL; soc_scache_handle_t scache_handle; uint8 *scache_ptr = NULL; - int rv, alloc_size = 0, max_size = 4096 * 5; + int rv, alloc_size = 0, max_size = 4096 * 11; _bcm_th3_cosq_cpu_port_info_t *cpu_port_info = NULL; mmu_info = _bcm_th3_mmu_info[unit];