sonic-swss
sonic-swss copied to clipboard
[copporch] Add submit to ingress port for packet outs
Submission containing materials of a third party: Copyright Google LLC; Licensed under Apache 2.0
Co-authored-by: Glenn Connery [email protected] Co-authored-by: Yilan Ji [email protected] Co-authored-by: Runming Wu [email protected]
Signed-off-by: Don Newton [email protected]
What I did
This commit adds support for a submit to ingress netdev port. This port uses the ASIC ingress pipeline to determine the destination port for the packet. For more details, see the “Transmit Path” section of PINS Packet IO HLD: https://github.com/pins/SONiC/blob/p4rt_packetio/doc/pins/Packet_io.md#transmit-path
Why I did it
PINS controllers sometimes want to verify the state of the ingress pipeline using a packet out to this new port.
How I verified it
The PINS system test framework has automated tests to validate this behavior. It will be upstreamed in a later pull request.
cc: @mint570
@kperumalbfn Please take a look at this change
@vivekmoorthy please follow up with reviewers