[schema]: Add CoPP trap capability table to state_db#1010
Merged
qiluo-msft merged 2 commits intosonic-net:masterfrom May 30, 2025
Merged
[schema]: Add CoPP trap capability table to state_db#1010qiluo-msft merged 2 commits intosonic-net:masterfrom
qiluo-msft merged 2 commits intosonic-net:masterfrom
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
prsunny
approved these changes
Apr 22, 2025
dgsudharsan
approved these changes
May 2, 2025
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
@prsunny Can we merge this PR? |
HLD: sonic-net/SONiC#1943 Signed-off-by: Ravi Minnikanti <rminnikanti@marvell.com>
3470f90 to
b761c49
Compare
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azpw run Azure.sonic-swss-common |
Collaborator
|
/AzurePipelines run Azure.sonic-swss-common |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
Hi @qiluo-msft, Some of the PR checks are getting cancelled. This PR has only DB table name addition in schema.h and PR check cancel/failure reason are not related to this PR. Could you please help look into this? PR check cancellation reason: |
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Merged the latest master, and retrigger the PR build. |
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Collaborator
|
Cherry-pick PR to 202505: #1035 |
mssonicbld
added a commit
to mssonicbld/sonic-swss
that referenced
this pull request
Aug 5, 2025
**What I did** - Added neighbor_miss trap type support - enum capability query for hostif trap type in copporch.cpp - Added hw_status field to COPP_TRAP_TABLE table in state_db **Why I did it** HLD: [sonic-net/SONiC#1943](sonic-net/SONiC#1943) **How I verified it** Verified with test_copp.py DVS test Verified on Sonic switch with and without neighbor_miss trap support by vendorSAI. **Details if related** PR Dependencies: - Depends on: sonic-net/sonic-swss-common#1010 - Depends on: sonic-net/sonic-sairedis#1586 Signed-off-by: Ravi Minnikanti <rminnikanti@marvell.com>
mssonicbld
added a commit
to sonic-net/sonic-swss
that referenced
this pull request
Aug 7, 2025
**What I did** - Added neighbor_miss trap type support - enum capability query for hostif trap type in copporch.cpp - Added hw_status field to COPP_TRAP_TABLE table in state_db **Why I did it** HLD: [sonic-net/SONiC#1943](sonic-net/SONiC#1943) **How I verified it** Verified with test_copp.py DVS test Verified on Sonic switch with and without neighbor_miss trap support by vendorSAI. **Details if related** PR Dependencies: - Depends on: sonic-net/sonic-swss-common#1010 - Depends on: sonic-net/sonic-sairedis#1586 Signed-off-by: Ravi Minnikanti <rminnikanti@marvell.com>
mssonicbld
added a commit
to mssonicbld/sonic-swss.msft
that referenced
this pull request
Aug 20, 2025
**What I did** - Added neighbor_miss trap type support - enum capability query for hostif trap type in copporch.cpp - Added hw_status field to COPP_TRAP_TABLE table in state_db **Why I did it** HLD: [sonic-net/SONiC#1943](sonic-net/SONiC#1943) **How I verified it** Verified with test_copp.py DVS test Verified on Sonic switch with and without neighbor_miss trap support by vendorSAI. **Details if related** PR Dependencies: - Depends on: sonic-net/sonic-swss-common#1010 - Depends on: sonic-net/sonic-sairedis#1586 Signed-off-by: Ravi Minnikanti <rminnikanti@marvell.com>
mssonicbld
added a commit
to Azure/sonic-swss.msft
that referenced
this pull request
Aug 20, 2025
**What I did** - Added neighbor_miss trap type support - enum capability query for hostif trap type in copporch.cpp - Added hw_status field to COPP_TRAP_TABLE table in state_db **Why I did it** HLD: [sonic-net/SONiC#1943](sonic-net/SONiC#1943) **How I verified it** Verified with test_copp.py DVS test Verified on Sonic switch with and without neighbor_miss trap support by vendorSAI. **Details if related** PR Dependencies: - Depends on: sonic-net/sonic-swss-common#1010 - Depends on: sonic-net/sonic-sairedis#1586 Signed-off-by: Ravi Minnikanti <rminnikanti@marvell.com>
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.

What I did
Added the
COPP_TRAP_CAPABILITY_TABLEtable definition to schema.hWhy I did it
Details in HLD: sonic-net/SONiC#1943
How I verified it
NA
Details if related
Signed-off-by: Ravi Minnikanti rminnikanti@marvell.com