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

Remove priority field from ternary table's action #4879

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

vbnogueira
Copy link
Contributor

In P4TC, the kernel doesn't expand the returned bpf action with a priority field because, at least as of now, there is no need for such field. So when this priority field is emitted by the compiler, it causes a mismatch between what the kernel returns and what the eBPF program is expecting

@vbnogueira
Copy link
Contributor Author

@komaljai please take a look when you have some time

@fruffy fruffy added the p4tc Topics related to the P4-TC back end label Aug 21, 2024
@komaljai komaljai force-pushed the tc_remove_prio_ternary_table branch from 3fbce4e to 8b70954 Compare August 23, 2024 07:09
In P4TC, the kernel doesn't expand the returned bpf action with a priority
field because, at least as of now, there is no need for such field.
So when this priority field is emitted by the compiler, it causes a
mismatch between what the kernel returns and what the eBPF program is
expecting

Signed-off-by: Victor Nogueira <[email protected]>
@komaljai komaljai force-pushed the tc_remove_prio_ternary_table branch from 8b70954 to fb24890 Compare August 27, 2024 06:15
@komaljai komaljai added this pull request to the merge queue Aug 27, 2024
Merged via the queue into p4lang:main with commit c968fb6 Aug 27, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p4tc Topics related to the P4-TC back end
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants