Page MenuHomeFreeBSD

vmx: fix initialization of TSO related descriptor fields
ClosedPublic

Authored by vmaffione on Dec 30 2019, 10:08 AM.
Tags
None
Referenced Files
F143509407: D22967.id66703.diff
Fri, Jan 30, 7:20 PM
Unknown Object (File)
Dec 13 2025, 4:51 PM
Unknown Object (File)
Nov 30 2025, 4:17 AM
Unknown Object (File)
Nov 20 2025, 8:31 PM
Unknown Object (File)
Nov 20 2025, 8:23 PM
Unknown Object (File)
Nov 20 2025, 8:22 PM
Unknown Object (File)
Nov 20 2025, 8:12 PM
Unknown Object (File)
Nov 20 2025, 5:00 PM
Subscribers

Details

Summary

Fix a mistake introduced by r343291, which ported the vmx(4) driver to iflib.
In case of TSO, the hlen field of the (first) tx descriptor must be initialized to the cumulative length of Ethernet, IP and TCP headers. The length of the TCP header was missing.

Reported by: pkelsey

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 28377