b1aede651f
Why I did it Update SAI to SAIBuild2305.26.0.9 for Mellanox platforms. Fixed issues: When working with SAI_DEFAULT_SWITCHING_MODE_STORE_FORWARD key/value enabled, trying to add a LAG member to a LAG which is created after warm boot initial configuration phase ended, will fail. Creating BFD session for non default VRF fails (SAI_BFD_SESSION_ATTR_VIRTUAL_ROUTER != SAI_SWITCH_ATTR_DEFAULT_VIRTUAL_ROUTER_ID). Work item tracking Microsoft ADO (number only): How I did it Updated SAI version in "mlnx-sai.mk" Makefile. How to verify it Run "sonic-mgmt" regression testing.
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
# Mellanox SAI
|
|
|
|
MLNX_SAI_VERSION = SAIBuild2305.26.0.9
|
|
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
|