Skip to content

Commit

Permalink
Update simple_switch.md to explain that multicast replication preserv…
Browse files Browse the repository at this point in the history
…es metdata (#1236)

Fixed #1206
  • Loading branch information
smolkaj authored Apr 2, 2024
1 parent 5f1c590 commit c74c536
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/simple_switch.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ pipeline, but should not be written to.
in the ingress pipeline when you wish the packet to be multicast. A value of 0
means no multicast, and calling `mark_to_drop` will set the value to 0.
A nonzero value should be that of a valid multicast group configured
through bmv2 runtime interfaces. See the "after-ingress pseudocode" for
through BMv2 runtime interfaces. See the "after-ingress pseudocode" for
relative priority of this vs. other possible packet operations at
end of ingress.
- `egress_rid`: needed for the multicast feature. This field is only valid in
Expand Down Expand Up @@ -309,7 +309,7 @@ if (resubmit was called) {
// There are no special primitive actions built in to simple_switch
// for you to call to do this -- use a normal P4_16 assignment
// statement, or P4_14 `modify_field()` primitive action.
Make 0 or more copies of the packet based upon the list of
Make 0 or more copies of the packet (including all metadata) based upon the list of
(egress_port, egress_rid) values configured by the control plane
for the mcast_grp value. Enqueue each one in the appropriate
packet buffer queue. The instance_type of each will be
Expand Down

0 comments on commit c74c536

Please sign in to comment.