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)
Nov 1 2024, 11:35 AM
Unknown Object (File)
Nov 1 2024, 11:35 AM
Unknown Object (File)
Nov 1 2024, 11:30 AM
Unknown Object (File)
Nov 1 2024, 11:19 AM
Unknown Object (File)
Oct 24 2024, 9:55 AM
Unknown Object (File)
Oct 5 2024, 9:48 PM
Unknown Object (File)
Oct 4 2024, 1:47 PM
Unknown Object (File)
Oct 4 2024, 6:26 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.