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 IO traits for vectors of channel pairs #1761

Merged
merged 1 commit into from
May 16, 2023

Conversation

camshaft
Copy link
Contributor

@camshaft camshaft commented May 11, 2023

Description of changes:

While integrating the AF_XDP IO provider into the qns application, I needed to have a channel per NIC queue on the TX and RX paths. This drove a refactor of the IO trait impls to handle a vector of channel pairs, rather than a single pair.

Call-outs:

With a single pair of channels, the behavior should be the exact same.

Testing:

I've updated the tests to also check for more than one pair of channels.

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 23:45
@camshaft camshaft merged commit d1b0d5a into main May 16, 2023
@camshaft camshaft deleted the camshaft/xdp-vec-io branch May 16, 2023 19:02
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