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 d61c63d6b2e290c96505ac111611bfcf1590f5b4
parent 134f6f88b5dde87c4d82543fcc495564f5548bfe
Author: Broadcom SDK Release <sdk.releases@broadcom.com>
Date:   Tue, 12 Mar 2019 13:40:22 -0700

SDK-173955: Flexing or port attach uses different init function compared to d...

Devices: 56980_A0,56980_B0,56983_B0
Module: phy

Symptom:
_bcmi_xgs5_port_resource_execute: Flexport operations failed: -18
(Invalid port)

Flexing or port attach uses different init function compared to default
init for Gport structure. mmuq.in_use needs to be set to 1 in the port
attach function as well

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

diff --git a/sdk-6.5.16/src/soc/esw/tomahawk3/traffic_manager.c b/sdk-6.5.16/src/soc/esw/tomahawk3/traffic_manager.c @@ -2116,7 +2116,7 @@ soc_tomahawk3_cosq_port_info_init(int unit, int port_num) th3_cosq_mmu_info[unit]->th3_port_info[port_num]. mmuq[queue_num].level = 2; th3_cosq_mmu_info[unit]->th3_port_info[port_num]. - mmuq[queue_num].in_use = 0; + mmuq[queue_num].in_use = 1; th3_cosq_mmu_info[unit]->th3_port_info[port_num]. mmuq[queue_num].sched_policy = SOC_TH3_SCHED_MODE_WRR; th3_cosq_mmu_info[unit]->th3_port_info[port_num].