Skip to content

Commit

Permalink
Update the P4RuntimeSpec to specify examples of packet processing sid…
Browse files Browse the repository at this point in the history
…e effects

Signed-off-by: Matthew Lam <[email protected]>
  • Loading branch information
matthewtlam committed Oct 25, 2024
1 parent 4e850e2 commit 5641692
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/v1/P4Runtime-Spec.mdk
Original file line number Diff line number Diff line change
Expand Up @@ -4578,7 +4578,9 @@ In the first case, no replica is created so none of the side effects from the
after-multicast-replication processing should occur for this replica. In the
second case, the system sends one replica to the primary port, which gets
dropped, but the system will perform any side effects of the
after-multicast-replication processing.
after-multicast-replication processing. Note that the packet processing side
effects include counter updates, meter updates, and any P4 register array
writes in the P4 code after the multicast replication is done.

The egress packets may be distinguished for further processing in the egress
using the `instance` metadata. Note that a packet may not be both unicast and
Expand Down

0 comments on commit 5641692

Please sign in to comment.