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

Specify core.p4 match_kind semantics

Open mihaibudiu opened this issue 3 years ago • 4 comments

Signed-off-by: Mihai Budiu [email protected] Fixes #1090 To be discussed at the LDWG

mihaibudiu avatar Sep 09 '22 19:09 mihaibudiu

+1 from me

apinski-cavium avatar Sep 09 '22 20:09 apinski-cavium

@jafingerhut AI for Andy: check whether anywhere in the spec already says that when a table has multiple keys, an apply() operation only matches an entry if ALL the individual field matching criteria are true. That is, logically there is an AND between the matching conditions between multiple keys of a table.

jafingerhut avatar Sep 12 '22 20:09 jafingerhut

Can we get some more comments on this PR? We would like to merge this in the next design meeting. I will apply the suggested changes.

mihaibudiu avatar Sep 28 '22 20:09 mihaibudiu

@jafingerhut @vgurevich Pinging us to remind us to review the latest version of this PR, last updated on 2022-Nov-04.

jafingerhut avatar Nov 07 '22 21:11 jafingerhut

@jafingerhut we are supposed to merge this but we need an approval from you

mihaibudiu avatar Jan 06 '23 21:01 mihaibudiu

I did add a couple of review comments on 2022-Dec-05, and at least one of them I consider serious enough NOT to approve this PR in its current form (the one about the implied priority-per-field, which is untrue).

I would prefer if changes could be made to this PR to resolve those comments before I approve, but if others want to approve this as it is, I won't stop them.

jafingerhut avatar Jan 07 '23 00:01 jafingerhut

Sorry, lost track which comments have been addressed. Any others I should be heeding?

mihaibudiu avatar Jan 07 '23 00:01 mihaibudiu

@jafingerhut hopefully this is better. I had some conflicts when rebasing, hopefully I didn't break anything.

mihaibudiu avatar Jan 07 '23 01:01 mihaibudiu

@jafingerhut maybe this is closer to a resolution

mihaibudiu avatar Jan 09 '23 18:01 mihaibudiu