[LLR]: CLI implementation for Link Layer Retry feature#4499
Open
rminnikanti wants to merge 1 commit into
Open
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
show llr interface show llr profile show llr counters [-i] Ethernet0 show llr counters detailed Ethernet0 config llr interface mode/local/remote counterpoll llr enable/disable/interval sonic-clear llr counters sonic-clear llr counters interface Signed-off-by: Ravi Minnikanti <rminnikanti@marvell.com>
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HLD: sonic-net/SONiC#2098
What I did
Show commands:
show llr interface [interface-name]- Displays per-port LLR mode, local/remote status, and profile binding. Reads from both APPL_DB (active) and CONFIG_DB (pending).show llr profile [profile-name]- Displays LLR profile parameters from APPL_DB.show llr counters [-i interface-name]- Summary counter table viallrstatscript.show llr counters detailed [interface-name]- Detailed per-port counter display.Config commands:
config llr interface mode <interface> <static>- Set LLR mode.config llr interface local <interface> {enabled|disabled}- Enable/disable LLR reception.config llr interface remote <interface> {enabled|disabled}- Enable/disable LLR transmission.LLR_CAPABLEin STATE_DB before applying.Clear commands:
sonic-clear llr counters- Clear all LLR counters.sonic-clear llr counters interface <interface-name>- Clear per-port LLR counters.Counterpoll:
counterpoll llr enable/disable- Enable/disable LLR flex counter polling.counterpoll llr interval <ms>- Set polling interval.Counter script:
How I did it
How to verify it
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)
Signed-off-by: Ravi Minnikanti rminnikanti@marvell.com