Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp220756pxk; Wed, 16 Sep 2020 02:40:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0lzrIrhKQI4PJjVaavkG++7rLEzbX3ro1341HdmvPHosIPKci6HODCZwFofGzDQiVOBrQ X-Received: by 2002:a17:906:4b4a:: with SMTP id j10mr24312763ejv.498.1600249207005; Wed, 16 Sep 2020 02:40:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600249206; cv=none; d=google.com; s=arc-20160816; b=WIQaiG07J8fT/WtGyAaAXiO8uK6mgeJ7Tt31Unvgs7sW+cTR1RJnWbKeoiHkOFLKE4 RD843NjZpGM9uiGncmWl20ny6i7D5mIg8oNk/SNBc7vYRdvAHOzL/Bgf1YFYgloXjh4w GxoCJifWcQlSGYnjb5+P6vPFWVhflKIes40qu1Tbnwzsp/XiHGcjNnsT/iYapSG3aNEj MHYWYDQx+ejW6Dynknmr9FKUUJvcdwoeDL30DdLy3+O+j1K9B1PBsHa0jfMTIxLtUko4 BMbgWfsl+aKrK8XgXgFyqzwKd2txwlfc3gT5JFesXSpfZeVk2MVKFSc9ROjjo8FPDSra BodQ== 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=HXn7u2dft28K9QtV3THcONVdSE3jOArjsbiPHq43e7E=; b=SKfj32JTZ9QAu+d/iCLRmKmq193nJF9lJ7okRWvftoArdyqorNnaeUxunumYDRQtpX zSlFPm/cXqDIIBhqXv7bUUF/bt+DpCzIdGDgRsxjn9PFZFXaNUJd7v+3zbxC+E8ZCVzr 7wSMmZsOvhQsCZ7SBzMIMySrQqKpfJT9P4iBI+Wt7O1ul+nJ7Ws9JSGH+V+M5IhYSoCe +GUh8lfhXHIqyaIg/O4Op0hgB0gC2oKIWR9YN9+WVtpmfrhWstUshX0dnjn1cZeRdwoD KNTMDBEheJRjWV0HtyWGhw3TdudXAGlXeWHDcWTziss0gmDt8Kv5IDQg1Ey0xZoLppFK WtbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mc20si10945227ejb.571.2020.09.16.02.39.44; Wed, 16 Sep 2020 02:40:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726762AbgIPJg4 (ORCPT + 99 others); Wed, 16 Sep 2020 05:36:56 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:53844 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726425AbgIPJgv (ORCPT ); Wed, 16 Sep 2020 05:36:51 -0400 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 6D7EE63535BF70C1C1A7; Wed, 16 Sep 2020 17:36:48 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.487.0; Wed, 16 Sep 2020 17:36:37 +0800 From: Huazhong Tan To: CC: , , , , , , , Huazhong Tan Subject: [PATCH V2 net-next 0/6] net: hns3: updates for -next Date: Wed, 16 Sep 2020 17:33:44 +0800 Message-ID: <1600248830-59477-1-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are some optimizations related to IO path. Change since V1: - fixes a unsuitable handling in hns3_lb_clear_tx_ring() of #6 which pointed out by Saeed Mahameed. previous version: V1: https://patchwork.ozlabs.org/project/netdev/cover/1600085217-26245-1-git-send-email-tanhuazhong@huawei.com/ Yunsheng Lin (6): net: hns3: batch the page reference count updates net: hns3: batch tx doorbell operation net: hns3: optimize the tx clean process net: hns3: optimize the rx clean process net: hns3: use writel() to optimize the barrier operation net: hns3: use napi_consume_skb() when cleaning tx desc drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 225 ++++++++++++--------- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 20 +- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 6 +- 3 files changed, 140 insertions(+), 111 deletions(-) -- 2.7.4