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: Allow non-constant arguments to mirror_packet extern #3473

Merged
merged 2 commits into from
Aug 5, 2022

Conversation

usha1830
Copy link
Contributor

@usha1830 usha1830 commented Aug 3, 2022

Removed the checks for allowing only constant arguments to mirror_packet extern.
The "mirror" instruction in DPDK assembly expects both the arguments in metadata. Hence, move instruction is inserted to move the argument to metadata if not already present in metadata

…ameter used as mirror_packet argument to metadata
@usha1830
Copy link
Contributor Author

usha1830 commented Aug 3, 2022

Mac OS checks are cancelled for unknown reason!!

@usha1830
Copy link
Contributor Author

usha1830 commented Aug 5, 2022

Mac OS checks are cancelled for unknown reason!!

@mbudiu-vmw Thanks for the review!. Now the Mac OS checks are passing. Could you please merge this?

@mihaibudiu mihaibudiu merged commit ee8d39c into p4lang:main Aug 5, 2022
@usha1830 usha1830 deleted the mirror_const branch August 29, 2022 20:05
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