๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #12434

Re: [PATCH net v2] net: stmmac: Clear DMA errors for multi-channel interrupts

#12434
From: Magnus Leatti
Date: Sat, 07 Nov 2026 10:01
26 lines
9599 bytes
> Should the Fixes: tag point at 1b9707e6f1a9 instead, or also include it?
> As written, stable may backport this to 5.13+ trees that cannot hit these
> storms.

A data point for the RBU case from the YT6801, same 64-byte UDP RX
flood, all on the same 7.0.13 kernel:

  stmmac from 7.0.13 (has 6ccf12ae111e, not 1b9707e6f1a9):
    no storm; the MAC interrupt never fires (4 streams for 10 s,
    and 8 streams plus TX for 30 s)
  stmmac from 7.2.11, built for 7.0.13:
    storm, the machine hangs
  the same, with only 1b9707e6f1a9 reverted:
    no storm

So on this hardware the RBU storm needs 1b9707e6f1a9. I did not test
the RPS case.

> Since RBU and RPS were enabled only for statistics, was masking them in
> multi-MSI mode considered as an alternative?

For reference, d3265c19b35d ("net: stmmac: xgmac2: disable RBUE in
default RX interrupt mask") took that route for xgmac2.

Magnus
Technical Details
Message-ID: <20261107100140.8279-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-358333-linux-kernel-netdev=dewy.ru
References: <20261103125430.962715-1-maxime.chevallier@bootlin.com> <179379704484.488856.2140619507341432623@kernel.org>

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-358333-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: Sat,  7 Nov 2026 07:01:40 -0300
Organization: Usenet Network
Message-ID: <20261107100140.8279-1-magnusleatti@kernelriot.com>
References: <20261103125430.962715-1-maxime.chevallier@bootlin.com> <179379704484.488856.2140619507341432623@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="4076945"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:EjP8oYl/52wOHJT2YZ6bNfhphEM= sha256:R0ZwIAv8+zTfSNjSn2HEYvg2w2r9Q3B6oNmqY0uCTBI=
	sha1:2+3L4yeVeon1WDzxk7gcBH3aevc= sha256:pzEzy6mXj19pwch+vFSoDo4MPQLozA+HF+hrrcrMlLE=
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 8BF271133F0; Sat,  7 Nov 2026 13:03:34 +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 tUs1hb1So_69;
	Sat,  7 Nov 2026 13:03:24 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-358333-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 6B55C1133D6; Sat,  7 Nov 2026 13:03:13 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 8E66A34F2A; Sat,  7 Nov 2026 10:02:34 +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=1794045754;
	b=Sv/bXr4Urz3Pr9JQ5Q+4yB7tH6/W0M2D1RNjz+RPUEpNwEcrPkKdxl3dp/wdsxSmgW+E
	 aLAdUOHs1kjauy00e8A9CzCjv2FhNA3ADF7iKBBdtmC+kLoBLssLrA98s3mX8wk9wHcsJ
	 eEjWI2t4fLqtVnfJzs0YNojqcfWrpoIK4A6J9xgNMJ38LWhtGQzcGDFjmOqSF8W5x5hgg
	 as8ZBozY6UMzMZ7ZSdSpdKNp3MXqVdVnrHryS+BKGtauaV6DgD/plA4VET602n1fVQNGR
	 /vGmzTDst9wQFdEJOpS1pX0hTXJDlxZfschxnVzzLfzBy2kDJ/RCOoNVfFeYEgZeQRQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794045754;
	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=TjMdFk8RF2kaRdnGIftRqRXHaK9TIJqelTHCSWvnKbg=;
	b=vg/tYPsv+tE6Te/oZyWbtlwoCJAPWGFuzbBpsES+WBxQqsxAUErbjw2rQ0n1paQsLQEa
	 MEtRpdSjVtwq7LcjKGTrozh74y+vYJwqOuDswa6YmJLQQd52HMZe3KA15lsCyC5G3P6CN
	 ePhXm5ROdUtSjsl1dqmr1DiblSPYun4nvlVCaB54HT/577Fev17b1ft9Q2kkYLqcNFzmR
	 5syuxJAAahgR8Q/1QMKqkGy7YgogZujUJqXTD4qVlr1hE/+KAeUnRskF1w7zfzB1hE4EX
	 zzBspF9xqZMWj1YbFe4FWpx/6f0yJt2W3RsgiDLxFOi8JVxVzYM6EXvuFMy7Rai274A==
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=YA3oaAqq;
	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 6785B606A32C;
	Sat,  7 Nov 2026 10:02:34 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernelriot.com header.i=@kernelriot.com header.a=rsa-sha256 header.s=kr2026 header.b=YA3oaAqq
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=1794045748;
	b=P9S2q6LaGt+EJrNLY4LR7Fq4jgb8/9hwm5HXymPUFjOMv2l7TWO27dMATfpEB0Q0vAFf
	 /exgCutrWtoRHBCkY5DOBrJaAC9ehIxXAU05EjANDF14NPZ7ROjzYBX1ctrkrZE6Vo7Jc
	 qPB7t5suZyGp3e9qxQjuptZHigcHOiDyWKoKQ6bSuXNa4uytazvZbFe2x5HB/sXyrt9Ux
	 nhhNntskRWz0eu7pg25NoEXIFV5PEcuRl6XLBkfpDH0oLExwFp1E+wgdS/oWfEB2rE/49
	 ZKfHe8/NwgIx8hSs4SR5K9jOG16Tyynh0i42VHn6F/ayuvyHBQvknuZZQTUc6CKg2OQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794045748;
	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=TjMdFk8RF2kaRdnGIftRqRXHaK9TIJqelTHCSWvnKbg=;
	b=D7yz3vl7pUwRg3vphWjNCEkgelCIvPfkfgzPmVVQCaBOmnQqFv5OzOrfm62BDMyMKOrj
	 2hY3Q3uzfrC7cft3ruaMIQ+XAavBjiqX8yCAvIbU9Gv9cWV2pWLlYNmDEyYLaiD2KdjgY
	 6Dk8dNcQNFcfg8lFmYL68UWOoKCiOaPZ+dyUFtekpNs2lvjOQjMWWNlWELSh/jSFjUmwO
	 m+eTkVe/EE0qjoJRXTB8ELJbui2D5hTxP7mHUvzDkgYSzO52J5C+ImmWbkI3S9GjHvIYX
	 NuiW477vkbt3CACp82OsghM+DuR6OJDTnEEsW+6B0lYgyMbI3KFDacHh7i1CfNrTkzw==
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=YA3oaAqq;
	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 04B4D606A32F;
	Sat,  7 Nov 2026 10:02:27 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 04B4D606A32F
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=1794045741;
	bh=+/ah8vkaUP87DIJHEblp3tls1hoAvi5cG63uzTk2jyA=;
	h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
	 MIME-Version:Content-Transfer-Encoding:From;
	b=YA3oaAqqZeN6mMwRbLlWFxUHJTOS/YV5Tf0YMXVoJGIeGL1kBg3ADZFfe5MNss8vE
	 MIEoobu/aDKNIrDejwSZFcURBEatbOt+BAIuzjkZ12NRCYmeGkrHMnGDIOSWsNpEGL
	 MLf7cp1GrS1iC0Gx4bH5sxaEq5fH4DhVKFjeqsM2x7fbVWaYgtZRG2Ft0H2JG9ORJ6
	 zI2LEmpGjLw+Yx/XISWN6bbUKkyzu/ViR20cEfpKUwmyJpEkeI11ITx49iO45mk6sZ
	 XwvkqaG4hxP0HO+2XeRh9sURl+EKV0txlu5rE6XO/0QqJ00xhuY0DmB5bfzSISoDvF
	 lMG6KdXpegkHw==
X-Received: by mail.kernelriot.com (Postfix, from userid 995)
	id 3E6128147A; Sat,  7 Nov 2026 10:02:21 +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: <179379704484.488856.2140619507341432623@kernel.org>
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