-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PINS] Add submit to ingress port to copp_cfg file #9084
base: master
Are you sure you want to change the base?
Conversation
77db694
to
4523289
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@prsunny this is related to sonic-net/sonic-swss#1952 |
lgtm @mint570 How do we get these changes back into our repo ? |
"trap.group.send_to_ingress" : { | ||
"submit_to_ingress_name" : "send_to_ingress" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move this to the CONFIG_DB port table?
Issue: we can't specify that this is a host interface for CPU there today.
Can we move this to the P4Orch constructor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CoPP group has policers and other things. It doesn't really fit here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Proposal for MVP: put it in P4Orch
Longer term: make this part of the PORT_TABLE
4523289
to
f890426
Compare
Submission containing materials of a third party: Copyright Google LLC; Licensed under Apache 2.0 Co-authored-by: Glenn Connery <gconnery@google.com> Signed-off-by: Brian O'Connor <bocon@opennetworking.org>
f890426
to
f9e7e21
Compare
Submission containing materials of a third party:
Copyright Google LLC; Licensed under Apache 2.0
Co-authored-by: Glenn Connery gconnery@google.com
Depends on:
Why I did it
Adds support for submit_to_ingress port required for PINS packet out path
More details in this HLD:
https://github.com/pins/SONiC/blob/master/doc/pins/Packet_io.md
How to verify it
Build the SONiC image and verify that the submit_to_ingress netdev is created
Which release branch to backport (provide reason below if selected)
None
Description for the changelog
Add submit to ingress port to copp_cfg file