Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/v1/P4Runtime-Spec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1351,13 +1351,13 @@ control plane. This message contains the following fields:
specified in the same P4Info message and it includes the following fields:
** `id`, the `uint32` identifier of the action.
** `scope`, an enum value which can take one of four values:
`TABLE_AND_DEFAULT`, `TABLE_ONLY`, `PER_GROUP_ONLY` and `DEFAULT_ONLY`. The
`TABLE_AND_DEFAULT`, `TABLE_ONLY`, `GROUP_ACTION` and `DEFAULT_ONLY`. The
`scope` of the action is determined by the use of the P4 standard
annotations `@tableonly`, and `@defaultonly` cite:[P4ActionAnnotations].
`@pergrouponly` is currently not a P4 standard annotation, but planned.
`@groupaction` is currently not a P4 standard annotation, but planned.
`TABLE_ONLY` (`@tableonly` annotation) means that the action can only
appear within the table, and never as the default action. `PER_GROUP_ONLY`
(`@pergrouponly` annotation) means that the action can only be used as
appear within the table, and never as the default action. `GROUP_ACTION`
(`@groupaction` annotation) means that the action can only be used as
a `group_action` in an `ActionProfileActionSet`. `DEFAULT_ONLY`
(`@defaultonly` annotation) means that the action can only be used as the
default action. `TABLE_AND_DEFAULT` is the default value for the enum and
Expand Down
Loading
Loading