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

refactor(s2n-quic-platform): move more syscalls to syscall module #1775

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

camshaft
Copy link
Contributor

@camshaft camshaft commented May 25, 2023

Description of changes:

Currently, the msg/mmsg syscalls require a particular not-so-flexible interface to be implemented to interact with them. This PR moves the actual syscall to a simple function to make it easier to use in more contexts.

This is needed to separate the endpoint task from the IO operations.

Call-outs:

I've added a few changes to add GRO support in the syscalls while I was here to minimize the merge conflicts.

I also have not refactored the old syscalls to use the new functions, as that implementation will be deleted in a later PR.

Testing:

There's not really a great way to test the syscalls on their own, however tests are coming in a later PR that tests them in context of the tokio IO provider.

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

@camshaft camshaft force-pushed the camshaft/more-syscalls branch 5 times, most recently from b42d570 to 9e45908 Compare May 25, 2023 22:23
@camshaft camshaft changed the title feat(s2n-quic-platform): move more syscalls to syscall module refactor(s2n-quic-platform): move more syscalls to syscall module May 31, 2023
@camshaft camshaft marked this pull request as ready for review May 31, 2023 17:21
@camshaft camshaft merged commit 8310ed1 into main Jun 1, 2023
@camshaft camshaft deleted the camshaft/more-syscalls branch June 1, 2023 18:19
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