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

dwc_eqos - checksum offload #26

Merged
merged 1 commit into from
Dec 30, 2023
Merged

dwc_eqos - checksum offload #26

merged 1 commit into from
Dec 30, 2023

Conversation

idigdoug
Copy link
Collaborator

Implement checksum offload.

  • Enable the checksum offload engine in hardware if present.
  • Disable automatic drop of invalid-checksum packets for the case where the Rx offload gets turned off in software.
  • Inform NetAdapterCx of the hardware capabilities.
  • Add relevant properties to the driver's property sheet. (These are handled by NetAdapterCx.)
  • Propagate offload information between descriptors and packets.

In testing, I didn't really see any difference in throughput or CPU usage with this enabled or disabled. Maybe I'm testing wrong.

Implement checksum offload.

- Enable the checksum offload engine in hardware if present.
- Disable automatic drop of invalid-checksum packets for the case where
  the Rx offload gets turned off in software.
- Inform NetAdapterCx of the hardware capabilities.
- Add relevant properties to the driver's property sheet. (These are
  handled by NetAdapterCx.)
- Propagate offload information between descriptors and packets.

In testing, I didn't really see any difference in throughput or CPU
usage with this enabled or disabled. Maybe I'm testing wrong.
@idigdoug idigdoug merged commit 0bb5ea0 into master Dec 30, 2023
2 checks passed
@idigdoug idigdoug deleted the dwc_eqos_checksum branch December 30, 2023 04:52
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