Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5170228imu; Tue, 13 Nov 2018 02:14:57 -0800 (PST) X-Google-Smtp-Source: AJdET5ddScPoRRtEHgkp1YCqmlA7n2HWvhubzePjpdyS4x6oSsqMv5MF/STsp10NYXTaRj8/jrEN X-Received: by 2002:a63:1904:: with SMTP id z4mr4034847pgl.135.1542104097918; Tue, 13 Nov 2018 02:14:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542104097; cv=none; d=google.com; s=arc-20160816; b=0lDKKMoB27dvTHJaDJAPFj0atOGpc+qkSPflX0fNhaq4QyFalseZ1ar2bLFvb8svzx vD4fKjdrQ7vSln/dt2ES35aomxnajRdasIiOsqhEDgj4JMzEkuGrRNfNMTCb48VjQIN/ NmhiFV+NN95qo2CORoeTxAoYjd3FUQarfg7+7VKbTDnoXdnBQBJ+wCrDZYbC91K9uDKw NeOLDanR/sveoRQNnhCk3qg+1dVLXaq4bgvAPJ+OYUTEIhE+kvbJOACAgAufFNBZ1+WL cOFAasSV7naC/OjTBm708HWlQkMW8a1PtFbD/sUxz4PAu2JItdHlevDsir1u7AbqCZ8l J7JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=5kuctnJOC0xy3IRE65pBz7e/x3G2J2VMSs207fDOKao=; b=ShOFut0zSPXRlse6vwxCh1pjAl8oRAigMiGVm9PdLnZApmetSsatkX6MP91Y03nB2f aGAk3eHuLMKhRxeXzDyDInJLn/AUdNiFRjeWXJ0tuy4jpU2yAPNOdV0upy8smBo7ykII qJ0Fxwxg2CEDhCgoBOInTFFdvFLZ8gIVbXKdqeWl2IchPfsrypk1c1f3d1d5ptwmYaTg dXh+pkBEQthGA8K9+xQIs3AJ8245b7QQFiXyE3gxc/rluoQvoKiW3KgqeYCWWLXs2foS joL6IDxC6mhOutR6Z49f515ME84bUUIe7p4KyUtUsYrWAO0w+0h2NYg6Qvfb1Lem41r7 VnUw== 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 v5si5912675ply.74.2018.11.13.02.14.42; Tue, 13 Nov 2018 02:14:57 -0800 (PST) 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 S1732080AbeKMULm (ORCPT + 99 others); Tue, 13 Nov 2018 15:11:42 -0500 Received: from szxga04-in.huawei.com ([45.249.212.190]:15095 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731878AbeKMULm (ORCPT ); Tue, 13 Nov 2018 15:11:42 -0500 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 2593A748953AF; Tue, 13 Nov 2018 18:14:15 +0800 (CST) Received: from S00293818-DELL1.china.huawei.com (10.47.86.21) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.408.0; Tue, 13 Nov 2018 18:14:07 +0800 From: Salil Mehta To: CC: , , , , , , , Subject: [PATCH net-next 0/5] net: hns3: Add support of hardware GRO to HNS3 Driver Date: Tue, 13 Nov 2018 10:13:02 +0000 Message-ID: <20181113101307.6020-1-salil.mehta@huawei.com> X-Mailer: git-send-email 2.8.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.47.86.21] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch-set adds support of hardware assisted GRO feature to HNS3 driver on Rev B(=0x21) platform. Current hardware only supports TCP/IPv{4|6} flows. Peng Li (5): net: hns3: Enable HW GRO for Rev B(=0x21) HNS3 hardware net: hns3: Add handling of GRO Pkts not fully RX'ed in NAPI poll net: hns3: Add support for ethtool -K to enable/disable HW GRO net: hns3: Add skb chain when num of RX buf exceeds MAX_SKB_FRAGS net: hns3: Adds GRO params to SKB for the stack drivers/net/ethernet/hisilicon/hns3/hnae3.h | 7 + .../net/ethernet/hisilicon/hns3/hns3_enet.c | 289 ++++++++++++++---- .../net/ethernet/hisilicon/hns3/hns3_enet.h | 17 +- .../hisilicon/hns3/hns3pf/hclge_cmd.h | 7 + .../hisilicon/hns3/hns3pf/hclge_main.c | 45 +++ .../hisilicon/hns3/hns3vf/hclgevf_cmd.h | 8 + .../hisilicon/hns3/hns3vf/hclgevf_main.c | 45 +++ 7 files changed, 351 insertions(+), 67 deletions(-) -- 2.17.1