p4-spec icon indicating copy to clipboard operation
p4-spec copied to clipboard

The core.p4 match kinds are not described in the P416 spec (but they are in PSA!)

Open akertesz opened this issue 3 years ago • 0 comments

This is a relatively minor issue with the P416 specification, but one that I found confusing.

The match kinds in core.p4 (exact, ternary, lpm) are not really explained in the P416 spec, apart from some very terse comments in Appendix D: https://p4.org/p4-spec/docs/P4-16-working-spec.html#sec-p4-core-lib No big deal; it's not hard to infer what these mean.

But, I was surprised to find the complete explanations of the core.p4 match kinds in the latest version of the PSA spec, here: https://p4.org/p4-spec/docs/PSA.html#sec-match-kinds

Please consider moving the descriptions of exact, ternary, and lpm match from the PSA spec to Appendix D of the P416 spec.

akertesz avatar May 10 '22 18:05 akertesz