🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26670

Re: [PATCH net v7 0/4] bnxt_en: Make RING FREE more robust

#26670
From: Joe Damato
Date: Fri, 04 Dec 2026 02:34
33 lines
12601 bytes
On Wed, Dec 02, 2026 at 10:56:21AM -0800, Joe Damato wrote:
> Greetings:
> 
> On two production systems, I saw the following dmesg pattern:
> 
>   NETDEV WATCHDOG: transmit queue 0 timed out 6073 ms
>   Resp cmpl intr err msg: 0x51                  x20
>   hwrm_ring_free type 1 failed                  x12
>   hwrm_ring_free type 2 failed                  x8
>   AMD-Vi: IO_PAGE_FAULT  x3
> 
> Since v6, I searched our fleet logs and found the same pattern, a TX
> timeout followed by RING_FREE failures, on two more hosts.

Aright, I think I replied to everything Sashiko had to say. IMHO it
suggested some changes that are good for followups in net-next.

I suppose Broadcom can decide how to proceed here after reviewing Sashiko's
complaints?

Making the free path more robust turned out to be much trickier than I
originally thought it would be.

I think if this series is not acceptable, I will probably abandon this work
and move on to other things, so I don't expect to spin a v8 on this one.

I totally understand if this is not acceptable as-is or has bigger picture
issues (e.g. do we really wanna disable DMA if the FW misbehaves and make the
device unusable unless it is rebound ?).

In that case though I'll prob move on to other stuff and keep my fingers
crossed that the FW can be improved instead. Either way lmk.
Technical Details
Message-ID: <axImmkblZClXc2pc@devvm20253.cco0.facebook.com>
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376986-linux-kernel-netdev=dewy.ru
References: <20261202185628.847699-1-joe@dama.to>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376986-linux-kernel-netdev=dewy.ru
From: joe@dama.to (Joe Damato)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v7 0/4] bnxt_en: Make RING FREE more robust
Date: Thu, 3 Dec 2026 18:34:02 -0800
Organization: Usenet Network
Message-ID: <axImmkblZClXc2pc@devvm20253.cco0.facebook.com>
References: <20261202185628.847699-1-joe@dama.to>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="2656638"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:c7uRXu4x/ZVAK0YmqI2yhm5fviU= sha256:565zDvwTYavj9saXkw/8jAcV3Hi6bdkj3j3NRK7SBUE=
	sha1:g1y9N8/FwuusK6Oq2VECKxfkzkc= sha256:o74pCi0sDgyI3haKsOjNodgNSzEzJ2BsZVCLswoS+jM=
Content-Disposition: inline
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 F1A33117ABC; Fri,  4 Dec 2026 05:34:22 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.199
X-Spam-Status: No, score=-3.199 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.001, 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=dama-to.20260707.gappssmtp.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 8IBgyy8ZcmBm;
	Fri,  4 Dec 2026 05:34:19 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-376986-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=dama.to
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 4C005117A82; Fri,  4 Dec 2026 05:34:10 +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 B9E45237D1; Fri,  4 Dec 2026 02:34:06 +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=1796351646;
	b=z9AoG3Nq6XreLvHjbUJteM29pOmlxXTUo7cXCEFKH3SmmwaiZZXjjA8u0r1h0YsUUK4B
	 SW9uJPOuGE1v8hZ3qLuAyjCSkAjqK+qp/c/kKkCjNLF41s1MSCKS1MCu/yUaQmfbxHw3e
	 BSq1FA5h/Kj52iOSlkc/ng6baPW27r0Yo6UqJscXPFYXshgrGlZFq+GcOpuTuDr/ZVpRl
	 2EiyIZw8TpjD+Fm1EaAY/fm3YntMWU4bsZCpYBNicQ8I/lqMx8vKMStIT51C8ZTQWCGFj
	 VtGOlaTfe8mxdHYaEYeTiW0JxeyL6j2u0WzsGoaXzPf6uxiwIicXmqB5Qo5yXruqTJQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796351646;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:
	 References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
	 Content-Disposition:In-Reply-To;
	bh=WptxTMGgN7Vi1bGqrneJ+n1OoWP1RDU8OlX8J6a4Kvc=;
	b=akkEvzSvscxye+/Z7VhQuyWxUISN63Bd5I9Ts7ucnGoppqxfwu6X79VyI0LbLnExXakN
	 EjpVNr0G/kNOvn52gW1bAO3qVOGqP3JyhUVXaGhwpZ++AhmgMhGrbhuM5tO5wHJ9RycvV
	 hmA7Ylrvojha25VX55KtbNnfLWUkMJAXkK95cM+mZuuIWMzmNW6PZ6fPdKXuEnNvL7R/M
	 DFiRNc0dKCgdgwZC06yaEClKtqnePcXo6deoebkmaQreq2eUvKE1bQoI/0IJNRWgcCTCV
	 n8evbsdemROfT1HIzDiGKxe74RDBCK5G7S8RGNds0eXcPTKFvpehXnwYN9SP9B9dMrA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=dama-to.20260707.gappssmtp.com header.i=@dama-to.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=S95Yu0tB;
	dmarc=none header.from=dama.to;
	spf=none smtp.mailfrom=dama.to;
	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 0B904606A334;
	Fri,  4 Dec 2026 02:34:06 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=dama-to.20260707.gappssmtp.com header.i=@dama-to.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=S95Yu0tB
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.214.173
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796351645;
	b=X2O7RzVYiT51nCQTjOHPCzuOVKeUzRB9GcrXh2tRqxCO3bMXzZhqifpQiJxTdxEf+gse
	 bVnJQuCpRU0r5lMcpG49zL62mx5+FadyAJc3HuTJDZh5TSljQyzWexGTlnWS6bKpRz0sF
	 B2yOoNAUBoSPti54fI89op0/dQiVnHLpA+oXf6ImFWWRMWnLT9jLNIJTEH+ufHIAUUdC7
	 zBFwL0HGGw9uMw/WHdxOnY0Hgm2reaDx4dpYeXy3x2TOmOwg+9Upj7qciO3eZwHYoqZ8U
	 pT3fk1CgmPHCNr3x1mWj1c47DdIoqfRW5673NJ0J0g2NalfPnOWgGL1oNmxumLoloAQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796351645;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:Received:Date:From:To:Cc:
	 Subject:Message-ID:Mail-Followup-To:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To;
	bh=WptxTMGgN7Vi1bGqrneJ+n1OoWP1RDU8OlX8J6a4Kvc=;
	b=4AOsOnWqMJ6h7B/P02K0ayf0gRv1JoMB6+UpFWJb+BnQY/loqC7nxRZB4OHihzhT1vgC
	 HCBd+X0IVyWAq6qLrNi0bWbFrvaEQht/DlJLguAWBPlOFeJMiskPpqstxteETJSA6+cSy
	 XB1aRBWw2ps+enbuvcBRjAf4IVEYCSyNy/I6s2nBRrpyhQgNpeq1Ssx6QDv8LvAZQPQpU
	 ilebjxDI/6PGWBuPPTkUVgSigFRvn5KUqOOLjKri7ShhGwqxq9Sxsxm6pxebu86CuSarb
	 Ale/xRjzNk1XLno4V1OeuxxCTDGXb9CQXmCmFHse0WkbEw/upH4w+jL4T9knt8YswWw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=dama.to;
	spf=none smtp.mailfrom=dama.to;
	dkim=pass header.d=dama-to.20260707.gappssmtp.com header.i=@dama-to.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=S95Yu0tB;
	arc=none smtp.remote-ip=209.85.214.173
X-Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96AF9606A32C
	for <netdev@vger.kernel.org>; Fri,  4 Dec 2026 02:34:04 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 96AF9606A32C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dama.to
X-Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=dama.to
X-Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-2f0464dd6b6so3681765ad.1
        for <netdev@vger.kernel.org>; Thu, 03 Dec 2026 18:34:04 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=dama-to.20260707.gappssmtp.com; s=20260707; t=1796351644; x=1796956444; darn=vger.kernel.org;
        h=in-reply-to:content-disposition:content-type:mime-version
         :references:mail-followup-to:message-id:subject:cc:to:from:date:from
         :to:cc:subject:date:message-id:reply-to:content-type;
        bh=WptxTMGgN7Vi1bGqrneJ+n1OoWP1RDU8OlX8J6a4Kvc=;
        b=S95Yu0tB33YYHuspqbeiQlx80IYnZG9zgGUU5H+zS8uuLzpbsvPA2qx+AK3law52rF
         vA/FlS49wu+uzXCJ3YOgBgHbcEN5h6RlPe01czDIa+th0j0SOdefcyMJRUhO+mZsGGPp
         qx0OokqKayYqF3SNHNRFadqUTEL61VhnmNboXXeVpUFFe/Zn+ZVf73g3q1KTk4fsdnc4
         e8Su2gOZUbcN4n1gXzXtEgNSdXG97o7+HU1tNtmbJT6k3VBWsClS7WuI9aHcwAruKOZd
         IiQU6DLC0osQztZkyh/YeikpliUjZRt1P9MXBwewj11KjZFZPJ5mcOqx3P2vy1PGqaHI
         ylsA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1796351644; x=1796956444;
        h=in-reply-to:content-disposition:content-type:mime-version
         :references:mail-followup-to:message-id:subject:cc:to:from:date
         :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
         :reply-to:content-type;
        bh=WptxTMGgN7Vi1bGqrneJ+n1OoWP1RDU8OlX8J6a4Kvc=;
        b=hFgmqBuUpsjrm3WpqEqNJ3afhpgvkhXUKpIjHN0fGngSrD8P/SMEm0G9sPNgT3WGgH
         RRXk5iG7+axXUkdK5tDQURfzjFkUh5Ehy5GdiG4/uoBKgtUjpKwBnhpJiSENNVJIiG0q
         8Gu0DUh9Qy6fxSVLm7RqevCmpaZ12eHOpsgudceJWvl8eGJJvOX5xlVY3Sd+TF20qpzC
         /M2N1yZs9Lq53O8OR/6IZPnBKkgxPRuT3tF/0r9zxbJYNYEb81zKAQ2c8k0xZ2OeIXfP
         SwP6yVPkL8wJSyJDfrVwVEnIBv/VLFLYloWonNQfV5iAcGbqur9xWMWta/ro640ji2pf
         rR6A==
X-Gm-Message-State: APuU4Z8NW1jdXPQ+GoBVX2mK0s4oj3PPThxZ6cQ8jfdDC+Srs5HVgXnZ
	6VBMbtwF81f9RRFMKqzlAFbmIX4Erp7kZ97ErOBqUc/uOgw9DsjKcq64WFBvr0pH66wf3a76A75
	sFQ8L
X-Gm-Gg: AZFdTZc0xnEtLwP7cpcKxb4epKmMNYMJYHulj+wugEaDO2ndbCaU5qIPWugM1dHPHuI
	fA5oqLRU+ayb9mcsHF/3LAUk8SYXGx+vlQBifIERGn5S+TvmiwJTZnLNsJqJQHQhDetnNBna0co
	PfLjLuG3te8+mHMwVHLwBG+vNEM3Jk3BVZB3gn2KYRKr2V/5t/3pw2PcDVJ8tbhFmD078VnrzM4
	uxr3ay/DakZYX6u+QcjRUNb/iJ11hrN1idw8jbItDbGk5pwjNKO1Y8ow58rgBtqP2AocJ7CR8jr
	7bF/ShiH8Du1DIG5c4hbbXr9fbUSn9t5X36qKk8OIk6zN1XBJnzC0V5W1EZJTpoGvsegeTYq3Js
	muEEn6Ic+SN3JUBtVBbRKyCz7KFuN2w7xPoIBtcyNaXGsnzaQXGyTMYTIDKil9e9LBIa1cqJ/X6
	y7Xfji8d0/aprvYErbZEZdKYlKxvwz2HIgvFng2F5wCf38I45vc9U+CfCbOwYa7HgVHfEW+jLiT
	Ff3DRj8cgxV92v4Jhb4WM0ilqud0VLUvfXQcxh0INogzdGwMt/4iN3TUAseQzAB7Aogn8v6aIlU
	uHyBAtp+0AY8m05sffmkAuvoyeo/p5l1b/EoiVFvaA==
X-Received: by 2002:a17:90b:4d0e:b0:3b0:bc3c:3e7 with SMTP id 98e67ed59e1d1-3b5e065796emr478714a91.10.1796351643859;
        Thu, 03 Dec 2026 18:34:03 -0800 (PST)
X-Received: from localhost ([2a03:2880:2ff:55::])
        by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5c7d486efsm6875802a91.9.2026.12.03.18.34.03
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 03 Dec 2026 18:34:03 -0800 (PST)
X-Cc: michael.chan@broadcom.com, pavan.chebbi@broadcom.com,
	selvin.xavier@broadcom.com, kalesh-anakkur.purayil@broadcom.com,
	pabeni@redhat.com, kuba@kernel.org, edumazet@google.com,
	davem@davemloft.net, andrew+netdev@lunn.ch, horms@kernel.org,
	linux-kernel@vger.kernel.org
X-Mail-Followup-To: Joe Damato <joe@dama.to>, netdev@vger.kernel.org,
	michael.chan@broadcom.com, pavan.chebbi@broadcom.com,
	selvin.xavier@broadcom.com, kalesh-anakkur.purayil@broadcom.com,
	pabeni@redhat.com, kuba@kernel.org, edumazet@google.com,
	davem@davemloft.net, andrew+netdev@lunn.ch, horms@kernel.org,
	linux-kernel@vger.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
X-In-Reply-To: <20261202185628.847699-1-joe@dama.to>