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
F103130036: D22967.diff
Thu, Nov 21, 9:49 AM
Unknown Object (File)
Fri, Nov 15, 7:41 AM
Unknown Object (File)
Tue, Oct 29, 11:37 PM
Unknown Object (File)
Oct 1 2024, 9:42 AM
Unknown Object (File)
Sep 30 2024, 9:46 PM
Unknown Object (File)
Sep 22 2024, 11:39 AM
Unknown Object (File)
Sep 18 2024, 1:21 PM
Unknown Object (File)
Sep 18 2024, 1:07 AM
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