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 c5663a43be9f87d924768526726c8736e1ac7b88
parent 6acf0065635e8530629bbd352cdf1b8dc902c84f
Author: Broadcom SDK Release <sdk.releases@broadcom.com>
Date:   Fri, 29 Mar 2019 15:36:24 -0700

SDK-174617: Fix pg to pool mapping checks and behavior when set via config pr...

Devices: 56980_A0,56980_B0
Module: MMU

Symptom:
service pool allocation check is using wrong structure. Checks are
inavlid for headroom pool mapping and headroom pool map is not
considered while calculating headroom pool limit

Fix pg to pool mapping checks and behavior when set via config property

Diffstat:
Msdk-6.5.16/src/soc/esw/tomahawk3/traffic_manager/traffic_manager_thresholds.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdk-6.5.16/src/soc/esw/tomahawk3/traffic_manager/traffic_manager_thresholds.c b/sdk-6.5.16/src/soc/esw/tomahawk3/traffic_manager/traffic_manager_thresholds.c @@ -666,7 +666,7 @@ _soc_th3_mmu_config_mapping_profiles_set_hw(int unit, soc_reg64_field_set(unit, MMU_THDI_PG_PROFILEr, &rval, field_hpid[loop], fval); COMPILER_64_SET( - fval, 0, buf_map_profiles->prigroup_to_servicepool[0]); + fval, 0, buf_map_profiles->prigroup_to_servicepool[loop]); soc_reg64_field_set(unit, MMU_THDI_PG_PROFILEr, &rval, field_spid[loop], fval); }