Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2259040imm; Thu, 20 Sep 2018 10:09:04 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZa2lx8N1ZeL/8DoIve+UTCDuPma2QyLaHhs0Srwkz2ypADAnPz2+ztjFwqcWbEFzd0+otk X-Received: by 2002:a65:448c:: with SMTP id l12-v6mr38601259pgq.277.1537463344887; Thu, 20 Sep 2018 10:09:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537463344; cv=none; d=google.com; s=arc-20160816; b=qgisX/no2bg71ZV/vFYaSl2tquBs765S45ToD9YQ7WdSv0HaxhVdFXSQYx4YXy1e0C 06R0R8vOkiAzWLW4WwSXCx+HhvhHboH42dgNrYxAo7H4Hr095X8WgnSlaThtpOSUFQeg OuXlyk8wwmJ2oG2v7eR4q875IleIANZlzlheeGJ0vBp5Nj/CSED1iZ5Vn47uOXkvnryY 8ZHBkD1V7L3nvV3v0rYYyyx0ywQy+Lg83Sic3ZI0wG8ALkrNbswA4X6gsD9IgCty7DNe pTele75nBrqcHIAjMIMkE66N4VDBvWNcAv84jg36AQtlcQ0SyQf3S1W/qUMIgqohzIZa y5Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:reply-to:message-id:date:subject:cc:to :from; bh=FgKxGGtWJhM4JUlvOjWn6qjinfCkQdpEBw6R6JudVcw=; b=uYfzkZIDp5Kz3iHn1mhOwAstWjhxBi8yOb37Nu51gyPnAtbO8i7JH2nV9jOWaQOxQR fIWNx6TG3yiTrvhdXs57/1KdJl3OjZnVqMFgoIRi9nEB2DGqatYjajujcUA3aayOaKT9 0dSfTyaGxbANbfUQiZxI3g2ItsyZYHgiY479Y3Xz54kUKVIAQM4ltSZvKDefhMzV+LX9 eQQPFzXCSn7zR5Dh9kVqkaWkEnyxyklu8AAnxKWHLFArS8MkB5TIfVG31+e064XWfXsM /fwpnOUPzpE6aBMmQhjo1tBoFMkZaMJ2F339azj5FIs+q94NDwxcz+BMxo9AGIUyubrZ i/Ww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 21-v6si23394985pgs.520.2018.09.20.10.08.48; Thu, 20 Sep 2018 10:09:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733229AbeITWww (ORCPT + 99 others); Thu, 20 Sep 2018 18:52:52 -0400 Received: from a2nlsmtp01-02.prod.iad2.secureserver.net ([198.71.225.36]:55446 "EHLO a2nlsmtp01-02.prod.iad2.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727241AbeITWwv (ORCPT ); Thu, 20 Sep 2018 18:52:51 -0400 Received: from linuxonhyperv2.linuxonhyperv.com ([107.180.71.197]) by : HOSTING RELAY : with ESMTP id 32QFgMau2M0DP32QFgaFga; Thu, 20 Sep 2018 10:07:24 -0700 x-originating-ip: 107.180.71.197 Received: from haiyangz by linuxonhyperv2.linuxonhyperv.com with local (Exim 4.91) (envelope-from ) id 1g32QF-0002W1-NV; Thu, 20 Sep 2018 10:07:23 -0700 From: Haiyang Zhang To: davem@davemloft.net, netdev@vger.kernel.org Cc: haiyangz@microsoft.com, kys@microsoft.com, sthemmin@microsoft.com, olaf@aepfle.de, vkuznets@redhat.com, devel@linuxdriverproject.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next,0/3] hv_netvsc: Support LRO/RSC in the vSwitch Date: Thu, 20 Sep 2018 17:06:58 +0000 Message-Id: <20180920170701.9574-1-haiyangz@linuxonhyperv.com> X-Mailer: git-send-email 2.18.0 Reply-To: haiyangz@microsoft.com X-CMAE-Envelope: MS4wfGc7/lPH70RjjieotoAOkWxbDtfKvsMVW4F1J+7wtCeIRFM3mIvB0oY1UwKIGy19PBzCmP3ytTkB8MPfsThVxhIarUkHSgiSQ4VPDULu36RA/z0+iHOV xmJNjwF9D3hOB15YOXBbaHo1RbASr5664jqrJwjNtkucM5VhsLcWxDFHUFAEBQpGOy/NeqjNC4q0dP/rVa5uhIIp0A6hLN8Gzs7e9yfbXngb/GPJXtkW2ENh I/QEaRo56P0K0ye7o5lYQv/Yb65yijHjXpF0zf7ggyhb1a8isLZinr407XkwTa7kg2o6yu6wU7Crh72v71teoyxyir2wrGBCIEBzO7y9sKKDDe2E/NFncDNc vN1FL7/UPd0kql/MEoH4RFcA0dfh7Ez9Q6b7jdt9bixTkCHWxMRvg9OGGj1kl7XGVg8ykEDOu641k0lfJme/LICilm4HPPFCQLMKhsjCOP7nlRKWGaoVEQyE bAewYppx4aLJkp0sMKYBEw1e2uvw+hB6ZQS3bw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Haiyang Zhang The patch adds support for LRO/RSC in the vSwitch feature. It reduces the per packet processing overhead by coalescing multiple TCP segments when possible. The feature is enabled by default on VMs running on Windows Server 2019 and later. The patch set also adds ethtool command handler and documents. Haiyang Zhang (3): hv_netvsc: Add support for LRO/RSC in the vSwitch hv_netvsc: Add handler for LRO setting change hv_netvsc: Update document for LRO/RSC support Documentation/networking/netvsc.txt | 9 +++ drivers/net/hyperv/hyperv_net.h | 51 ++++++++++++--- drivers/net/hyperv/netvsc.c | 18 ++++-- drivers/net/hyperv/netvsc_drv.c | 58 ++++++++++++----- drivers/net/hyperv/rndis_filter.c | 97 +++++++++++++++++++++++++---- 5 files changed, 194 insertions(+), 39 deletions(-) -- 2.18.0