SONiC
SONiC copied to clipboard
FEC auto determination
FEC mode is a critical configuration for a port, which needs to be configured properly for the port to come up.
There are below scenarios that can end up with wrong FEC mode:
- In DPB(Dynamic Port Breakout) case, today's DPB CLI doesn't generate FEC config for newly created ports, FEC mode is default to
noneat SAI/SDK layer. - In non-DPB case,
- Some platforms have no FEC configured in CONFIG_DB by default. The FEC mode can be either default to
noneat SAI/SDK layer or manually configured by user who might not have enough domain knowledge. - Some platforms have default FEC defined in
port_config.ini, which however might not be suitable for the specific port/optics on the system.
- Some platforms have no FEC configured in CONFIG_DB by default. The FEC mode can be either default to
The feature in this document is to address the issue in both of above scenarios in a common platform-independent way, since the rule to determine FEC for a given port/optics is common for all platforms.
Add @shyam77git @jaganbal-a
community review recording https://zoom.us/rec/share/T8d5F2zsuzrStE5Sj31-cOf5dxOfT7zbS2pjfhhOuTFgwMR2UwHQjfduRIF5joY.IbX5hMETLHTs-3DJ
we need backward compatibility.
@longhuan-cisco can you please help to add the code PRs by referring to #806 ? More info can be found from https://github.com/sonic-net/SONiC/wiki/Becoming-a-contributor
@longhuan-cisco does this feature require SAI change?
@longhuan-cisco can you please help to add the code PRs by referring to #806 ? More info can be found from https://github.com/sonic-net/SONiC/wiki/Becoming-a-contributor
Some major updates need to be done in HLD as discussed in community review. And code PRs will be added after that.
@longhuan-cisco does this feature require SAI change?
According to the current plan, it's not required.
code PR is not ready, move to backlog for future release