sonic-buildimage/platform/mellanox
Vadym Hlushko 2dff179f2c
[SFP] Change logging severity when failed to read EEPROM (#13010)
Why I did it
In order to prevent the sonic-mgmt/tests/platform_tests/sfp/test_sfputil.py test failing on the log analyzer step.

The mentioned test is performing the sfputil reset EthernetX for every interface on the SONiC switch, this action will flap the SFP device status (INSTERTED -> REMOVED -> INSTERTED).

The SONiC XCVRD daemon will catch this SFP device status change (because it is monitoring the presence status of the cable).
To judge the cable presence status, currently, we are still leveraging to read the first bytes of the EEPROM, and the EEPROM could be not ready at some moment and the SONiC XCVRD daemon will print the error log to Syslog:

ERR pmon#xcvrd: Error! Unable to read data for 'xx' port, page 'xx' offset 128, rc = 1, err msg: Sending access register
How I did it
Change logging severity from ERR to WARNING

Signed-off-by: Vadym Hlushko <vadymh@nvidia.com>
2022-12-19 09:21:21 -08:00
..
docker-saiserver-mlnx [202205][SAIServer] support saiserver v2 in bullseye (#11870) 2022-08-29 18:59:53 -07:00
docker-syncd-mlnx [asan] add print_suppressions=0 to ASAN configs (#11252) 2022-06-28 16:11:05 +00:00
docker-syncd-mlnx-rpc Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
hw-management [Mellanox] Update hw-mgmt package to V.7.0020.3006 (#11538) 2022-08-11 16:17:30 +00: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 Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
mlnx-platform-api [SFP] Change logging severity when failed to read EEPROM (#13010) 2022-12-19 09:21:21 -08:00
mlnx-sai [Mellanox] Update SAI to v2205.22.1.19 and SDK/FW to v4.5.3168/v2010.3070 (#12206) 2022-09-30 09:39:12 +03:00
sdk-src [Mellanox] Update SDK/FW to version 4.5.3186/2010.3186 (#12542) 2022-11-10 18:10:05 +00:00
.gitignore [mellanox] build SDK driver from open source (#3580) 2019-10-08 07:57:12 -07:00
asic_table.j2 [Mellanox] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02: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 [asan] add debug package for asan-enabled containers (#10953) 2022-05-31 09:24:18 +03:00
fw.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
fw.mk [Mellanox] Update SDK/FW to version 4.5.3186/2010.3186 (#12542) 2022-11-10 18:10:05 +00:00
hw-management.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
hw-management.mk [Mellanox] Update hw-mgmt package to V.7.0020.3006 (#11538) 2022-08-11 16:17:30 +00: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
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 Upgrade mellanox platform containers (syncd / saiserver / syncd-rpc) and pmon to bullseye (#10580) 2022-05-10 12:45:28 +03:00
mft.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
mft.mk [202205] [Mellanox] Update MFT to v4.21.0-100 (#11759) 2022-08-24 11:48:43 +03: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 [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +03:00
mlnx-fw-upgrade.j2 [Mellanox] Add hw-mgmt patch for SimX platform adaptation (#6782) 2021-02-25 12:41:29 +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 [platform build] fix platform ycabled build (#11020) 2022-06-04 09:43:05 -07: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 v2205.22.1.19 and SDK/FW to v4.5.3168/v2010.3070 (#12206) 2022-09-30 09:39:12 +03: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-07-28 20:24:49 +00:00
one-image.dep [mellanox]: Add DPKG local caching support. (#4441) 2020-04-20 19:02:46 -07:00
one-image.mk [Mellanox] Add NVIDIA Copyright header to "mellanox" files (#8799) 2021-10-17 19:03:02 +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] Update NVIDIA License header for files changed since 1.1.2022 (#10289) 2022-03-23 13:19:25 +02:00
sdk.dep [nvidia/mellanox] add MLNX_SDK_DEB_VERSION to SDK packages flags list. (#7747) 2021-06-08 09:38:00 -07:00
sdk.mk [Mellanox] Update SDK/FW to version 4.5.3186/2010.3186 (#12542) 2022-11-10 18:10:05 +00:00
zero_profiles.j2 [202205] [Mellanox] update NVIDIA copyright header for added files (#12126) 2022-09-22 19:08:08 +03:00