From patchwork Thu Mar 18 00:50:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammad Athari Bin Ismail X-Patchwork-Id: 12147149 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02D62C433DB for ; Thu, 18 Mar 2021 00:51:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A60FE64F40 for ; Thu, 18 Mar 2021 00:51:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230076AbhCRAvD (ORCPT ); Wed, 17 Mar 2021 20:51:03 -0400 Received: from mga12.intel.com ([192.55.52.136]:30788 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229720AbhCRAu7 (ORCPT ); Wed, 17 Mar 2021 20:50:59 -0400 IronPort-SDR: gMybZBIRByJWg+jijAgUmLnd4QUP8aMbAcCDcmBP3xsLezFoiBtU65BJfHnS2vi+vG8I/7RVHI JEwm+oDz4tiQ== X-IronPort-AV: E=McAfee;i="6000,8403,9926"; a="168852713" X-IronPort-AV: E=Sophos;i="5.81,257,1610438400"; d="scan'208";a="168852713" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2021 17:50:58 -0700 IronPort-SDR: NThe0sP+wsRaDL43ZWqqyTqsF139nvSDXrqYQotLgn1+t9JWq7nMOr9W+d4/z2+22epYk2Owtl AVB/wo8rK8Nw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,257,1610438400"; d="scan'208";a="602458589" Received: from mismail5-ilbpg0.png.intel.com ([10.88.229.82]) by fmsmga006.fm.intel.com with ESMTP; 17 Mar 2021 17:50:55 -0700 From: mohammad.athari.ismail@intel.com To: Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , "David S . Miller" , Jakub Kicinski , Maxime Coquelin Cc: Ong Boon Leong , Voon Weifeng , vee.khee.wong@intel.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, mohammad.athari.ismail@intel.com Subject: [PATCH net-next 0/2] net: stmmac: EST interrupts and ethtool Date: Thu, 18 Mar 2021 08:50:51 +0800 Message-Id: <20210318005053.31400-1-mohammad.athari.ismail@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Mohammad Athari Bin Ismail This patchset adds support for handling EST interrupts and reporting EST errors. Additionally, the errors are added into ethtool statistic. Ong Boon Leong (1): net: stmmac: Add EST errors into ethtool statistic Voon Weifeng (1): net: stmmac: EST interrupts handling and error reporting drivers/net/ethernet/stmicro/stmmac/common.h | 6 ++ drivers/net/ethernet/stmicro/stmmac/dwmac5.c | 86 +++++++++++++++++++ drivers/net/ethernet/stmicro/stmmac/dwmac5.h | 32 +++++++ drivers/net/ethernet/stmicro/stmmac/hwif.h | 4 + .../ethernet/stmicro/stmmac/stmmac_ethtool.c | 6 ++ .../net/ethernet/stmicro/stmmac/stmmac_main.c | 4 + 6 files changed, 138 insertions(+)