sonic-buildimage/platform/broadcom/sai.mk

21 lines
1.1 KiB
Makefile
Raw Normal View History

LIBSAIBCM_XGS_VERSION = 7.1.62.4
[brcm]: Update Brcm SAI for DNX platforms (#17108) Update the Brcm SAI 7.0 with following fixes Offical Brcm SDK fix for memory leak (CS00012315073 [7.0][J2C+] : PFCWD counter polling causing continuous mem leak on production device) Official Brcm fix for CPU high (CS00012317195 High CPU due to SDK calling soc_dnxc_port_resource_get for few stats counters even with bcmCNTR thread) Offical Brcm SAI fix for getting voq counters working. CSP CS00012319503: DNX SAI 7.1.60.4 has broken Voq counters support How to verify it Validated by running the nightly pipeline on a chassis platform. Validated that the voq counters, by sensind traffic from T1 VM --> T3 VM Port Voq Counter/pkts Counter/bytes Drop/pkts Drop/bytes ---------------------------------- ----- -------------- --------------- ----------- ------------ svcstr-xxxx-lc1-1|asic0|Ethernet48 VOQ0 0 0 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet48 VOQ1 27 1968 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet48 VOQ2 0 0 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet48 VOQ3 0 0 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet48 VOQ4 0 0 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet48 VOQ5 0 0 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet48 VOQ6 0 0 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet48 VOQ7 0 0 0 0 Port Voq Counter/pkts Counter/bytes Drop/pkts Drop/bytes ---------------------------------- ----- -------------- --------------- ----------- ------------ svcstr-xxxx-lc1-1|asic0|Ethernet56 VOQ0 0 0 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet56 VOQ1 7099 625680 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet56 VOQ2 0 0 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet56 VOQ3 0 0 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet56 VOQ4 0 0 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet56 VOQ5 0 0 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet56 VOQ6 0 0 0 0 svcstr-xxxx-lc1-1|asic0|Ethernet56 VOQ7 0 0 0 0 --------------- The CPU usage has come down in SUP System 'xxxx-sup-1' status Running monitoring status Monitored monitoring mode active on reboot start load average [7.94] [8.70] [7.54] cpu 2.6%us 45.0%sy 0.0%wa <<<<-- it is 45% memory usage 8.9 GB [28.6%] swap usage 0 B [0.0%] uptime 21m boot time Fri, 17 Nov 2023 21:55:55 data collected Fri, 17 Nov 2023 22:16:59 ------------- syncd memory usage no increasing.
2023-11-17 16:50:59 -06:00
LIBSAIBCM_DNX_VERSION = 7.1.66.4
LIBSAIBCM_BRANCH_NAME = REL_7.0_202205
LIBSAIBCM_XGS_URL_PREFIX = "https://sonicstorage.blob.core.windows.net/public/sai/bcmsai/$(LIBSAIBCM_BRANCH_NAME)/$(LIBSAIBCM_XGS_VERSION)"
LIBSAIBCM_DNX_URL_PREFIX = "https://sonicstorage.blob.core.windows.net/public/sai/bcmsai/$(LIBSAIBCM_BRANCH_NAME)/$(LIBSAIBCM_DNX_VERSION)"
BRCM_XGS_SAI = libsaibcm_$(LIBSAIBCM_XGS_VERSION)_amd64.deb
$(BRCM_XGS_SAI)_URL = "$(LIBSAIBCM_XGS_URL_PREFIX)/$(BRCM_XGS_SAI)"
BRCM_XGS_SAI_DEV = libsaibcm-dev_$(LIBSAIBCM_XGS_VERSION)_amd64.deb
$(eval $(call add_derived_package,$(BRCM_XGS_SAI),$(BRCM_XGS_SAI_DEV)))
$(BRCM_XGS_SAI_DEV)_URL = "$(LIBSAIBCM_XGS_URL_PREFIX)/$(BRCM_XGS_SAI_DEV)"
# SAI module for DNX Asic family
BRCM_DNX_SAI = libsaibcm_dnx_$(LIBSAIBCM_DNX_VERSION)_amd64.deb
$(BRCM_DNX_SAI)_URL = "$(LIBSAIBCM_DNX_URL_PREFIX)/$(BRCM_DNX_SAI)"
SONIC_ONLINE_DEBS += $(BRCM_XGS_SAI)
SONIC_ONLINE_DEBS += $(BRCM_DNX_SAI)
$(BRCM_XGS_SAI_DEV)_DEPENDS += $(BRCM_XGS_SAI)
$(eval $(call add_conflict_package,$(BRCM_XGS_SAI_DEV),$(LIBSAIVS_DEV)))