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

feat(s2n-quic-xdp): export default BPF programs #1748

Merged
merged 1 commit into from
May 4, 2023

Conversation

camshaft
Copy link
Contributor

@camshaft camshaft commented May 3, 2023

Description of changes:

In #1652, we implemented the default BPF program used by the s2n-quic-xdp crate to direct traffic from the NIC to the RX queue(s). This change exports the BPF program by including the raw bytes from the distributed ebpf files.

Callouts

I moved the ebpf programs into the actual s2n-quic-xdp crate to make it easier to distribute with crates.io.

Testing:

I've updated the tester program to show how the include would be used.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@camshaft camshaft marked this pull request as ready for review May 4, 2023 15:21
@camshaft camshaft merged commit dc2292b into main May 4, 2023
@camshaft camshaft deleted the camshaft/xdp-bpf-module branch May 4, 2023 16:30
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