sonic-swss icon indicating copy to clipboard operation
sonic-swss copied to clipboard

[copporch] Add submit to ingress port for packet outs

Open donNewtonAlpha opened this issue 4 years ago • 3 comments

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.

donNewtonAlpha avatar Oct 11 '21 22:10 donNewtonAlpha

cc: @mint570

bocon13 avatar Oct 11 '21 23:10 bocon13

@kperumalbfn Please take a look at this change

ravi861 avatar Oct 26 '21 18:10 ravi861

@vivekmoorthy please follow up with reviewers

bocon13 avatar Oct 27 '21 19:10 bocon13