From owner-freebsd-net@freebsd.org Fri Feb 19 05:09:04 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0CAE6AADB22 for ; Fri, 19 Feb 2016 05:09:04 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from phabric-backend.rbsd.freebsd.org (unknown [IPv6:2607:fc50:2000:101::1bb:73]) by mx1.freebsd.org (Postfix) with ESMTP id E230F1129 for ; Fri, 19 Feb 2016 05:09:03 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by phabric-backend.rbsd.freebsd.org (Postfix, from userid 1346) id DCF013321029; Fri, 19 Feb 2016 05:09:03 +0000 (UTC) Date: Fri, 19 Feb 2016 05:09:03 +0000 To: freebsd-net@freebsd.org From: Phabricator Reply-to: D5317+325+ef6a50613327bd89@reviews.freebsd.org Subject: [Differential] [Closed] D5317: hyperv/hn: Enable IP header checksum offloading for WIN8 (WinServ2012) Message-ID: <70fbca5a4e492db6669e541d5f068055@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , Thread-Topic: D5317: hyperv/hn: Enable IP header checksum offloading for WIN8 (WinServ2012) X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk In-Reply-To: References: Thread-Index: YzJmMDY1MGU4OTBiM2Y1YjNhNTNmODY2MWVjIFbGo28= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_70fbca5a4e492db6669e541d5f068055" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 05:09:04 -0000 --b1_70fbca5a4e492db6669e541d5f068055 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit This revision was automatically updated to reflect the committed changes. Closed by commit rS295793: hyperv/hn: Enable IP header checksum offloading for WIN8 (WinServ2012) (authored by sephe). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D5317?vs=13408&id=13481#toc REPOSITORY rS FreeBSD src repository CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D5317?vs=13408&id=13481 REVISION DETAIL https://reviews.freebsd.org/D5317 AFFECTED FILES head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c CHANGE DETAILS diff --git a/head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c b/head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c --- a/head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c +++ b/head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c @@ -176,7 +176,7 @@ * 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) EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: sepherosa_gmail.com, delphij, royger, decui_microsoft.com, honzhan_microsoft.com, howard0su_gmail.com, adrian, network Cc: freebsd-virtualization-list, freebsd-net-list --b1_70fbca5a4e492db6669e541d5f068055 Content-Type: text/x-patch; charset=utf-8; name="D5317.13481.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D5317.13481.patch" ZGlmZiAtLWdpdCBhL2hlYWQvc3lzL2Rldi9oeXBlcnYvbmV0dnNjL2h2X25ldHZzY19kcnZfZnJl ZWJzZC5jIGIvaGVhZC9zeXMvZGV2L2h5cGVydi9uZXR2c2MvaHZfbmV0dnNjX2Rydl9mcmVlYnNk LmMKLS0tIGEvaGVhZC9zeXMvZGV2L2h5cGVydi9uZXR2c2MvaHZfbmV0dnNjX2Rydl9mcmVlYnNk LmMKKysrIGIvaGVhZC9zeXMvZGV2L2h5cGVydi9uZXR2c2MvaHZfbmV0dnNjX2Rydl9mcmVlYnNk LmMKQEAgLTE3Niw3ICsxNzYsNyBAQAogICogbGF0ZXIuICBVRFAgY2hlY2tzdW0gb2ZmbG9hZGlu ZyBkb2Vzbid0IHdvcmsgb24gZWFybGllcgogICogV2luZG93cyByZWxlYXNlcy4KICAqLwotI2Rl ZmluZSBITl9DU1VNX0FTU0lTVF9XSU44CShDU1VNX1RDUCkKKyNkZWZpbmUgSE5fQ1NVTV9BU1NJ U1RfV0lOOAkoQ1NVTV9JUCB8IENTVU1fVENQKQogI2RlZmluZSBITl9DU1VNX0FTU0lTVAkJKENT VU1fSVAgfCBDU1VNX1VEUCB8IENTVU1fVENQKQogCiAjZGVmaW5lIEhOX0xST19MRU5MSU1fREVG CQkoMjUgKiBFVEhFUk1UVSkKCg== --b1_70fbca5a4e492db6669e541d5f068055--