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

Draft: xdp: checksum optimization #22

Closed
wants to merge 2 commits into from

Conversation

vjardin
Copy link
Contributor

@vjardin vjardin commented Feb 20, 2024

Let's apply the optimization from the RFC1141 since we do not need to recompute the checksum for each ttl--

Warning: I am still trying to run a virtual lab environment, so this commit is untested.

I'd like to keep this pull request "opened" until it'll be fully tested. Currently, it is just based on proof reading.

Let's apply the optimization from the RFC1141 since we do not need to
recompute the checksum for each ttl--

Warning: I am still trying to run a virtual lab environment, so this
commit is untested.
@vjardin vjardin marked this pull request as draft February 20, 2024 00:29
Let's save some more cycles if it is not already done by the compiler.
@acassen
Copy link
Owner

acassen commented Feb 20, 2024

saddr & daddr are also altered

@vjardin
Copy link
Contributor Author

vjardin commented Feb 20, 2024

saddr & daddr are also altered

arch, I did miss it, it was a bit late ! Right, this pull request will break it.

Thanks @acassen for your review.

@vjardin vjardin closed this Feb 20, 2024
@vjardin vjardin deleted the checksum_optimization branch February 20, 2024 12:04
@vjardin vjardin restored the checksum_optimization branch April 30, 2024 05:59
@vjardin vjardin deleted the checksum_optimization branch April 30, 2024 06:58
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