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