Skip to content
Open
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
14 changes: 8 additions & 6 deletions p4-16/spec/P4-16-spec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6810,12 +6810,14 @@ statements or expressions.

Actions can be executed in two ways:

- Implicitly: by tables during match-action processing.
- Explicitly: either from a `control` block or from another `action`.
In either case, the values for all action parameters
must be supplied explicitly, including values for the directionless
parameters. In this case, the directionless parameters behave like `in`
parameters.
- Implicitly: by tables during match-action processing. For action
invocations specified via table properties (such as `default_action`
or `entries`), directionless parameters must be compile-time constant
values, as these arguments are supplied by the control plane.
- Explicitly: via a call statement, either from a `control` block or from another `action`.
In this case, the values for all action parameters must be supplied explicitly,
including values for directionless parameters. Directionless parameters
behave like `in` parameters and need not be compile-time constant values.

[#sec-tables]
=== Tables
Expand Down