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

backends/ebpf: Fix #4098 by renaming conflicting write_partial macro. #4134

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

thomascalvert-xlnx
Copy link
Member

As mentioned in the issue, we have conflicting versions of this macro. This patch avoids the issue by renaming the second version.

In an ideal world, all call sites would make use of the second, more general version. But that felt like too invasive a change, so instead I went for a minimalist approach.

The issue never arose before, because the only flow which made use of ebpfDeparser was within the PSA target.

@fruffy fruffy added the ebpf Topics related to the eBPF back end label Sep 7, 2023
@jafingerhut jafingerhut merged commit 732c402 into p4lang:main Sep 18, 2023
17 checks passed
@thomascalvert-xlnx thomascalvert-xlnx deleted the issue-4098 branch September 18, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ebpf Topics related to the eBPF back end
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants