-
Notifications
You must be signed in to change notification settings - Fork 447
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
Split psa_switch.h into two files #3144
Conversation
Signed-off-by: Mihai Budiu <mbudiu@vmware.com>
Today the p4c code structure does not have separate directories for architectures (models?) and targets. |
@mbudiu-vmw thanks for investigating this. I'm getting exactly the same error as on CI: https://github.com/p4lang/p4c/runs/5654254563?check_suite_focus=true.
|
|
Sounds good to me. |
Right. So, the minimal set of dependencies I've found out to (almost) work is:
However, I'm facing the following error:
I assume it's because |
Signed-off-by: Mihai Budiu <mbudiu@vmware.com>
Hopefully my new commit has fixed the missing class problem. |
Signed-off-by: Mihai Budiu <mbudiu@vmware.com>
@mbudiu-vmw I confirm that PSA-eBPF compiles successfully with the set of dependencies that I've pasted above. Feel free to merge this, so that I can rebase and apply these modifications to #3139. |
Will do once CI tests are finished |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Mihai Budiu mbudiu@vmware.com
This is not really the desired final result, but it is a test that the bmv2-specific parts can be separated from the psa-specific parts of the code. The psa-specific parts should be reused by multiple backends. Probably we should move them to some architecture/ directory.
@osinstom can you see whether this structure removes all bmv2 dependencies from the ebpf backend (except psaProgramStructure.h)?