Skip to content

Add port FEC BER feature swss#3363

Merged
prsunny merged 2 commits intosonic-net:masterfrom
vincentpcng:master-fec-swss
Nov 22, 2024
Merged

Add port FEC BER feature swss#3363
prsunny merged 2 commits intosonic-net:masterfrom
vincentpcng:master-fec-swss

Conversation

@vincentpcng
Copy link
Contributor

What I did
This is to add the swss changes for the feature port FEC BER.
It modify the port_rates.lua script to compute the BER and stored them in the DB .
Two additonal PR(s) will address the cli ( sonic-utilities) and the sonic-mgmt changes

Why I did it
The HLD for this feature is HLD#1829

How I verified it
We verify the counters internally
(1) verify when link has correctable FEC errors, the BER were calcuated accordingly
(2) verify 400G with 4x100 and the BER , four serdes with 100G rate
(3) run a redis-script to polling the DB counters and verify the calculation
(4) stop polling manually modify the uncorrectable counter and verify the cli display and calculation

Details if related

@vincentpcng vincentpcng requested a review from prsunny as a code owner November 9, 2024 00:39
@vincentpcng vincentpcng changed the title Add port FEC BER feature swss, HLD#1829 Add port FEC BER feature swss Nov 9, 2024
@prgeor
Copy link
Contributor

prgeor commented Nov 19, 2024

@prsunny can you merge?

@prsunny
Copy link
Collaborator

prsunny commented Nov 22, 2024

is there a corresponding CLI change?

@vincentpcng
Copy link
Contributor Author

vincentpcng commented Nov 22, 2024

is there a corresponding CLI change?

Yes the existing CLI "show interface counters fec-stats" were enhanced to add additional column

show command changes:
sonic-net/sonic-utilities#3607

and mgmt changed:

sonic-net/sonic-mgmt#15481

@prsunny prsunny merged commit 1847195 into sonic-net:master Nov 22, 2024
github-actions bot pushed a commit to bradh352/sonic-swss that referenced this pull request Nov 23, 2024
What I did
This is to add the swss changes for the feature port FEC BER.
It modify the port_rates.lua script to compute the BER and stored them in the DB .
Two additonal PR(s) will address the cli ( sonic-utilities) and the sonic-mgmt changes

Why I did it
The HLD for this feature is HLD#1829

How I verified it
We verify the counters internally
(1) verify when link has correctable FEC errors, the BER were calcuated accordingly
(2) verify 400G with 4x100 and the BER , four serdes with 100G rate
(3) run a redis-script to polling the DB counters and verify the calculation
(4) stop polling manually modify the uncorrectable counter and verify the cli display and calculation
bradh352 pushed a commit to bradh352/sonic-swss that referenced this pull request Dec 4, 2024
What I did
This is to add the swss changes for the feature port FEC BER.
It modify the port_rates.lua script to compute the BER and stored them in the DB .
Two additonal PR(s) will address the cli ( sonic-utilities) and the sonic-mgmt changes

Why I did it
The HLD for this feature is HLD#1829

How I verified it
We verify the counters internally
(1) verify when link has correctable FEC errors, the BER were calcuated accordingly
(2) verify 400G with 4x100 and the BER , four serdes with 100G rate
(3) run a redis-script to polling the DB counters and verify the calculation
(4) stop polling manually modify the uncorrectable counter and verify the cli display and calculation
bradh352 pushed a commit to bradh352/sonic-swss that referenced this pull request Dec 4, 2024
What I did
This is to add the swss changes for the feature port FEC BER.
It modify the port_rates.lua script to compute the BER and stored them in the DB .
Two additonal PR(s) will address the cli ( sonic-utilities) and the sonic-mgmt changes

Why I did it
The HLD for this feature is HLD#1829

How I verified it
We verify the counters internally
(1) verify when link has correctable FEC errors, the BER were calcuated accordingly
(2) verify 400G with 4x100 and the BER , four serdes with 100G rate
(3) run a redis-script to polling the DB counters and verify the calculation
(4) stop polling manually modify the uncorrectable counter and verify the cli display and calculation
divyachandralekha pushed a commit to divyachandralekha/sonic-swss that referenced this pull request Dec 12, 2024
What I did
This is to add the swss changes for the feature port FEC BER.
It modify the port_rates.lua script to compute the BER and stored them in the DB .
Two additonal PR(s) will address the cli ( sonic-utilities) and the sonic-mgmt changes

Why I did it
The HLD for this feature is HLD#1829

How I verified it
We verify the counters internally
(1) verify when link has correctable FEC errors, the BER were calcuated accordingly
(2) verify 400G with 4x100 and the BER , four serdes with 100G rate
(3) run a redis-script to polling the DB counters and verify the calculation
(4) stop polling manually modify the uncorrectable counter and verify the cli display and calculation
divyachandralekha pushed a commit to divyachandralekha/sonic-swss that referenced this pull request Dec 12, 2024
What I did
This is to add the swss changes for the feature port FEC BER.
It modify the port_rates.lua script to compute the BER and stored them in the DB .
Two additonal PR(s) will address the cli ( sonic-utilities) and the sonic-mgmt changes

Why I did it
The HLD for this feature is HLD#1829

How I verified it
We verify the counters internally
(1) verify when link has correctable FEC errors, the BER were calcuated accordingly
(2) verify 400G with 4x100 and the BER , four serdes with 100G rate
(3) run a redis-script to polling the DB counters and verify the calculation
(4) stop polling manually modify the uncorrectable counter and verify the cli display and calculation
shiraez pushed a commit to Marvell-switching/sonic-swss that referenced this pull request Feb 17, 2025
What I did
This is to add the swss changes for the feature port FEC BER.
It modify the port_rates.lua script to compute the BER and stored them in the DB .
Two additonal PR(s) will address the cli ( sonic-utilities) and the sonic-mgmt changes

Why I did it
The HLD for this feature is HLD#1829

How I verified it
We verify the counters internally
(1) verify when link has correctable FEC errors, the BER were calcuated accordingly
(2) verify 400G with 4x100 and the BER , four serdes with 100G rate
(3) run a redis-script to polling the DB counters and verify the calculation
(4) stop polling manually modify the uncorrectable counter and verify the cli display and calculation
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
What I did
This is to add the swss changes for the feature port FEC BER.
It modify the port_rates.lua script to compute the BER and stored them in the DB .
Two additonal PR(s) will address the cli ( sonic-utilities) and the sonic-mgmt changes

Why I did it
The HLD for this feature is HLD#1829

How I verified it
We verify the counters internally
(1) verify when link has correctable FEC errors, the BER were calcuated accordingly
(2) verify 400G with 4x100 and the BER , four serdes with 100G rate
(3) run a redis-script to polling the DB counters and verify the calculation
(4) stop polling manually modify the uncorrectable counter and verify the cli display and calculation
baorliu pushed a commit to baorliu/sonic-swss that referenced this pull request Feb 23, 2026
What I did
This is to add the swss changes for the feature port FEC BER.
It modify the port_rates.lua script to compute the BER and stored them in the DB .
Two additonal PR(s) will address the cli ( sonic-utilities) and the sonic-mgmt changes

Why I did it
The HLD for this feature is HLD#1829

How I verified it
We verify the counters internally
(1) verify when link has correctable FEC errors, the BER were calcuated accordingly
(2) verify 400G with 4x100 and the BER , four serdes with 100G rate
(3) run a redis-script to polling the DB counters and verify the calculation
(4) stop polling manually modify the uncorrectable counter and verify the cli display and calculation

Signed-off-by: Baorong Liu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants