This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/platform
mssonicbld b3bcd3d08b
[Mellanox] Fix issue: cannot find label port for logical port when logical port number is larger than 64 (#13710) (#13908)
- Why I did it
sfp_event.py gets a PMPE message when a cable event is available. In PMPE message, there is no label port available. Current sfp_event.py is using sx_api_port_device_get to get 64 logical ports attributes, and find the label port from those 64 attributes. However, if there are more than 64 ports, sfp_event.py might not be able to find the label port and drop the PMPE message.

- How I did it
Don't use hardcoded 64, get logical port number instead.

- How to verify it
Manual test

Co-authored-by: Junchao-Mellanox <57339448+Junchao-Mellanox@users.noreply.github.com>
2023-02-21 18:15:06 -08:00
..
barefoot [202205][Arista] Update platform library submodules (#13871) 2023-02-17 13:52:14 -08:00
broadcom [Nokia][sonic-platform] Update Nokia sonic-platform submodule (#13522) (#13909) 2023-02-22 07:18:09 +08:00
cavium Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
centec [202205] Update Linux kernel from 5.10.103 to 5.10.140 (#12660) #12874 2022-12-01 09:25:40 -08:00
centec-arm64 [centec][arm64] fix tsingma bsp compile error (#12774) 2022-12-06 18:35:30 +08:00
checkout update cisco 8000 tag: 202205-v0.6 (#12580) 2022-11-03 08:58:07 +08:00
components [gearbox] use credo sai v0.8.2 (#13565) (#13603) 2023-02-03 05:00:30 +08:00
generic [dockers] Rename 'docker-snmp-sv2' to 'docker-snmp' (#4699) 2020-06-11 16:04:23 -07:00
innovium [innovium]: Enable syncd container autorestart for Innovium platforms (#11497) 2022-09-21 21:10:23 +00:00
marvell [202205][BRCM_SAI] update Brcm SAI dependencies (#11173) 2022-06-17 05:02:00 -07:00
marvell-arm64 Support symcrypt fips config for aboot/uboot (#10729) 2022-06-05 15:20:20 +00:00
marvell-armhf add sfp get error description (#13275) (#13746) 2023-02-10 14:37:32 -08:00
mellanox [Mellanox] Fix issue: cannot find label port for logical port when logical port number is larger than 64 (#13710) (#13908) 2023-02-21 18:15:06 -08:00
nephos Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
p4 Parallel building of sonic dockers using native dockerd(dood). (#10352) 2022-04-28 08:39:37 +08:00
pddf Fix for Accton platform build failure when doing incremental build (#10541) 2022-05-09 12:17:38 -07:00
template Mount directory warmboot in docker gbsyncd (#11852) 2022-08-27 16:16:17 +00:00
vs [sai-ptf]Fix sai ptf issue (#12723) 2022-11-16 20:28:30 -08:00