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): implement tx/rx traits for shared tokio sockets #1756

Merged
merged 1 commit into from
May 16, 2023

Conversation

camshaft
Copy link
Contributor

@camshaft camshaft commented May 9, 2023

Description of changes:

This PR implements the tx/rx traits for tokio sockets, including ones behind an Arc. This allows TX AF_XDP sockets to be polled to drive progress rather than send_to.

Call-outs:

I changed the TX trait a bit to better capture the differences between the TX queue sending items and not having capacity to send. I've also refactored the impls into their own module to shorten the length of the file.

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 11, 2023 21:23
@camshaft camshaft merged commit 7f03428 into main May 16, 2023
@camshaft camshaft deleted the camshaft/xdp-tokio-task branch May 16, 2023 18:37
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