sonic-buildimage/platform/mellanox
dbarashinvd 7a34d4a275
[Mellanox] fix code for warm reboot to work with FW controlled ports (#18065)
- Why I did it
Fix the code to work also after warm reboot to work with FW controlled ports.
In warm reboot the control state sysfs of each port does not change unlike reboot or fast boot.

- How I did it
1. Check procfs cmdline if warm reboot done this is due to the fact pmon don't recognize warm reboot when it's taking place since pmon is loaded after warm reboot is finished.
2. If warm reboot done, check in static detection part for each port if it's FW controlled. If so, leave it this way and stop the state machine flow (set it to final state).

- How to verify it
1. Boot a switch with CMIS host management with at least one FW controlled port (non active cables or non cmis cables) then run warm reboot.
2. Verify no errors of sysfs reading appears for control sysfs
2024-02-08 14:49:56 +02:00
..
docker-saiserver-mlnx [infra] Support syslog rate limit configuration (#12490) 2022-12-20 10:53:58 +02:00
docker-syncd-mlnx [Nvidia] Update syncd docker to use python version 3 (#17735) 2024-01-30 13:47:39 -08:00
docker-syncd-mlnx-rpc [Nvidia] Update syncd docker to use python version 3 (#17735) 2024-01-30 13:47:39 -08:00
hw-management [Mellanox] Upgrade HW-MGMT to 7.0030.2008 and update platform-api (#17134) 2023-11-21 18:53:15 -08:00
integration-scripts [mellanox] Update SAI to SAIBuild2311.25.0.36, SDK/FW to 4.6.2104/2012.2104 (#17131) 2023-11-21 18:53:15 -08:00
iproute2 [Mellanox] Remove iproute2 SDK patches from SONiC tree and consume them from SDK github (#15062) 2023-06-13 15:17:52 +03:00
issu-version Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
mft [Mellanox] Disable MFT bash autocompletion (#17442) 2023-12-10 10:28:32 +02:00
mft-fwtrace-cfg [Mellanox] Remove mlxtrace support for SPC4 (#16373) 2023-09-04 10:53:20 +03:00
mlnx-platform-api [Mellanox] fix code for warm reboot to work with FW controlled ports (#18065) 2024-02-08 14:49:56 +02:00
mlnx-sai [Mellanox] Remove unnecessary file manipulation in the SAI Make file (#15993) 2023-08-03 13:39:27 +03:00
non-upstream-patches [Mellanox] Upgrade HW-MGMT to 7.0030.2008 and update platform-api (#17134) 2023-11-21 18:53:15 -08:00
nv-syncd-shared [nvidia][syncd] fix incorrect permission of /tmp in syncd container (#17777) 2024-02-05 00:00:29 -08:00
sdk-src [Nvidia] Update syncd docker to use python version 3 (#17735) 2024-01-30 13:47:39 -08:00
.gitignore [Mellanox] Update SAI build procedure (#15728) 2023-07-15 01:03:33 +03:00
asic_table.j2 [Mellanox] add new platform 2700 a1 (#16515) 2023-09-23 00:15:17 -07:00
docker-saiserver-mlnx.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
docker-saiserver-mlnx.mk Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
docker-syncd-mlnx-rpc.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
docker-syncd-mlnx-rpc.mk Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
docker-syncd-mlnx.dep [build][asan] make dpkg cache asan-aware (#10750) 2022-05-31 11:15:44 +03:00
docker-syncd-mlnx.mk [Mellanox] Add mlxtrace to techsupport (#15961) 2023-08-03 11:36:58 +03:00
fw.dep [Mellanox] Update SDK/FW/SAI to 4.6.1020/2012.1020/SAIBuild2305.25.0.3 (#16096) 2023-08-15 15:32:52 +03:00
fw.mk [Mellanox] Update SIMX version to 23.10-1123 (#17958) 2024-01-31 19:41:23 +02:00
hw-management.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
hw-management.mk [Mellanox] Upgrade HW-MGMT to 7.0030.2008 and update platform-api (#17134) 2023-11-21 18:53:15 -08:00
install-pending-fw.dep [Mellanox] Modified Platform API to support all firmware updates in single boot (#9608) 2022-01-24 00:56:38 -08:00
install-pending-fw.mk [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
install-pending-fw.py [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
integration-scripts.mk [Mellanox] Upgrade HW-MGMT to 7.0030.2008 and update platform-api (#17134) 2023-11-21 18:53:15 -08:00
iproute2.dep [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
iproute2.mk [Mellanox] Replace iproute2 supplied by SDK to iproute2 downloaded from Debian repository (#14726) 2023-04-30 12:30:09 +03:00
issu-version.dep Fix cache related mellanox bullseye build failures (#9234) 2021-11-16 14:49:47 -08:00
issu-version.mk Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
libsaithrift-dev.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
libsaithrift-dev.mk [Mellanox] Add arm64 architecture support to mellanox platform (#11342) 2022-07-13 16:21:33 +03:00
mft-fwtrace-cfg.dep [Mellanox] Add mlxtrace to techsupport (#15961) 2023-08-03 11:36:58 +03:00
mft-fwtrace-cfg.mk [Mellanox] Add mlxtrace to techsupport (#15961) 2023-08-03 11:36:58 +03:00
mft.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mft.mk [Nvidia] Fix mlnx-sai build failure (#14) 2023-11-21 18:53:15 -08:00
mlnx-ffb.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mlnx-ffb.mk [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
mlnx-ffb.sh [mlnx-ffb.sh] Update issu-version location (#14925) 2023-06-15 15:14:52 -07:00
mlnx-fw-upgrade.j2 [mlnx-fw-upgrade] Add FW reactivation in case 2 FW upgrades were done without reboot (#17092) 2023-11-19 11:01:31 +02:00
mlnx-onie-fw-update.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mlnx-onie-fw-update.mk [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
mlnx-onie-fw-update.sh [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
mlnx-platform-api.dep [Bug][Build]: Fix the mlnx-platform-api dpkg cache config error (#9705) 2022-01-09 09:21:59 +08:00
mlnx-platform-api.mk Add PYTHON3_SWSSCOMMON as build time dependency to Mellanox platform API (#13847) 2023-02-20 15:24:26 +02:00
mlnx-sai.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mlnx-sai.mk [Mellanox] Update SAI to 2311.26.0.28, SDK/FW to 4.6.2134/2012.2134 (#17481) 2023-12-13 12:48:49 +02:00
mlnx-ssd-fw-update.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mlnx-ssd-fw-update.mk [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
mlnx-ssd-fw-update.sh [Mellanox] Enhance Platform API to support SN2201 - RJ45 ports and new components mgmt. (#10377) 2022-06-20 19:12:20 -07:00
one-image.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
one-image.mk [Mellanox] Add mlxtrace to techsupport (#15961) 2023-08-03 11:36:58 +03:00
peripheral_table.j2 [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
platform.conf one image implementation (#215) 2017-01-29 11:33:33 -08:00
rules.dep [Mellanox] Modified Platform API to support all firmware updates in single boot (#9608) 2022-01-24 00:56:38 -08:00
rules.mk [Mellanox] Add mlxtrace to techsupport (#15961) 2023-08-03 11:36:58 +03:00
sdk.dep [Mellanox] Update SDK/FW/SAI to 4.6.1020/2012.1020/SAIBuild2305.25.0.3 (#16096) 2023-08-15 15:32:52 +03:00
sdk.mk [Mellanox]Update SDK/FW to 4.6.2202/2012.2202 (#17947) 2024-01-31 08:35:16 +02:00
zero_profiles.j2 [Mellanox] Add NVIDIA copyright header for NVIDIA added files (#12130) 2022-10-02 11:34:24 +03:00