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

Do not generate TC Egress program if PSA Egress pipeline is empty #3349

Merged
merged 2 commits into from
May 23, 2022

Conversation

osinstom
Copy link
Contributor

The PSA-eBPF compiler will optimzie the TC Egress program out. This leads to a noticeable performance gain as the empty TC Egress program consumes some CPU cycles and, thus, introduces a performance overhead.

@mihaibudiu mihaibudiu merged commit 52d09a8 into p4lang:main May 23, 2022
github-sajan pushed a commit to github-sajan/p4c that referenced this pull request May 26, 2022
…lang#3349)

* Do not generate TC Egress program if PSA Egress pipeline is empty
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

Successfully merging this pull request may close these issues.

2 participants