Open apinski-cavium opened 1 year ago
The PSA specification includes text for drop starting at https://p4.org/p4-spec/docs/PSA.html#sec-drop-operation We can leverage text into PNA.
Definitely good if someone is willing to write a PR for the PNA spec that defines drop_packet()
in the text.
While reading pna.p4 I noticed that drop_packet() extern function is not defined in the spec itself. This has to be an oversight. It is referenced in the spec once:
The effects of mirror_packet() calls are independent of calls to drop_packet() and send_to_port().
But never defined what it does and what it can do. The header file has: