Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Definition for what happens to packets experiencing parser errors? #68

Open
jafingerhut opened this issue Oct 28, 2022 · 2 comments
Open

Comments

@jafingerhut
Copy link
Collaborator

Here is a PR to address this same question for the PSA specification in one particular way, which we should review and think about whether we want something similar for PNA, too: p4lang/p4-spec#1026

@mariobaldi
Copy link
Contributor

I wonder if it would make sense to make the behavior for packets experiencing parsing errors configurable.
Even though it makes sense that the P4 program running in the Control is able to decide what to do with such packets, there may be cases where such packets should be discarded to reduce the load on the match-action pipeline.
External configuration means could fulfil this purpose.
If we agreed to have such means, I would guess we wouldn't need to define exactly what they are, but just say that they are available.

@jafingerhut
Copy link
Collaborator Author

@mariobaldi Looks like a reasonable idea to me. Should we consider it for the PSA specification as well, while we are at it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants