d7b85af18b
- Why I did it SAI bug Fixes 1. When creating an ACL rule with SAI_ACL_ENTRY_ATTR_FIELD_SRC_IP/SAI_ACL_ENTRY_ATTR_FIELD_DST_IP enabled, and then disabling the field by setting enable=false, a match on L3_type=IPv4 will remain programmed for the rule Issue resolved after the fix 2. Allow the max scale of virtual routers to be configure for SPC-1, SPC-2, SPC-3 which is 255 when fastboot enable and 511 when fastboot disable 3. Remove default hash key of SRC_MAC, DST_MAC and ETH_TYPE SAI features 1. Port init profile 2. Dual ToR Active-Standby | Additional MAC support SDK/FW bug fixes 1. When preforming fast boot from an old SDK version (currently installed) to a newer one (target version), and the system was initially loaded with a new SDK version (past version), and the system has not been wiped, under specific conditions, the fast boot would use the past version's data and may fail. - How I did it Update SAI version to SAIBuild2211.25.1.4 Update SDK/FW version to 4.6.1062/2012.1062
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# Mellanox SAI
|
|
|
|
MLNX_SAI_VERSION = SAIBuild2211.25.1.4
|
|
MLNX_SAI_ASSETS_GITHUB_URL = https://github.com/Mellanox/Spectrum-SDK-Drivers-SONiC-Bins
|
|
MLNX_SAI_ASSETS_RELEASE_TAG = sai-$(MLNX_SAI_VERSION)-$(BLDENV)-$(CONFIGURED_ARCH)
|
|
MLNX_SAI_ASSETS_URL = $(MLNX_ASSETS_GITHUB_URL)/releases/download/$(MLNX_SAI_ASSETS_RELEASE_TAG)
|
|
MLNX_SAI_DEB_VERSION = $(subst -,.,$(subst _,.,$(MLNX_SAI_VERSION)))
|
|
|
|
# Place here URL where SAI sources exist
|
|
MLNX_SAI_SOURCE_BASE_URL =
|
|
|
|
ifneq ($(MLNX_SAI_SOURCE_BASE_URL), )
|
|
SAI_FROM_SRC = y
|
|
else
|
|
SAI_FROM_SRC = n
|
|
endif
|
|
|
|
export MLNX_SAI_VERSION MLNX_SAI_SOURCE_BASE_URL
|
|
|
|
MLNX_SAI = mlnx-sai_1.mlnx.$(MLNX_SAI_VERSION)_$(CONFIGURED_ARCH).deb
|
|
$(MLNX_SAI)_SRC_PATH = $(PLATFORM_PATH)/mlnx-sai
|
|
$(MLNX_SAI)_DEPENDS += $(MLNX_SDK_DEBS)
|
|
$(MLNX_SAI)_RDEPENDS += $(MLNX_SDK_RDEBS) $(MLNX_SDK_DEBS)
|
|
$(eval $(call add_conflict_package,$(MLNX_SAI),$(LIBSAIVS_DEV)))
|
|
MLNX_SAI_DBGSYM = mlnx-sai-dbgsym_1.mlnx.$(MLNX_SAI_VERSION)_$(CONFIGURED_ARCH).deb
|
|
$(eval $(call add_derived_package,$(MLNX_SAI),$(MLNX_SAI_DBGSYM)))
|
|
|
|
define make_url
|
|
$(1)_URL = $(MLNX_SAI_ASSETS_URL)/$(1)
|
|
|
|
endef
|
|
|
|
$(eval $(foreach deb,$(MLNX_SAI) $(MLNX_SAI_DBGSYM),$(call make_url,$(deb))))
|
|
|
|
ifeq ($(SAI_FROM_SRC), y)
|
|
SONIC_MAKE_DEBS += $(MLNX_SAI)
|
|
else
|
|
SONIC_ONLINE_DEBS += $(MLNX_SAI)
|
|
endif
|