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
Unknown Object (File)
Sun, Nov 30, 4:17 AM
Unknown Object (File)
Thu, Nov 20, 8:31 PM
Unknown Object (File)
Thu, Nov 20, 8:23 PM
Unknown Object (File)
Thu, Nov 20, 8:22 PM
Unknown Object (File)
Thu, Nov 20, 8:12 PM
Unknown Object (File)
Thu, Nov 20, 5:00 PM
Unknown Object (File)
Mon, Nov 17, 12:14 AM
Unknown Object (File)
Sun, Nov 16, 11:08 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 Not Applicable
Unit
Tests Not Applicable