Article View: linux.kernel.netdev
Article #10537Re: [PATCH net v2] net: stmmac: Clear DMA errors for multi-channel interrupts
From: Magnus Leatti
Date: Tue, 03 Nov 2026 16:58
Date: Tue, 03 Nov 2026 16:58
25 lines
9597 bytes
9597 bytes
On 11/3/26 13:54, Maxime Chevallier wrote: > The Multi-MSI interrupt handler doesn't clear the DMA error interrupts, > and this leads to interrupt storms when one of these interrupts starts > firing : Retested v2 on the YT6801, same setup as v1: net at cb284914e749, glue unmodified, so the MISC interrupt stays unmasked. 4x 64-byte UDP RX flood for 10 s, same kernel: without the patch: the MAC interrupt hits about 93k/s within 4 s, stays at about 122k/s after the flood stops, and the machine stops responding. with v2: about 300/s during the flood, 0 after. 8x 64-byte UDP RX plus TCP TX for 30 s: about 25/s during, 0 after, with TX at 744 Mbit/s alongside. The 4x flood also runs clean after link down/up, ring resize, an MTU change, a 100/1000 speed change and a module reload. Throughput is the same as with v1 (TCP RX 941, TCP TX 825 Mbit/s). Tested-by: Magnus Leatti <magnusleatti@kernelriot.com>
Technical Details
Message-ID:
<20261103165808.72113-1-magnusleatti@kernelriot.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355841-linux-kernel-netdev=dewy.ruReferences:
<20261103125430.962715-1-maxime.chevallier@bootlin.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355841-linux-kernel-netdev=dewy.ru From: magnusleatti@kernelriot.com (Magnus Leatti) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v2] net: stmmac: Clear DMA errors for multi-channel interrupts Date: Tue, 3 Nov 2026 13:58:08 -0300 Organization: Usenet Network Message-ID: <20261103165808.72113-1-magnusleatti@kernelriot.com> References: <20261103125430.962715-1-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3218416"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:NPa+NBWzrm9RZY5MzHzLsL4R1U4= sha256:Ggag4VWWPKnDn8YD1Euf/c9sXFoO+FZatfcHRSczZ+c= sha1:09a2oA8JWla75sFeKpWglqwbHeY= sha256:qoG/k+ewjp1RS2TY5zJBw41CYKhhCOhsVpCifp5TYkc= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 7712F112966; Tue, 3 Nov 2026 20:15:58 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.051 X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernelriot.com X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z2kQ1d0jUuQ8; Tue, 3 Nov 2026 20:15:55 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-355841-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=kernelriot.com X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 7ACA811295D; Tue, 3 Nov 2026 20:15:47 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 1672235BF8; Tue, 3 Nov 2026 16:58:56 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1793725131; b=QSlH2CXO4wpqhn8DesPZcUg1/ah+Fqp3JyPjAtdgpIJ5QDBfR4HztvtoGSpGhCpih+FJ Mc4naH6lfvS75ylwrkdkWKDGwQiXo0nzpNgA5mUnRB2Xl5SChPe3doDQ/ZJQOWEsXj1Nt xEhWocHm/Hskxm15nS+gT9gYWrekxijfy3rTBJf2ASWHyy5XqLCGYBrDmJlv9a3AqyJY2 HtRW7T3Y9zCBmtqgepwKfD/jLmsZTJjwS5SiU+bVvC1f6cFewfstSYQiXN5YQeC9Kg5P6 fgiQQFwp9HVj/9Bc7C+/2R/wyvy2dfaQ1tv9qH5ukK1hQT2RJ7iI3a0sXQiAHVNoPgQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793725131; h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:From:To: Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding; bh=ZMykjE/7l/jsGdfR+n3nXl+yG8LC3pOXTPVPEB8YOmA=; b=uDwMID8Du6X1AQWmSnyTGs6umYyKizX27Rg+YRfo3+cK/krID/9EiMiK8X7W6b3W2ry/ gsnK/dTkH5gKHmYZWZMzF1N9lhPPB6642C2eQ/OSOxYfXawvgfyehavKGkv4/VtDipi+j Ap/ck3JxDs1lmKhyYhQYtZIwlvpJyLsVKavZKp5B+kMQAo46YAe4oqF3XW0XQ1aTlKNoy YrwTNJI8Heh2SNBii7qvmwVvlrn3CYbsh10H8Q6CpsmcxPtBnG49FRygdLAXw03uhoAeP 0qRgh/kKX2vf3TvHN9cRY/5FznJ/Kn9oyrk3vOHqtEdlXrPgTLBHyl+NfMRz/Xrequw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernelriot.com header.i=@kernelriot.com header.a=rsa-sha256 header.s=kr2026 header.b="h69B8+/y"; dmarc=pass header.from=kernelriot.com; spf=pass smtp.mailfrom=kernelriot.com; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D9BE606A339; Tue, 3 Nov 2026 16:58:51 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernelriot.com header.i=@kernelriot.com header.a=rsa-sha256 header.s=kr2026 header.b=h69B8+/y X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.208.142.49 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793725130; b=nvrMtO3Q67bicckOK3SdA42WXjoEoiyeGM+pfGmWk6k5laLdnjdYhOkDCZlUuX8ZYn64 tqdrF9GIFepvqg8N4exqjRMqRJnk0U//iQ+rNZlSvgvMN2KkPeyrYobWXCd2OyiebalKx ThNk6EfQmBqQoOqJU6rkkSKgx+4jO7anaIJr3vhYyxM2orCV51cZJ7gr7zyzZ+ASk4N4A Q0giSQ7CdrKoDJK8DxVcmlMOOugrwdj7PAKc2HK2FKy6jbTgsk4ff7VICbEMG070j1Nwj 5FxM0gO8jabkhfBUZcS1OBPPhYdgzSgeyF7vkAt0jGhNCltqMDMJr/GWC3kzBbc00ag== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793725130; h=DMARC-Filter:DKIM-Signature:Received:From:To:Cc:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=ZMykjE/7l/jsGdfR+n3nXl+yG8LC3pOXTPVPEB8YOmA=; b=mhP4cXPAyXICWv3sgPfKLS/34agGYwl8UNQriQoSdNoLcrSOHHS73/6qoPTD0iRF3fiH 3ybGSng7/QrGdapOONZ3hRDW+l4tkt0DRdMHKomLA+08J2+6ComZ+x/y2UcHfg8wN486j y5W2TR2zxelFgukJH91tNNjl/ygAcY1JXPGk9oyfwah9QY6IP4yBNgm7vmORo44ddaSEF 9jEsRjgyNd/gCOQgc2g8W/OLynuhlQkAo/ROGkCaRMIjCJAxepD1fq54ixpSU3Mr77BQN alh+G80SsqsXugO8+e1kp4wMu7D0I+k9W3SBcM5qHY4apbmtHPUdjKXFx8akgkOpw3w== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=kernelriot.com; spf=pass smtp.mailfrom=kernelriot.com; dkim=pass header.d=kernelriot.com header.i=@kernelriot.com header.a=rsa-sha256 header.s=kr2026 header.b="h69B8+/y"; arc=none smtp.remote-ip=74.208.142.49 X-Received: from mail.kernelriot.com (mail.kernelriot.com [74.208.142.49]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB8FE606A332; Tue, 3 Nov 2026 16:58:49 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org AB8FE606A332 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=kernelriot.com X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernelriot.com X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernelriot.com; s=kr2026; t=1793725122; bh=kLOhx7Xp1VWwEDJ5YlOdluqX5Krp+Iu/TEbVQCaGCzc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding:From; b=h69B8+/yiPfxJltzpSCRsWhjrdhAv1T1htNv6JY8a6Fi7iWIr+n5mGw5eV5u4fhiZ U3rTaOac/nhkUE941dJOI5Wwa9vi68uz1fQUFg6tALuvD9cG6DFrDjXfjR3zb+65TP KyNroY/vhYWr0jIoX10WYzLdmlF/zDgX9VclOUAae32i1d6MNU0Vowj/Qeu1FJih1+ mRpfEYu8m2RtOWbDrPWGCYTkVKDFqXVXsLu7WyIuWH/TBQnvgLbtHVVSfdl/fwxu2d SFMv1wqhU5fBsK1Qku6vTDyqz2lfTwH9ntoebpcxNXx+TA39XytP9M1PADd2RLuR3F +EwdBgYwNj9mg== X-Received: by mail.kernelriot.com (Postfix, from userid 995) id C0587819E3; Tue, 3 Nov 2026 16:58:42 +0000 (UTC) X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>, Jakub Kicinski <kuba@kernel.org>, davem@davemloft.net, Eric Dumazet <edumazet@google.com>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Russell King <linux@armlinux.org.uk>, Lorenzo Bianconi <lorenzo.bianconi@oss.qualcomm.com>, Nicolai Buchwitz <nb@tipi-net.de>, thomas.petazzoni@bootlin.com, Alexis Lothorรฉ <alexis.lothore@bootlin.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: git-send-email 2.56.0 X-In-Reply-To: <20261103125430.962715-1-maxime.chevallier@bootlin.com> X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list