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

DPDK: Fix core dump while generating bfrt json for PNA programs with action selector #3115

Merged
merged 5 commits into from
Mar 9, 2022

Conversation

usha1830
Copy link
Contributor

@usha1830 usha1830 commented Mar 8, 2022

This PR fixes bfrt json generation for PNA programs using action selector table implementation.

Since PNA is derived from PSA and shares and supports all the externs that PSA supports, we create a common P4RuntimeArchHandler class for PSA and PNA and then derive PSA and PSA from the common class. This common class is a template class and PSA and PNA specializes it based on the template parameter "Arch". Earlier implementation was using the

@usha1830
Copy link
Contributor Author

usha1830 commented Mar 9, 2022

Thanks @mbudiu-vmw . Could you please merge this?

@mihaibudiu mihaibudiu merged commit 2ab374f into p4lang:main Mar 9, 2022
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