HomeFreeBSD

Some small packet performance improvements

Description

Some small packet performance improvements

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

Reviewed by: sbruno
Approved by: sbruno (mentor)
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D12442

Details

Provenance
shurdAuthored on
Reviewer
sbruno
Differential Revision
D12442: Some small packet performance improvements
Parents
rS323940: Simplify zpool_destroy_004_pos.ksh
Branches
Unknown
Tags
Unknown