oxidecomputer / p4

A P4 compiler
Mozilla Public License 2.0
112 stars 5 forks source link

Better observability on parse rejections #17

Open rcgoodfellow opened 1 year ago

rcgoodfellow commented 1 year ago

When a parser stage rejection happens, we need better observability. Ideally, we would have a USDT probe that shows the complete set of parser state transitions that led to the rejection, including the specific rejection point. Right now, one can only look at the packet that got rejected and try to reason through the state machine code manually.