Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp665176pxk; Wed, 16 Sep 2020 13:48:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKrlPAOaoLj3UsuDy9I3cZPHWVGWeilppy+L78l6Am4qn9+YUdK7iKKKVNVsiFQ58bUs+r X-Received: by 2002:a17:906:7688:: with SMTP id o8mr27171410ejm.508.1600289287791; Wed, 16 Sep 2020 13:48:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600289287; cv=none; d=google.com; s=arc-20160816; b=Jb4y9vK5me5cLAdE27yIENlCFXEtS02najQdsirA1LtqgmIYhPvWEhEZWykz11NyZF 9Y+KoM6srACUyepLB/nwl2Fc9qtR4DB8VGReNVVd0QdY0123NMqVwaAoJaV1qybZ502W zyUf1SRBVxFpf/tUkLN4xrZbLQL+BnIsr5pGXHehKJ83Qnol5o4Tqs2OMMDcQZX2/kA6 WmB4MjgNPHqrc0KlR9dFFG2gfilbetwHLHfnRcPTzQY+K9jtoZG3ohIK/GtWPzCArIie VPF1sXsNyceRaaTY1XeK9PxxXv8ZgwpCXYqyWGb7GlyxTMJBv43jFQasDkmVenDxPIgy TWEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=kxw0ViAEW9wkbGVfpdiqCj3cGd9iLpPlHyW0opL11fk=; b=WJaNzC9+j8ljyM0EjgbxqUF9lhv9KRrPInxM3BO0S2O3M8W7ySRKpAdAvwlug4KBnS 8a2qZk3lapsjNYunV4uMQJl0pepPhUOVweXlvq+0CE+tQ0CKnPDq2dfZwbgUwCEsPOW3 cMZHHcMi6A/eIJ18X/aobeQD6NpRHnafTG/53bSz1EpmHq1Nn2bxCav10K5qPRSgneR0 pMI8CcfdFSHJSfyXes1FVcYz9BTYljkjFumBsl9xi+mClIVLObSYZQjMABpfAxenLQM1 cBz2elJk7Byt8gXCZJOkUy14J43Qd09ABXN2RBR0Uqh9vShCVBlBxHtwTHfNdKMKfLpJ 4mww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wCoD7ieQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n10si13061717ejk.73.2020.09.16.13.47.44; Wed, 16 Sep 2020 13:48:07 -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; dkim=pass header.i=@kernel.org header.s=default header.b=wCoD7ieQ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728346AbgIPUos (ORCPT + 99 others); Wed, 16 Sep 2020 16:44:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:58736 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726423AbgIPUoQ (ORCPT ); Wed, 16 Sep 2020 16:44:16 -0400 Received: from sx1.lan (c-24-6-56-119.hsd1.ca.comcast.net [24.6.56.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6E1A320770; Wed, 16 Sep 2020 20:44:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600289055; bh=mnxfeYAfsEprBTo+f/0fTxAbrg30Zc/L3eUOssXhil8=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=wCoD7ieQgCw5bLU8tPvMAdeJwRw7m36ct6VQCNaRPjpv7GASgv0zQ5mTL47HBDV6A U2FGNaRc0t+crdufzCPwAMHGbLnrKfcPO+0GWHZiQV1OSLvyxHuXgtz/ZppffsTfwZ JGrsBk4M6+2lcz4+hQt8IfcTo0gnUARzrQR6p15E= Message-ID: <9549dda016b3cc046eb9261b17afe0057e8fdb54.camel@kernel.org> Subject: Re: [PATCH V2 net-next 0/6] net: hns3: updates for -next From: Saeed Mahameed To: Huazhong Tan , davem@davemloft.net Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, salil.mehta@huawei.com, yisen.zhuang@huawei.com, linuxarm@huawei.com, kuba@kernel.org Date: Wed, 16 Sep 2020 13:44:14 -0700 In-Reply-To: <1600248830-59477-1-git-send-email-tanhuazhong@huawei.com> References: <1600248830-59477-1-git-send-email-tanhuazhong@huawei.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2020-09-16 at 17:33 +0800, Huazhong Tan wrote: > 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(-) > Reviewed-by: Saeed Mahameed