Page MenuHomeFreeBSD

Some small packet performance improvements
ClosedPublic

Authored by shurd on Sep 21 2017, 9:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 21, 12:42 PM
Unknown Object (File)
Thu, Jun 20, 12:47 PM
Unknown Object (File)
Thu, Jun 20, 12:46 PM
Unknown Object (File)
Thu, Jun 20, 12:46 PM
Unknown Object (File)
Thu, Jun 20, 12:45 PM
Unknown Object (File)
Jan 14 2024, 5:23 AM
Unknown Object (File)
Jan 8 2024, 2:19 AM
Unknown Object (File)
Jan 8 2024, 2:19 AM
Subscribers

Details

Summary
  1. If the packet is smaller than MTU, disable the TSO flags.
  2. Move TCP header parsing inside the IS_TSO?() test.
  3. Add a new IFLIB_NEED_ZERO_CSUM flag to indicate the checksums need to be zeroed before TX.
Test Plan

Test small packet throughput before/after this patch

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

shurd retitled this revision from Some cache related optimizations to Some small packet performance improvements.Sep 21 2017, 9:57 PM
shurd edited the summary of this revision. (Show Details)
shurd edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Sep 22 2017, 12:51 PM
This revision was automatically updated to reflect the committed changes.