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 backend: Fix incorrect learn action in case of learner table invoked from nested controls #4152

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

usha1830
Copy link
Contributor

The mapping of add_entry action specified by user and its corresponding compiler generated internal name was not handling the add_on_miss table to be applied from multiple control paths including nested controls.

To fix this, added the miss(default) action in the map for fetching internal action name for the action name provided in add_entry.

Fixes #3966

@usha1830 usha1830 changed the title Fix incorrect learn action in case of learner table invoked from nested controls Dpdk backend: Fix incorrect learn action in case of learner table invoked from nested controls Sep 11, 2023
@usha1830 usha1830 merged commit c9319af into p4lang:main Sep 12, 2023
16 checks passed
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.

p4c-dpdk compiling subset of DASH P4 code produces spec file that gives errors attempting to load
2 participants