Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3170647pxv; Sun, 25 Jul 2021 19:24:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7YgNdwmOCAeMX2uuQHeCuaWwvELeJxjYu1grz+kDoMtSz9EuM0sMWSAJNznXJqCnM1A2f X-Received: by 2002:aa7:c04e:: with SMTP id k14mr18589974edo.193.1627266244938; Sun, 25 Jul 2021 19:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627266244; cv=none; d=google.com; s=arc-20160816; b=wAC5Xzdd5tTYLAimy/iAeRe3mMHFWKm2+vIuJcQ+5CqFPbCbWQy6y0XeUxMCE9WUSX OCgPA+XsZukT2/y74Xim4V6Zzg8qO4iSDWi3iod6v45qs5oIZlmS5zke1Nq4hSlD3uGU i3SVKFxnAETaH1SoAhcEjoPV8rEp2ipidI5bsR83i+0+CIedAZ2TtjIojl5bcSNnH3Gf SdJfyMgy434n9qHgJO4zljmHGP/4Et4CMuIyF6wm/2rr6XladeXhBXmtegVNvDh2EO+x Mj4o3LpdpJRSkyuu0NK9LQMYH336aGMELOfsN3rpb4/R6Jv43qre5BQR4554DwvT7fKD KH8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=Klv/t2hFx8UT9hYEwuciYHbZZf4Xsj7I0RguLWjrC24=; b=yjP3oJcEDn1GM5pdw6IHmAzTM4DDM3G8VBX06oEgFbBKpnM7GnbSmRpU2NPbodWwtL mFAD1eOqStK+XerCcyfBnvD7taBaJ/PnDN27ugS537TdkmnygalM2UibyRexmIbDeclQ WN4wKzYSU8vtRvxgV6AMQB8bIF6ifECI1qvE3gkb9Rrn/DYQD0HwCgc/c2wYh5aBj3jA xu7Uct+RcLs16BNh+bwQiAPi7hbJEb7T4JklYk/iaI/U9BQDgW7hmwJbBwZtOT0juUjn pk0QLMThKemALVbzYYbzky8JuSQGfiujlVFm5vrMzGu+pB8k8YhjyNUxgbJUQEajfSmG C0MQ== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i22si1016375edq.593.2021.07.25.19.23.40; Sun, 25 Jul 2021 19:24:04 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231380AbhGZBlJ (ORCPT + 99 others); Sun, 25 Jul 2021 21:41:09 -0400 Received: from mga17.intel.com ([192.55.52.151]:37265 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230272AbhGZBlJ (ORCPT ); Sun, 25 Jul 2021 21:41:09 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10056"; a="192420752" X-IronPort-AV: E=Sophos;i="5.84,269,1620716400"; d="scan'208";a="192420752" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jul 2021 19:21:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,269,1620716400"; d="scan'208";a="515915887" Received: from mismail5-ilbpg0.png.intel.com ([10.88.229.82]) by fmsmga002.fm.intel.com with ESMTP; 25 Jul 2021 19:21:35 -0700 From: mohammad.athari.ismail@intel.com To: Alexandre Torgue , Jose Abreu , "David S . Miller" , Jakub Kicinski , Giuseppe Cavallaro , Maxime Coquelin Cc: Ong Boon Leong , Voon Weifeng , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, mohammad.athari.ismail@intel.com, stable@vger.kernel.org Subject: [PATCH net] net: stmmac: add est_irq_status callback function for GMAC 4.10 and 5.10 Date: Mon, 26 Jul 2021 10:20:20 +0800 Message-Id: <20210726022020.5907-1-mohammad.athari.ismail@intel.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mohammad Athari Bin Ismail Assign dwmac5_est_irq_status to est_irq_status callback function for GMAC 4.10 and 5.10. With this, EST related interrupts could be handled properly. Fixes: e49aa315cb01 ("net: stmmac: EST interrupts handling and error reporting") Cc: # 5.13.x Signed-off-by: Mohammad Athari Bin Ismail --- drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c b/drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c index 67ba083eb90c..b21745368983 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c @@ -1249,6 +1249,7 @@ const struct stmmac_ops dwmac410_ops = { .config_l3_filter = dwmac4_config_l3_filter, .config_l4_filter = dwmac4_config_l4_filter, .est_configure = dwmac5_est_configure, + .est_irq_status = dwmac5_est_irq_status, .fpe_configure = dwmac5_fpe_configure, .fpe_send_mpacket = dwmac5_fpe_send_mpacket, .fpe_irq_status = dwmac5_fpe_irq_status, @@ -1300,6 +1301,7 @@ const struct stmmac_ops dwmac510_ops = { .config_l3_filter = dwmac4_config_l3_filter, .config_l4_filter = dwmac4_config_l4_filter, .est_configure = dwmac5_est_configure, + .est_irq_status = dwmac5_est_irq_status, .fpe_configure = dwmac5_fpe_configure, .fpe_send_mpacket = dwmac5_fpe_send_mpacket, .fpe_irq_status = dwmac5_fpe_irq_status, -- 2.17.1