Page MenuHomeFreeBSD

Improve HW checksums support in VNIC
ClosedPublic

Authored by zbb on Mar 3 2016, 5:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 23 2024, 2:52 AM
Unknown Object (File)
Nov 14 2024, 12:59 AM
Unknown Object (File)
Oct 29 2024, 8:02 AM
Unknown Object (File)
Oct 26 2024, 2:37 PM
Unknown Object (File)
Oct 9 2024, 4:30 AM
Unknown Object (File)
Oct 9 2024, 4:11 AM
Unknown Object (File)
Oct 5 2024, 10:44 AM
Unknown Object (File)
Oct 5 2024, 12:58 AM
Subscribers

Details

Summary
  • Do not mark CSUM_IP_CHECKED and CSUM_IP_VALID on IPv6 packets. IPv6 does not have checksums by definition.
  • Set SCTP packets csum_flags CSUM_SCTP_VALID instead of CSUM_DATA_VALID and skip csum_data
  • Set csum_data simply as 0xffff without byteswap

Pointed out by: yongari

Diff Detail

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

Event Timeline

zbb retitled this revision from to Improve HW checksums support in VNIC.
zbb updated this object.
zbb edited the test plan for this revision. (Show Details)
zbb added reviewers: wma, imp, andrew.
zbb set the repository for this revision to rS FreeBSD src repository - subversion.
zbb added a subscriber: arm64.
wma edited edge metadata.
This revision is now accepted and ready to land.Mar 3 2016, 7:10 PM
This revision was automatically updated to reflect the committed changes.