🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8600

Re: [net PATCH 00/13] fbnic: Fix BMC filter, FW crash restore, teardown and Tx flush bugs

#8600
From: Alexander Duyck
Date: Thu, 29 Oct 2026 15:33
51 lines
14481 bytes
On Wed, Oct 28, 2026 at 2:42 PM <netdev-bot+sinfo@kernel.org> wrote:
>
> Hi!
>
> This is an automated message. This series looks like a fix, but its
> commit messages seem to be missing some information:
>
>  - Whether the issue was actually triggered, or is only theoretical
>    (e.g. found by code inspection). If it was triggered please include
>    the symptoms, like the stack trace or error messages.
>
>  - What hardware the change was tested on. For driver fixes please
>    mention the device (and if relevant firmware version) used for
>    testing, or say that the change was not tested on real hardware.
>
> Please do not repost the series just to address the above. Instead,
> reply to this email with the missing information, so that reviewers
> can take it into account. If the series needs another revision for
> other reasons, please include the information in the commit messages
> then.

Patches 1-10 were found by code inspection while reviewing
d261a371e3b7 ("fbnic: Rework the BMC state pulled from the
capabilities message") and db99b6fae21c ("fbnic: Remove BMC routing
rules when the BMC channel is disabled"). They were not triggered in
practice.

Patches 11 and 12 come from a hang we hit on hardware. A test loop
injects a PCIe error, which triggers DPC containment and driver
recovery, while timestamped Tx traffic is running. Over many
iterations the device's PTP in-flight counter climbed until the PTP
request FIFO filled. After that, Tx timestamp requests never completed.
There was no kernel splat; the symptom is the stuck counter and Tx
timestamping stopping. With both patches applied the hang has not
reproduced in over 10,000 iterations of the same loop.

Patch 13 was found by inspection. It targets the "Tx timestamp without
matching packet" message from fbnic_clean_tsq(). We do see that
message on hardware after the recovery cycles above, but we have not
seen the Tx force-flush path it changes actually run, and the message
still shows up with the patch applied. So this fixes a real gap in the
flush, but it is not the whole story for that message.

Testing: the full series was run on an fbnic NIC with a BMC attached
(firmware 26.09.14-017_h7ab84d2ef68f), using the recovery loop above.
It was also tested in QEMU, using an emulated fbnic paired with a
second QEMU instance running the device firmware. That covered link
bring-up, BMC NC-SI channel enable, disable and re-enable, and a
reproducer for the multicast table exhaustion case handled in patch 8.
Technical Details
Message-ID: <CAKgT0Udib6rwF5AeLtrv4eA3i6c3gPGTayEh29UnN1dU5nOjGw@mail.gmail.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-353347-linux-kernel-netdev=dewy.ru
References: <179322311834.40667.5383039334126572422.stgit@ahduyck-xeon-server.home.arpa> <179322372169.3327.17262999729300923799@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-353347-linux-kernel-netdev=dewy.ru
From: alexander.duyck@gmail.com (Alexander Duyck)
Newsgroups: linux.kernel.netdev
Subject: Re: [net PATCH 00/13] fbnic: Fix BMC filter, FW crash restore,
 teardown and Tx flush bugs
Date: Thu, 29 Oct 2026 08:33:02 -0700
Organization: Usenet Network
Message-ID: <CAKgT0Udib6rwF5AeLtrv4eA3i6c3gPGTayEh29UnN1dU5nOjGw@mail.gmail.com>
References: <179322311834.40667.5383039334126572422.stgit@ahduyck-xeon-server.home.arpa>
 <179322372169.3327.17262999729300923799@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="2035337"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:B3uiLjti0mVZmQF5g/B1orkoBnQ= sha256:yxgK2LjcRQb3wHWG5GtsXSXd6731rlvJleQoWvf8Iss=
	sha1:CQXTZAOYHWunvJPe+fDKEE3RVic= sha256:6M/D/iLs3liR4qSKFRuiOVLXBq2HdVCehNMIgxZ5G0I=
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 F09DC125C6D; Thu, 29 Oct 2026 18:36:01 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.048
X-Spam-Status: No, score=-2.048 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, FORGED_GMAIL_RCVD=1,
	FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
	HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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=gmail.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 39oefV8JDRRu;
	Thu, 29 Oct 2026 18:35:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-353347-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 5B747125C69; Thu, 29 Oct 2026 18:35:50 +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 E2EF02C735; Thu, 29 Oct 2026 15:33:44 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793288022;
	b=yx60zu7lEFyRG4osSRjWo7nJPHqaQXHKkAccUKHowimke8m5VoW0qpaIONgd0VDIZuqk
	 8Ubp2vVbZGQ4bMOT1lDbwyUZRYI4umK1yDJdjMHnhKYl+fFLsNqY4FntKCXXyxmoRk90j
	 oznjbA0YaaqMg7zVjyrKHGGn/AVRLxhpJkQvRavfMHEakKAg3GlE7hEA4+8viur67ZY1H
	 YjoY7r5zogznMr9v63pxDkIx78ocahU5VnhZ4fp7iBmG8WFfPyDRiga/vpsx856Rav+FT
	 V5Zt8bCqse5LhMGCDe/00Nz05S5o6jVu3dUJrnyjx/+v/yBIfjt0I+jsLR/h+SuP61w==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793288022;
	h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
	 X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:References:
	 In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:Cc:
	 Content-Type:Content-Transfer-Encoding;
	bh=qnsOQOH+MJS4dgeIIgkZpo0rIQQtq+mlOBdV2ECKIcs=;
	b=AdlWqPTpItePQox6nYb0SnyoMFo9N8Q11r2yMXISYnDCOlTUoZFpAoAiXRnZ5HsvOaqd
	 gZqBHuY2Snj94a2nOBVw9m0LKELMK22FzCB3pn6XDKYK0zLiLWzMCVEotRoFO5NtPJryy
	 DnmPqOTRRhJKFETd3axzdnLRTE2aCt1D1QDoGOEMhGFKNkC2zZDyjXbelEp6g713KLrXt
	 Xm3IIdpaWh+fiU2LWg76xFXWTnJ7TBwYw2kbQ4H8RAHtaIr1djO1T96SCdCDn+FNqzWUP
	 SuKhI4C4fePWNo9luFC3ClZ2Sg3mYGEX836H9cT9Xe5i/OOvsg+ok9+oPtIN/VHnzNQ==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=DU2MrwIA;
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.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 A1647606A329;
	Thu, 29 Oct 2026 15:33:42 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=DU2MrwIA
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.221.44
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793288021;
	b=xgM5OraE4uIGIhuM9KooaUUf1vh2EX9cOCJPWxTjea1XShMF5s6pzYRBiS4KVH84s/sL
	 bXD2pML3n2IxTY9RZVWY1GAqyt5VK8fVfS5gcNQqVMC8AyYm+uKU4m5lwzkJzkUP7dGnG
	 Qlm5hcQk5c6JWjTBHjeoDKo6h99wvw5nl0L7mRgT33HS4Dc0/2rqpNNpSfq1WWs6JdXbQ
	 W4DC14Sa59EtgXG9qdwKhCir5DfczWMv+Z+tyilYryg9+C/S7Gz8t3KBdkG0Jp5FzfBPJ
	 mq/6BEPzRwVANceiRsqx7CC22VG6vVphRZPMgCWf5bAuDVDOqZC2yHMkelEOsL+Ltpg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793288021;
	h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
	 X-Gm-Message-State:X-Gm-Gg:X-Received:MIME-Version:References:
	 In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:Cc:
	 Content-Type:Content-Transfer-Encoding;
	bh=qnsOQOH+MJS4dgeIIgkZpo0rIQQtq+mlOBdV2ECKIcs=;
	b=A9ZTIPXUgp6/oVkQzb+VOszLuenZDz7i7zuZqTC3Fe1qayVhMxJNktfPUfK8LibbS6la
	 V/7iarlWd2xV3HYLixoDzU/KBS8G19hwMjzedHWIiwhZxkcWSuUdquNBnmhmsWmo8i9te
	 u0wL9uv8sucb5V7u7VEJHmTzMUzTtFfXnui2R+qNdKKKcpkKNM63FZ5NsTBPxCl9WL6uG
	 aouLGy8aeXmx/oitP5HhnZ034+iLI9HnW4ctVQbyr2Fu8/lCxc0B8aMwN7WPAS/QhiQTJ
	 wZH30iK7pMS6NLi4OEpTEt2XN0p4DRY77roTGp/btIIkOvNiQHpsY+4d9pG173NqaFQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=gmail.com;
	spf=pass smtp.mailfrom=gmail.com;
	dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=DU2MrwIA;
	arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.221.44
X-Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44])
	(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 64581606A31D
	for <netdev@vger.kernel.org>; Thu, 29 Oct 2026 15:33:41 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 64581606A31D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-48c45111bebso1086705f8f.0
        for <netdev@vger.kernel.org>; Thu, 29 Oct 2026 08:33:41 -0700 (PDT)
X-ARC-Seal: i=1; a=rsa-sha256; t=1793288020; cv=none;
        d=google.com; s=arc-20260327;
        b=HUS9CJniitxLNT4EzEx3r8mbLxrj+ZZU34IQAAu0JvpamGyj6W8wvexYxm09ABzdq7
         e3JIteWceyJHNrXJu3vGxXEaBPU21ZCnPfHbP31eWyIvR4xC4Dbffg5u97Dy++J5fBiR
         0fNAioR3tCNvwt55DUMCU134aAiik0/0yOeEXBxq3h3LZ5ekwp7x73tW9jw5cpl0pZqo
         G/R0bGUXfmctBDX1UBoKJU8wOhQXDOVylfbhEwUovOc2izV5GSuxzv54iTb+mTgZdk1W
         ArxeQacUL9YSMZFA/9fHPREKn2vxi4lJfzKC179tRTvbPJjimIDobDJ+biGE0kMjVDjC
         U/rQ==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
        h=content-transfer-encoding:cc:to:subject:message-id:date:from
         :in-reply-to:references:mime-version:dkim-signature;
        bh=qnsOQOH+MJS4dgeIIgkZpo0rIQQtq+mlOBdV2ECKIcs=;
        fh=sv6dzx/OIk7BpYXa0WnuZFJcwMoDm1KsoaTzLkpWbMs=;
        b=RIQyn8MajmjYw2NAzmyderhA2hVPY0FvbcqJ+N2uEqHpgwljtAMffHq1G1DzKzOqNJ
         R95ib79PYInzsnSf8GKnZyr4j1CpZdGVambRnlA1Jrq80znG177Pk4iK9RNZab6qcyPG
         SRbU11hyUk3mPHAczXg2NnV9lDvHCiJmOL1E/ppgoLMhRLFyGTxE5UACso52Q0e4aiJx
         WbHSrLU+NBxWHLyWKQ+xjfnJ+pUN5uoDSjhVjhewWqCephaJgxwbt0pb7PaE0vi6wgmJ
         91a14jK89mXu/3D9sMYop+fghTJ+1J4BFR8RvYgRKKhrueOZFLRRudYotOPLS6j45her
         FOXw==;
        darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20260707; t=1793288020; x=1793892820; darn=vger.kernel.org;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:from:to:cc:subject
         :date:message-id:reply-to:content-type;
        bh=qnsOQOH+MJS4dgeIIgkZpo0rIQQtq+mlOBdV2ECKIcs=;
        b=DU2MrwIABYt/QrdlPzXpAbHNPqL/qnAOu2OgJtbT+jAs8WSu7Njpo/WS5kMmyHXyDt
         qDENUwJLwgV35cLiSsaA3ktDFs5yj4ZIfUsq1cj80C1OspjwpPDCXVmoo0jfbvE4iomK
         ltG1MakzYajnDCQIuFWtQWu9XGBIKp8eRAQFLi4W6TJ9qMH3HbKJD7LHsrVbcedUVsWO
         zpgwkpYxIbkvvUPdN/TcVUDamq6Dz/9g3yJQPFErTtwVc7Xdt99+MaFoByTcx5j+tmOR
         MhI9LlIOl08HFr+6pLT67osqTSSeO4r0Sp3KeeoMKGIwB+IFeH0yscDXGhbEWPYOhadI
         md7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1793288020; x=1793892820;
        h=content-transfer-encoding:content-type:cc:to:subject:message-id
         :date:from:in-reply-to:references:mime-version:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=qnsOQOH+MJS4dgeIIgkZpo0rIQQtq+mlOBdV2ECKIcs=;
        b=aCBl/JHlVMjYuWRqMwzmC/a14m1qdHyOLJbukWlmoB4HlnG6lkonmtvGdCmPPECPu+
         wrctL3tdkAOFNiAdpLaPZs+Y7V1P0QOVZtbx4OJyASo+YHNa9xMdccMpPo2iahlnMBYW
         KYOcLtX8M0ng3eEKYO9WDB1g7BXZkIQoAFf6vdTAdA47LNeCRKZq0JofJYYzanPGkuVQ
         VoH6H5BuZ3yOqp912cTUZ7iQdZ1mtaxkaoHe7Uiekd/ZO4XZo5q+1qzMp7rkpH0m0+IU
         eMK/zpKgRZPmXbwCcHlLiAyjO9yYHDwlMKwOPEM1lQuhK59tXtUMLwq4Fkz5wxD/+Swg
         Ht0Q==
X-Gm-Message-State: AFq9FYIgkpdb8DH4Gt2bDFPL93ZD3pTu5R5/mzja2kN1q3ue4W1HYLYr
	VPC/VmJr/tYDeO8ZfWe8kVhct2UORWGjD1Zr5smm5j0P2U+a4u3+1vMxhZEukNNp4iZuxnIt3FQ
	q1Ze4HOefYpKO6pLHWKarXjLOrY5MmJ8=
X-Gm-Gg: AYBFou3r8G/rwanR5S34IIsvhvkPP5NYDalEVNMdxmofRcJrJozummiL1okWZO6UCKZ
	zgBPnY1Isv9uRJWXyhtWCe85ogA5P0s8Gb9qnMHxMaVPTBAcCQEfbi+8J3DqbBqrWhOfhYAN6Bh
	HC9Rtu1/f+UjNg3tLDe68Kl6ZPdsfTgROtKL8ID5OnRUXk/5Gx0Ar1cNA/nLeoDkA46I4hBvyX3
	DG0zGwivCCSCLiZGKZIYkTiM/CahSq2tPbVWNbBnpVsuG3dKBBAmh+4a4jgZWCIP1JD0AnPiTb5
	2MLuEuaz8vPynnBRUDsUGi24CkHmV2u2mcBbw1RX3nyWZrT7nhlfQLloh3vqTCbWhlADfmLH1Zr
	JKY91X3zTPpWZ9Kpp8DlGCGvh/EwCNawBXH7r6pKlXqnp6TEEPmA0nldw0foOlDbn1U+ww7HNhk
	+FBMflTH8ECo5opdE8xPWM
X-Received: by 2002:a5d:5e08:0:b0:48d:f53e:6000 with SMTP id
 ffacd0b85a97d-48e5d3187f0mr13862431f8f.56.1793288019566; Thu, 29 Oct 2026
 08:33:39 -0700 (PDT)
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: <179322372169.3327.17262999729300923799@kernel.org>
X-Gm-Features: AclHuK8p72sjoXc6gkma4PdxPHY4hqA8uhAe3oLx16EaTVoSgPtb5LVArBSD1Do
X-Cc: netdev@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, 
	edumazet@google.com, horms@kernel.org, kernel-team@meta.com, kuba@kernel.org, 
	pabeni@redhat.com