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)
Fri, Sep 26, 10:04 AM
Unknown Object (File)
Sep 3 2025, 11:16 AM
Unknown Object (File)
Aug 2 2025, 9:56 PM
Unknown Object (File)
Jul 31 2025, 11:24 PM
Unknown Object (File)
Jul 11 2025, 7:25 AM
Unknown Object (File)
Jul 5 2025, 3:59 AM
Unknown Object (File)
Jul 3 2025, 7:37 PM
Unknown Object (File)
Jun 25 2025, 3:47 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.