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 non-consecutive table keys for add_on_miss table #3763

Merged
merged 1 commit into from
Dec 8, 2022

Conversation

usha1830
Copy link
Contributor

@usha1830 usha1830 commented Dec 7, 2022

For Add_on_miss tables, DPDK target expects the table keys to be in consecutive location in the underlying structure.
When tables keys are combination of header and metadata fields, only header field was getting copied to metadata where we should also copy the metadata fields to make them consecutive in metadata structure. The metadata copy should always be done for learner table if the keys are not contiguous.

@usha1830 usha1830 merged commit 8313984 into p4lang:main Dec 8, 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