hyperv/hn: Enable IP header checksum offloading for WIN8 (WinServ2012)

Tested on Windows Server 2012.

Reviewed by:	adrian
Approved by:	adrian (mentor)
MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D5317
This commit is contained in:
sephe 2016-02-19 05:08:44 +00:00
parent 3bbfde8f10
commit eb31612e67

View File

@ -176,7 +176,7 @@ struct hn_txdesc {
* later. UDP checksum offloading doesn't work on earlier
* Windows releases.
*/
#define HN_CSUM_ASSIST_WIN8 (CSUM_TCP)
#define HN_CSUM_ASSIST_WIN8 (CSUM_IP | CSUM_TCP)
#define HN_CSUM_ASSIST (CSUM_IP | CSUM_UDP | CSUM_TCP)
#define HN_LRO_LENLIM_DEF (25 * ETHERMTU)