Skip to content

Need more Clarification in Section 6.8 that runtime values for directionless parameters apply only to call statements, not table properties #1379

Description

@devalgupta404

p4lang/p4c#5042
The current text states that directionless parameters "need not be a compile-time known value" when provided by the P4 program. However, it does not distinguish between two different contexts:

Action call statements should allow runtime values, as the P4 program directly controls execution.

Table properties should require compile-time constants, as these values may be installed or modified by the control plane at runtime

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions