Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
p4c-ubpf: new uBPF back-end for p4c #2134
p4c-ubpf: new uBPF back-end for p4c #2134
Changes from 1 commit
ecd39c0
ec22005
a687110
75fdcf6
2fcdcf8
acfaa6e
99d6854
78335fa
93643c2
118b2b2
884c40a
d57742f
dcf0903
3d64116
9231f53
dbb237e
1090527
c0bc2c5
0df4fa5
5a86d96
b96fcca
b880030
3089cbb
edcbb1d
cfaa628
5cc9931
c63a939
322f5c1
1adffa0
b3eb458
5893f22
0ca94d3
085294b
8ab0e2a
302d279
381d4ee
e4330a8
1fd859e
08b7de0
b8b3f06
e22ad6f
38acee5
c648326
c5c324e
7f0b72e
2b6020c
997d5db
db6c4db
2e12ee3
6bc8674
7ec6f33
2be7ec7
b1479ad
668e808
6ae22e4
cc59b0d
fb07d84
daad335
f5bcc01
89eb992
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
is this a fork of ovs? Do you expect that this fork will be merged within OvS?
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.
Yep, this is a fork of OVS. I presented the details at OVSCon 19' [1]. There are no official plans to merge it with OVS yet. It is still a research prototype, but once it will be mature enough we can consider to propose such a contribution to OVS.
However, as far as I know, P4rt-OVS is the only switch to test uBPF back-end.
[1] https://www.openvswitch.org/support/ovscon2019/#s4.3F
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.
P4 does not have a way to initialize registers, but your architecture can allow it if you want.
If there is a way in your architecture to initialize registers to default values before the start of the program you can promise this to your users. But at least for the in-kernel bfp I don't think there is a way to do it.
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.
We analyzed different design options to initialize BPF maps (P4 registers) before the start of the program. And we decided that intializing them from a control plane is the best option for the moment. We could think about better approach later.