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

Needless (?) data copying in the back-end virtio-crypto driver #3

Open
bchalios opened this issue May 30, 2020 · 0 comments
Open

Needless (?) data copying in the back-end virtio-crypto driver #3

bchalios opened this issue May 30, 2020 · 0 comments
Assignees

Comments

@bchalios
Copy link
Collaborator

When receiving a request at the back-end virtio-crypto driver we copy the guest buffers in firecracker memory and then pass that memory to the host cryptodev driver.

We should investigate if there is a way to pass the guest memory directly to the host driver and avoid the intermediate copy. In this case, we should be careful, since in some cases the front-end is passing us vlf buffers in multiple segments. In these cases we can't avoid copying.

@bchalios bchalios self-assigned this May 30, 2020
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

No branches or pull requests

1 participant