Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp122417imm; Fri, 21 Sep 2018 11:22:12 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbgijmhAL9/0BI6fvO/VUdxeFQ/GIn1r6E8qKY3dVMPdFc6SvnAIyId8lBxSmIosNOsiTHq X-Received: by 2002:a17:902:7e06:: with SMTP id b6-v6mr46410982plm.230.1537554132785; Fri, 21 Sep 2018 11:22:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537554132; cv=none; d=google.com; s=arc-20160816; b=m4M9MVHkxTJoTDjl+5npGrdbIhATglL3T8jNrjR/nuewNtX6ylaP2mR2Sq3cxVJ9Qa uGg1/itwhXDylnBf+BLORqjXzhkfMPcCuLJRJpzsCIWzMLF10TQ6gA23zyFTNwHxqGqL EThQ8Xt6B0GysfDKtmhvUb2HyevkEMIluSXND/q/xFNEAfhJ37dMN6CYjYeRGtVLQjQr 05eQ3icmFL4LdO6mwPOWo0h2yqSOqO0RCKPrCJRju0d6ynR21+d/88h34Bj3OcgpZDQq v/UhRaIvVV5/9ymBg/gGRCZ+39HJa08EQklzFxsOiKY/iX+Xq+Hfm1GkMZm/YybgUeP0 UbpQ== 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=OxbiCCuQkD7RWVrnQwE8v5Z1pHF9ZRRzBlvr+RwQQJT755cMrN3DiI0ICVSYE00Imb wXhuQFu8KL4zCCiaczVPLcKvHptWzuD4/nF8HckfFuz+G1CmiiKfUrXAffKuZJfI1jP7 b0tRJFuxBgJWzvBSC+J4T11CAakuuPS2MXYBQD9x9IVXLqWE6MC3etMKv2AyYd46Pbv4 Eh+JtacIi0MmPA2mzKezgGVesOAIdHd0pwkWjthfTDh7tahKQZ2Ng4kQwWlkjWBOpYmE biFUzXo6tWoSADBZbS9xdfHFD4zsdzeAL53LUMH3EgW/wBkKaBlGwFRU8d2UAAfAI+xL 02eQ== 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 d130-v6si26523424pga.657.2018.09.21.11.21.56; Fri, 21 Sep 2018 11:22:12 -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 S2391117AbeIVALw (ORCPT + 99 others); Fri, 21 Sep 2018 20:11:52 -0400 Received: from a2nlsmtp01-02.prod.iad2.secureserver.net ([198.71.225.36]:41916 "EHLO a2nlsmtp01-02.prod.iad2.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390076AbeIVALw (ORCPT ); Fri, 21 Sep 2018 20:11:52 -0400 Received: from linuxonhyperv2.linuxonhyperv.com ([107.180.71.197]) by : HOSTING RELAY : with ESMTP id 3Q2pgfJiKM0DP3Q2pgpUIn; Fri, 21 Sep 2018 11:20:47 -0700 x-originating-ip: 107.180.71.197 Received: from haiyangz by linuxonhyperv2.linuxonhyperv.com with local (Exim 4.91) (envelope-from ) id 1g3Q2p-0002dC-86; Fri, 21 Sep 2018 11:20:47 -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,v2,0/3] hv_netvsc: Support LRO/RSC in the vSwitch Date: Fri, 21 Sep 2018 18:20:34 +0000 Message-Id: <20180921182037.10077-1-haiyangz@linuxonhyperv.com> X-Mailer: git-send-email 2.18.0 Reply-To: haiyangz@microsoft.com X-CMAE-Envelope: MS4wfC+3JdNliwQv0Y3o5OZk4n4bzMcGaSwbWNnWqctROIV5JTkpTWmzwAk0/G1c+fYduppGJEBBLxoiapw25wZf6dhQU2qE78+OjG5XISkYHqZy/dYOXzPJ Tj0F47iMlAoW50Pf2639fWydE688wAOh6KysyfxmMeW47KapMta0ScBjGjSIM9Dj05hjvmH8E0E56rGYXiV7tYXtfazU53e7Q421y2TVFcAO7tTrtvJ+7dIc fUeDVIZ57MZnUiQCLVnmHFt8dHxxMZBT+qJrA5xW9YOWBdJYYn/+l2tXqH/C4IcHIdl/MEnjF5V55oS+LaS6CNJFrxKCR5AXB+9v9k9fDPnPOIbAspT3Ew+9 h4UWABaohN0C9K8HWC63dqIG5O/49hEf+ZZx0eJt+u8td465ASz09FJxhNppHmRK++0YDF3wCkyI7Frc0VukbONxk1tnkgHTBziq2k3vRJ7gOj21F5EtCkMP R313WqNU6p7Awhs1MfF06L4APDkIEUWgMGTA2A== 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