Skip to content

Commit

Permalink
[Mellanox] Update SDK/FW to 4.5.4150/2010.4150 (#13480)
Browse files Browse the repository at this point in the history
- Why I did it
To include latest fixes and new functionality

SDK/FW
1. Fixed bug in recovery mechanism in case of I2C error when trying to access the XSFP module.
2. On the NVIDIA Spectrum-2 switch, when receiving a packet with Symbol Errors on ports that are configured to cut-thought mode, a pipeline might get stuck.
3. On the Spectrum-2 and Spectrum-3 switch, if you enable ECN marking and the port is in split mode, traffic sent to the port under congestion (for example, when connecting two ports with a total speed of 50GbE to a single 25GbE port) is not marked.
4. Modifying existing entry/Adding new one when switch is at its maximum capacity (full by maximum allowed entries from any type such as routes, FDB, and so forth), will fail with an error.
5. When many ports are active (e.g., 70 ports up), and the configuration of shared buffer is applied on the fly, occasionally, the firmware might get stuck.
6. When a system has more than 256 ACL rules, on rare occasion, removing/adding rules may cause some ACL rules not to work.
7. On SN2201 system, on RJ45 port, the link might appear in 'down' state even if it operations properly.
8. Layer 4 port information is not initialized for BFD packet event. To address the issue, remote peer UDP port information was added in BFD packet event.
9. When setting LAG as a SPAN analyzer, the distributor mode of the LAG members was not taken into account. It may happen that the LAG member with distributor mode disabled will be set as a SPAN analyzer port.

- How I did it
Updated SDK/SAI submodule and relevant makefiles with the required versions.

- How to verify it
Build an image and run tests from "sonic-mgmt".

Signed-off-by: Volodymyr Samotiy <volodymyrs@nvidia.com>
  • Loading branch information
volodymyrsamotiy authored and mssonicbld committed Feb 16, 2023
1 parent aa376d7 commit e849455
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions platform/mellanox/fw.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,22 @@ else
FW_FROM_URL = n
endif

MLNX_SPC_FW_VERSION = 13.2010.4026
MLNX_SPC_FW_VERSION = 13.2010.4150
MLNX_SPC_FW_FILE = fw-SPC-rel-$(subst .,_,$(MLNX_SPC_FW_VERSION))-EVB.mfa
$(MLNX_SPC_FW_FILE)_PATH = $(MLNX_FW_BASE_PATH)
$(MLNX_SPC_FW_FILE)_URL = $(MLNX_FW_BASE_URL)/$(MLNX_SPC_FW_FILE)

MLNX_SPC2_FW_VERSION = 29.2010.4026
MLNX_SPC2_FW_VERSION = 29.2010.4150
MLNX_SPC2_FW_FILE = fw-SPC2-rel-$(subst .,_,$(MLNX_SPC2_FW_VERSION))-EVB.mfa
$(MLNX_SPC2_FW_FILE)_PATH = $(MLNX_FW_BASE_PATH)
$(MLNX_SPC2_FW_FILE)_URL = $(MLNX_FW_BASE_URL)/$(MLNX_SPC2_FW_FILE)

MLNX_SPC3_FW_VERSION = 30.2010.4026
MLNX_SPC3_FW_VERSION = 30.2010.4150
MLNX_SPC3_FW_FILE = fw-SPC3-rel-$(subst .,_,$(MLNX_SPC3_FW_VERSION))-EVB.mfa
$(MLNX_SPC3_FW_FILE)_PATH = $(MLNX_FW_BASE_PATH)
$(MLNX_SPC3_FW_FILE)_URL = $(MLNX_FW_BASE_URL)/$(MLNX_SPC3_FW_FILE)

MLNX_SPC4_FW_VERSION = 34.2010.4026
MLNX_SPC4_FW_VERSION = 34.2010.4150
MLNX_SPC4_FW_FILE = fw-SPC4-rel-$(subst .,_,$(MLNX_SPC4_FW_VERSION))-EVB.mfa
$(MLNX_SPC4_FW_FILE)_PATH = $(MLNX_FW_BASE_PATH)
$(MLNX_SPC4_FW_FILE)_URL = $(MLNX_FW_BASE_URL)/$(MLNX_SPC4_FW_FILE)
Expand Down
2 changes: 1 addition & 1 deletion platform/mellanox/sdk-src/sx-kernel/Switch-SDK-drivers
Submodule Switch-SDK-drivers updated 86 files
+5 −5 bin/README.md
+ bin/bullseye/amd64/applibs-dbgsym_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/applibs-dev_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/applibs-dev_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/applibs_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/applibs_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/iproute2-dbgsym_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/iproute2-dev_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/iproute2_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/python-sdk-api-dbgsym_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/python-sdk-api_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-acl-helper-dbgsym_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/sx-acl-helper-dbgsym_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-acl-helper-dev-static_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-acl-helper-dev_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-acl-helper_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-complib-dbgsym_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/sx-complib-dbgsym_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-complib-dev-static_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-complib-dev_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-complib_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/sx-complib_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-examples-dbgsym_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/sx-examples-dbgsym_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-examples-dev_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/sx-examples-dev_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-examples_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/sx-examples_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-gen-utils-dbgsym_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-gen-utils-dev_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-gen-utils_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-hash-calc-dbgsym_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-hash-calc_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/sx-hash-calc_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-kernel-dev_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/sx-kernel-dev_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-kernel_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/sx-kernel_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-scew-dbgsym_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-scew-dev-static_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-scew-dev_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sx-scew_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sxd-libs-dbgsym_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/sxd-libs-dbgsym_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sxd-libs-dev-static_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sxd-libs-dev_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/sxd-libs-dev_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/sxd-libs_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/sxd-libs_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/wjh-libs-dbgsym_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/wjh-libs-dbgsym_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/wjh-libs-dev-static_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/wjh-libs-dev_1.mlnx.4.5.4150_amd64.deb
+ bin/bullseye/amd64/wjh-libs_1.mlnx.4.5.4026_amd64.deb
+ bin/bullseye/amd64/wjh-libs_1.mlnx.4.5.4150_amd64.deb
+ bin/fw-SPC-rel-13_2010_4026-EVB.mfa
+ bin/fw-SPC-rel-13_2010_4150-EVB.mfa
+ bin/fw-SPC2-rel-29_2010_4026-EVB.mfa
+ bin/fw-SPC2-rel-29_2010_4150-EVB.mfa
+ bin/fw-SPC3-rel-30_2010_4026-EVB.mfa
+ bin/fw-SPC3-rel-30_2010_4150-EVB.mfa
+ bin/fw-SPC4-rel-34_2010_4026-EVB.mfa
+ bin/fw-SPC4-rel-34_2010_4150-EVB.mfa
+1 −1 debian/changelog
+466 −142 drivers/net/mlx_sx/auto_registers/fw_reg_auto.c
+13 −28 drivers/net/mlx_sx/auto_registers/ioctl_reg_auto.c
+546 −280 drivers/net/mlx_sx/auto_registers/reg.c
+2 −2 drivers/net/mlx_sx/bulk_cntr_event.c
+5 −1 drivers/net/mlx_sx/cq.c
+64 −71 drivers/net/mlx_sx/dev_init.c
+3 −2 drivers/net/mlx_sx/dev_init.h
+7 −1 drivers/net/mlx_sx/fw_reg.c
+198 −57 drivers/net/mlx_sx/health_check.c
+4 −0 drivers/net/mlx_sx/health_check.h
+17 −4 drivers/net/mlx_sx/ioctl_host_ifc.c
+2 −2 drivers/net/mlx_sx/ioctl_pci.c
+3 −1 drivers/net/mlx_sx/sx.h
+1 −1 drivers/net/mlx_sx/sx_proc.c
+89 −89 drivers/net/sx_spice_dump/sx_spice_access_reg_auto.c
+9 −6 drivers/net/sx_spice_dump/sx_spice_dump_main.c
+27 −28 include/linux/mlx_sx/auto_registers/cmd_auto.h
+10 −29 include/linux/mlx_sx/auto_registers/kernel_cmd_access_auto.h
+189 −108 include/linux/mlx_sx/auto_registers/kernel_user_auto.h
+391 −175 include/linux/mlx_sx/auto_registers/reg.h
+9 −111 include/linux/mlx_sx/kernel_user.h
+1 −1 sx_scripts/sxdkernel
2 changes: 1 addition & 1 deletion platform/mellanox/sdk.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#
MLNX_SDK_BASE_PATH = $(PLATFORM_PATH)/sdk-src/sx-kernel/Switch-SDK-drivers/bin/
MLNX_SDK_PKG_BASE_PATH = $(MLNX_SDK_BASE_PATH)/$(BLDENV)/$(CONFIGURED_ARCH)/
MLNX_SDK_VERSION = 4.5.4026
MLNX_SDK_VERSION = 4.5.4150
MLNX_SDK_ISSU_VERSION = 101

MLNX_SDK_DEB_VERSION = $(subst -,.,$(subst _,.,$(MLNX_SDK_VERSION)))
Expand Down

0 comments on commit e849455

Please sign in to comment.