Skip to content

[mellanox]: Fix system EEPROM for MSN2740 platform#1950

Merged
lguohan merged 1 commit intosonic-net:masterfrom
volodymyrsamotiy:hw-mgmt-fix
Aug 20, 2018
Merged

[mellanox]: Fix system EEPROM for MSN2740 platform#1950
lguohan merged 1 commit intosonic-net:masterfrom
volodymyrsamotiy:hw-mgmt-fix

Conversation

@volodymyrsamotiy
Copy link
Collaborator

Signed-off-by: Volodymyr Samotiy volodymyrs@mellanox.com

- What I did
Fixed problem with system EEPROM on MSN2740 platform
- How I did it
Added patch to hw-mgmt sub-module in order to add valid config for the system EEPROM on MSN2740 platform
- How to verify it
Build an image, deploy to the MSN2740 switch and verify that decode-syseeprom returns valid output without any errors
- Description for the changelog
[mellanox]: Fix system EEPROM for MSN2740 platform

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
@lguohan lguohan merged commit 4aa3f7a into sonic-net:master Aug 20, 2018
vivekrnv added a commit to vivekrnv/sonic-buildimage that referenced this pull request Dec 6, 2021
3fa0854 [CLI][show bgp] On chassis don't show internal BGP sessions by default (sonic-net#1927)
6de91af [Auto-Techsupport] Issues related to Multiple Cores crashing handled (sonic-net#1948)
656ade1 SFP-Refactor: Vendor revision is not displayed properly (sonic-net#1950)
67466cb [port] Fix port speed set (sonic-net#1952)
5172972 Fix invalid output of syslog IPv6 servers (sonic-net#1933)
290ff5f Routed subinterface enhancements (sonic-net#1821)
1ea88e2 Enhance sfputil for CMIS QSFP (sonic-net#1949)

Signed-off-by: Vivek Reddy Karri <vkarri@nvidia.com>
qiluo-msft added a commit that referenced this pull request Dec 20, 2021
#### Why I did it
Including below commits:
```
fe00bbf 2021-12-17 | Revert "[sonic-package-manager] support sonic-cli-gen and packages with YANG model (#1650)" (#1972) [Prince George]
5fe6d92 2021-12-16 | [warm/fast-reboot] Fix kexec portion to support platforms based on Device Tree (#1966) [dflynn-Nokia]
74d2a09 2021-12-17 | [portstat] check TX/RX utilization calculation correctness (#1840) [Andriy Yurkiv]
e44c3f6 2021-12-16 | [generic-config-updater] Improving CreateOnly validator and marking /LOOPBACK_INTERFACE/LOOPBACK#/vrf_name as create-only (#1969) [Mohamed Ghoneim]
0067cc4 2021-12-15 | [build] adapt for upstream target path change (#1971) [Qi Luo]
96143ee 2021-12-09 | preserve old order for config reload (#1964) [arlakshm]
f08c81d 2021-12-10 | [vxlan] remove unnecessary whitespace for show commands (#1792) [Gord Chen]
14889ce 2021-12-09 | [soft-reboot] Add support for platforms based on Device Tree (#1963) [dflynn-Nokia]
7ceccd7 2021-12-08 | [generic-config-updater] Adding non-strict mode (#1929) [Mohamed Ghoneim]
2e462ef 2021-12-07 | [sfputil] Firmware download/upgrade CLI support for QSFP-DD (#1947) [Prince George]
7c34b79 2021-12-07 | [config] Add portchannel support  for static route  (#1857) [Dmytro]
54cc370 2021-12-06 | [doc] Refine doc on show loopback/mgmt ports (#1958) [Qi Luo]
3714f63 2021-12-06 | [port2alias]: Fix to get right number of return values (#1906) [SuvarnaMeenakshi]
3fa0854 2021-12-06 | [CLI][show bgp] On chassis don't show internal BGP sessions by default (#1927) [Mahesh Maddikayala]
6de91af 2021-12-06 | [Auto-Techsupport] Issues related to Multiple Cores crashing handled (#1948) [Vivek Reddy]
656ade1 2021-12-06 | SFP-Refactor: Vendor revision is not displayed properly (#1950) [Aravind Mani]
67466cb 2021-12-05 | [port] Fix port speed set (#1952) [Mykola Gerasymenko]
5172972 2021-12-04 | Fix invalid output of syslog IPv6 servers (#1933) [jingwenxie]
290ff5f 2021-12-03 | Routed subinterface enhancements (#1821) [Preetham]
1ea88e2 2021-12-01 | Enhance sfputil for CMIS QSFP (#1949) [andywongarista]
4e132c1 2021-11-30 | [debug dump] Refactoring Modules and Unit Tests (#1943) [Vivek Reddy]
b550c44 2021-11-30 | Add command reference for trap flow counters (#1876) [Junchao-Mellanox]
67a267b 2021-11-30 | [Reclaim buffer] [Mellanox] Db migrator support reclaiming reserved buffer for unused ports (#1822) [Stephen Sun]
30e4654 2021-11-25 | Add show command for BFD sessions (#1942) [Shi Su]
e63f47e 2021-11-25 | [warm-reboot] Fix failures of warm reboot on disconnect of ssh session (#1529) [maksymbelei95]
c05845d 2021-11-25 | Add trap flow counter support (#1868) [Junchao-Mellanox]
ef82f00 2021-11-24 | [load_minigraph] Delay pfcwd start until the buffer templates are rendered (#1937) [Neetha John]
f5e5a56 2021-11-24 | [sonic-package-manager] support sonic-cli-gen and packages with YANG model (#1650) [Stepan Blyshchak]
64777a4 2021-11-23 | generic_config_updater: Filename changed & VLAN validator added (#1919) [Renuka Manavalan]
1f8f6ab 2021-11-23 | [config reload] Update command reference (#1941) [Sudharsan Dhamal Gopalarathnam]
```
taras-keryk pushed a commit to taras-keryk/sonic-buildimage that referenced this pull request Apr 28, 2022
* SFP: Vendor revision is not displayed properly
@volodymyrsamotiy volodymyrsamotiy deleted the hw-mgmt-fix branch February 14, 2023 15:03
Staphylo pushed a commit to Staphylo/sonic-buildimage that referenced this pull request Feb 5, 2026
)

Why I did it
Ports with lane speed >=50G use PAM4 modulation and should indicate
"fec": "rs" in the port config.

This fixes issue Enhancement:FEC not configured for PAM4 speeds sonic-net#23561


#### Why I did it

Ports with lane speed >=50G use PAM4 modulation and should indicate
"fec": "rs" in the port config. Without this, the FEC configuration is
missing for PAM4 speeds, which can lead to link stability issues.

##### Work item tracking
- Microsoft ADO **(number only)**:

#### How I did it
Modified `portconfig.py` to automatically set `"fec": "rs"` for ports
where the lane speed is >=50G (PAM4 modulation). Updated the logic to
detect lane speed based on port speed and number of lanes, and apply the
appropriate FEC configuration.

#### How to verify it
1. Generate port configuration for platforms with ports using >=50G per
lane (e.g., 400G ports with 8 lanes, 200G ports with 4 lanes)
2. Verify that the generated config includes `"fec": "rs"` for these
ports
3. Run the updated unit tests: `test_cfggen_platformJson.py`

#### Which release branch to backport (provide reason below if selected)

- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
- [ ] 202211

#### Tested branch (Please provide the tested image version)
- [x] 202412 branch 

#### Description for the changelog
Add automatic FEC RS configuration for ports with lane speed >=50G (PAM4
modulation)

<!--
Ensure to add label/tag for the feature raised. example - PR#2174 under
sonic-utilities repo. where, Generic Config and Update feature has been
labelled as GCU.
-->

#### Link to config_db schema for YANG module changes
<!--
Provide a link to config_db schema for the table for which YANG model
is defined
Link should point to correct section on
https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md
-->

#### A picture of a cute animal (not mandatory but encouraged)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants