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)
Thu, Nov 21, 9:49 AM
Unknown Object (File)
Nov 15 2024, 7:41 AM
Unknown Object (File)
Oct 29 2024, 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 28377