Date: Thu, 18 Feb 2016 08:15:34 +0000 From: "sepherosa_gmail.com (Sepherosa Ziehau)" <phabric-noreply@FreeBSD.org> To: freebsd-virtualization@freebsd.org Subject: [Differential] [Request, 2 lines] D5317: hyperv/hn: Enable IP header checksum offloading for WIN8 (WinServ2012) Message-ID: <differential-rev-PHID-DREV-7pi6rvrrkhv3yzg6h22k-req@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
--b1_2375b0fc97c583157411e5cd9ae9620a Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit sepherosa_gmail.com created this revision. sepherosa_gmail.com added reviewers: network, adrian, delphij, royger, decui_microsoft.com, honzhan_microsoft.com, howard0su_gmail.com. sepherosa_gmail.com added subscribers: freebsd-net-list, freebsd-virtualization-list. REVISION SUMMARY Tested on Windows Server 2012. REVISION DETAIL https://reviews.freebsd.org/D5317 AFFECTED FILES sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c CHANGE DETAILS diff --git a/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c b/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c --- a/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c +++ b/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, network, adrian, delphij, royger, decui_microsoft.com, honzhan_microsoft.com, howard0su_gmail.com Cc: freebsd-virtualization-list, freebsd-net-list --b1_2375b0fc97c583157411e5cd9ae9620a Content-Type: text/x-patch; charset=utf-8; name="D5317.13408.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D5317.13408.patch" ZGlmZiAtLWdpdCBhL3N5cy9kZXYvaHlwZXJ2L25ldHZzYy9odl9uZXR2c2NfZHJ2X2ZyZWVic2Qu YyBiL3N5cy9kZXYvaHlwZXJ2L25ldHZzYy9odl9uZXR2c2NfZHJ2X2ZyZWVic2QuYwotLS0gYS9z eXMvZGV2L2h5cGVydi9uZXR2c2MvaHZfbmV0dnNjX2Rydl9mcmVlYnNkLmMKKysrIGIvc3lzL2Rl di9oeXBlcnYvbmV0dnNjL2h2X25ldHZzY19kcnZfZnJlZWJzZC5jCkBAIC0xNzYsNyArMTc2LDcg QEAKICAqIGxhdGVyLiAgVURQIGNoZWNrc3VtIG9mZmxvYWRpbmcgZG9lc24ndCB3b3JrIG9uIGVh cmxpZXIKICAqIFdpbmRvd3MgcmVsZWFzZXMuCiAgKi8KLSNkZWZpbmUgSE5fQ1NVTV9BU1NJU1Rf V0lOOAkoQ1NVTV9UQ1ApCisjZGVmaW5lIEhOX0NTVU1fQVNTSVNUX1dJTjgJKENTVU1fSVAgfCBD U1VNX1RDUCkKICNkZWZpbmUgSE5fQ1NVTV9BU1NJU1QJCShDU1VNX0lQIHwgQ1NVTV9VRFAgfCBD U1VNX1RDUCkKIAogI2RlZmluZSBITl9MUk9fTEVOTElNX0RFRgkJKDI1ICogRVRIRVJNVFUpCgo= --b1_2375b0fc97c583157411e5cd9ae9620a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?differential-rev-PHID-DREV-7pi6rvrrkhv3yzg6h22k-req>