From e6251bd9d565ad5aeb7d653876da33aa85676eb0 Mon Sep 17 00:00:00 2001 From: KIRAN KUMAR KELLA <45939429+kirankella@users.noreply.github.com> Date: Wed, 23 Jan 2019 14:44:47 +0530 Subject: [PATCH] [devices]: ALPM is not working on AS5712/TD2 platforms. (#2469) - Also initialized the number of cos queues in AS5712 to 8. Else the interfaces are not coming up due to a lower default value of cos queues in AS5712. Fix: - Enable alpm settings in the platform config file for AS5712. - With the current values of l2_mem_entries (163840) and l3_mem_entries (81920), the memory is not sufficient. Scale them down to the values that work for ALPM in as5712 [l2_mem_entries = 32768, l3_mem_entries = 16384]. Signed-off-by: kiran.kella@broadcom.com --- .../Accton-AS5712-54X/td2-as5712-72x10G.config.bcm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/device/accton/x86_64-accton_as5712_54x-r0/Accton-AS5712-54X/td2-as5712-72x10G.config.bcm b/device/accton/x86_64-accton_as5712_54x-r0/Accton-AS5712-54X/td2-as5712-72x10G.config.bcm index 85ad634792c5..4844616d0382 100644 --- a/device/accton/x86_64-accton_as5712_54x-r0/Accton-AS5712-54X/td2-as5712-72x10G.config.bcm +++ b/device/accton/x86_64-accton_as5712_54x-r0/Accton-AS5712-54X/td2-as5712-72x10G.config.bcm @@ -3,8 +3,12 @@ bcm_stat_flags=0 parity_enable=0 parity_correction=0 -l2_mem_entries=163840 -l3_mem_entries=81920 +bcm_num_cos=8 +l2_mem_entries=32768 +l3_mem_entries=16384 +l3_alpm_enable=2 +ipv6_lpm_128b_enable=1 + mmu_lossless=0 lls_num_l2uc=12 module_64ports=0