Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6611028pxv; Thu, 29 Jul 2021 20:20:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx9hREkPLpcgO5y5goZzrrfMz/XS70RLTORjrz9WIIVY7XfAqnelh82KPPuZtNTmNGmgfaV X-Received: by 2002:a17:906:40d1:: with SMTP id a17mr508707ejk.503.1627615201298; Thu, 29 Jul 2021 20:20:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627615201; cv=none; d=google.com; s=arc-20160816; b=gm4LQ/MmJhk7utc/8cdLtfzW2VJaNGwooak/6MY8cWfmqjlo27/h8+RynV2B1/8egE SyEQ1o3stvEVqQq+9xC17Y3IBe2pdNf81Ex1p8ixmy32+P0fANfivbjY2LdwMLleEe57 XYi7DyE903g9bGL4mBxJuBum0ZN2AnxSn7B73O8CLOX4dwfA8dDgx+QIYUEW/YERrvYA mM/pj2PeX+Gaagj5ULPOyYgWzXQPluHOM9QZ5lTXHn1icfTWWLre3kAy/s3Otv7zD2CA 80cqLU9Zw38PMd5q+c42WOUi3cLeyGTf/moQMBIiFL7Sdnu9LW+B+LHZdCSdtQIFDHiJ BeUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=DXGvoV/1FbWseBavwr/OckYp1vp1lYs0lPS/D+ExmCs=; b=bFv8SuqHYuU07aEukevW8Gh1yIkSV62QMXfFdaSqs/2hEOg8jPKEcTfRH2pWHMOaJX /f+LfKH0wiikPhsNvEQyX+KLBE0OijEeHedYC7L1aRTeL3FIgGN4AJpDhevh6Kd4YuP3 3gfIDIFWLIebSaPRD0DhMj21j2xko0mUermXamC1r/kh/7E7AeT0RewpWjdvLkRkbUqX dDE0j++WjgJfPdKRRzbbWTlYdCdmPASb2T+wc+S00CaPjOzsMFCKGBvrpnXMj8sVoXDO foLezAE2Q5f0/qESq5RW997FC8p3Uh8HmpzVb6H5KVk3I6oZNyNtUyAhcj1XDRVIHSgD Gzow== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x20si353212edr.493.2021.07.29.20.19.38; Thu, 29 Jul 2021 20:20:01 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236608AbhG3DSL (ORCPT + 99 others); Thu, 29 Jul 2021 23:18:11 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:16028 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229971AbhG3DSG (ORCPT ); Thu, 29 Jul 2021 23:18:06 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4GbXYz1MK3zZvdQ; Fri, 30 Jul 2021 11:14:31 +0800 (CST) Received: from dggemi759-chm.china.huawei.com (10.1.198.145) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Fri, 30 Jul 2021 11:18:00 +0800 Received: from localhost.localdomain (10.67.165.24) by dggemi759-chm.china.huawei.com (10.1.198.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 30 Jul 2021 11:18:00 +0800 From: Guangbin Huang To: , , , , , , , CC: , , , , Subject: [PATCH net-next 0/4] net: hns3: add support for TX push Date: Fri, 30 Jul 2021 11:14:20 +0800 Message-ID: <1627614864-50824-1-git-send-email-huangguangbin2@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggemi759-chm.china.huawei.com (10.1.198.145) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds TX push support for the HNS3 ethernet driver. Huazhong Tan (2): net: hns3: add support for TX push mode net: hns3: add ethtool priv-flag for TX push Xiongfeng Wang (2): arm64: barrier: add DGH macros to control memory accesses merging io: add function to flush the write combine buffer to device immediately arch/arm64/include/asm/assembler.h | 7 ++ arch/arm64/include/asm/barrier.h | 1 + arch/arm64/include/asm/io.h | 2 + drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 + drivers/net/ethernet/hisilicon/hns3/hns3_enet.c | 82 ++++++++++++++++++++-- drivers/net/ethernet/hisilicon/hns3/hns3_enet.h | 6 ++ drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 21 +++++- .../net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.c | 2 + .../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 11 ++- .../ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 8 +++ .../ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.c | 2 + .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 11 ++- .../ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 8 +++ include/linux/io.h | 6 ++ 14 files changed, 160 insertions(+), 9 deletions(-) -- 2.8.1