Skip to content

Commit

Permalink
Update P4Runtime Spec to specify cases of when ports go down.
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Lam <[email protected]>
  • Loading branch information
matthewtlam committed Oct 24, 2024
1 parent 72f3375 commit 2f52a68
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/v1/P4Runtime-Spec.mdk
Original file line number Diff line number Diff line change
Expand Up @@ -4566,8 +4566,12 @@ corresponding to SDN port numbers 5, 12, 18 and 24. For more discussion on the
translation between SDN ports and PSA device ports, refer to the
[PSA Metadata Translation](#sec-translation-of-port-numbers) section. Each
replica can optionally have a list of backup replicas used as fallback ports
for multicast. When the primary port (replica) becomes unavailable, the system
uses the first available backup replica.
for multicast. When the primary port (replica) goes down, the system
uses the first backup replica for which its port is up. Whenever the primary
port goes back up, the system will use the primary port again. In the case
when the primary replica's ports and the backup replicas' ports are down,
nothing is done for recovery until the primary replica or the backup replicas's
ports go back up.

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 2f52a68

Please sign in to comment.