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)
Jan 17 2024, 9:16 PM
Unknown Object (File)
Dec 20 2023, 12:42 AM
Unknown Object (File)
Nov 27 2023, 2:57 AM
Unknown Object (File)
Nov 11 2023, 11:18 AM
Unknown Object (File)
Nov 9 2023, 11:20 AM
Unknown Object (File)
Nov 6 2023, 9:03 AM
Unknown Object (File)
Nov 2 2023, 6:02 AM
Unknown Object (File)
Oct 23 2023, 4:15 PM
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.