From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 52DDBC433F5 for ; Fri, 25 Feb 2022 10:52:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Date: Message-Id:From:Subject:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=t0XBWcw6lncG88MQTM2LRFBY69FwUoiSZZR9On7eS7c=; b=ATDDSGtQ7U0qll UhCEVkDNdUNgBAWmxWyXiRG75q4V/iIkfU5fQLuqfub4RKSWp5IJojnRswmZrPatSypNzfn/AKLCT 3HI6iwTFlvmHqzMQmzEy9PFELLlBhmNirgJIggf4y6rgQMxn/YrjXomJYbY6GRVY6WGoskQ8KhnNH eALPHnNv17Jf7CK1q3zHLBp5A/ibA6urzrg3o5wUn0AErB6vItaCk53sWhPwtebOyW9j4kbHKbH1f HBZeHGnar9zKwl2bisByyGLZMAMW0kcc8o3O++C/RASuLTVAx05NRDRk6X4p3qJThNVq3faCEN2Fx KHViuZ8tmX/wcUMwFESg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNYBJ-004Wqx-8a; Fri, 25 Feb 2022 10:50:37 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNYAw-004Wfo-In for linux-arm-kernel@lists.infradead.org; Fri, 25 Feb 2022 10:50:16 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8B0EFB82E1F; Fri, 25 Feb 2022 10:50:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 328D7C340EF; Fri, 25 Feb 2022 10:50:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1645786211; bh=LC08xMH6CWt69AaKVSvadbtW1VHUd5kvo4F8105Xn3s=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=m/rycRA/3JDZtPIlVxvF05spVkxMWCU2KsoWyudLBjn/+vuN8miTZ3470lfzaJEyb zgdG7lGpXeunRXwt+WLmnZ9lob0g3aKH6oVR6VDMMJcOTukRfIFLxBNBjz9L9AXFBl 6Q9faNDtTecp3PhoquJ7QTcYPMUENJJc99XGA+fPexBq9LLdECubHd6zK/K264KeMM rG6bM8NVs8f3HtEydMs9hhN5/l/mHASkyUVpC6AkNMPnuUDTy7fz8j43R0kElfJLjy 0hUly9MfGcTDKDuiEa7aTZ3yMjXn8RtSEsmEN9kjm2TRBf1+NMLdEuUiQkGvnGcP4H eaySrIK/WoP+g== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 12FC5EAC09B; Fri, 25 Feb 2022 10:50:11 +0000 (UTC) MIME-Version: 1.0 Subject: Re: [PATCH v2] net: stmmac: only enable DMA interrupts when ready From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164578621107.20500.7059281134747424686.git-patchwork-notify@kernel.org> Date: Fri, 25 Feb 2022 10:50:11 +0000 References: <20220224113829.1092859-1-vincent.whitchurch@axis.com> In-Reply-To: <20220224113829.1092859-1-vincent.whitchurch@axis.com> To: Vincent Whitchurch Cc: peppe.cavallaro@st.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, davem@davemloft.net, kuba@kernel.org, mcoquelin.stm32@gmail.com, kernel@axis.com, larper@axis.com, srinivas.kandagatla@st.com, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220225_025014_818087_8C29373D X-CRM114-Status: GOOD ( 11.29 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello: This patch was applied to netdev/net.git (master) by David S. Miller : On Thu, 24 Feb 2022 12:38:29 +0100 you wrote: > In this driver's ->ndo_open() callback, it enables DMA interrupts, > starts the DMA channels, then requests interrupts with request_irq(), > and then finally enables napi. > > If RX DMA interrupts are received before napi is enabled, no processing > is done because napi_schedule_prep() will return false. If the network > has a lot of broadcast/multicast traffic, then the RX ring could fill up > completely before napi is enabled. When this happens, no further RX > interrupts will be delivered, and the driver will fail to receive any > packets. > > [...] Here is the summary with links: - [v2] net: stmmac: only enable DMA interrupts when ready https://git.kernel.org/netdev/net/c/087a7b944c5d You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel