🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
8 messages
8 total messages Started by Alexander Duyck Fri, 13 Nov 2026 20:41
[net PATCH 0/6] fbnic: Follow-up fixes for the Tx idle check, HW stats and FW mailbox allocations
#16008
Author: Alexander Duyck
Date: Fri, 13 Nov 2026 20:41
53 lines
12899 bytes
Follow-up fixes for fbnic on top of the series that was just applied
to net, plus two fixes for FW mailbox allocations under memory pressure.

Patch 1 makes the Tx idle check wait for in-flight PTP timestamps. The
QM idle registers do not cover the TMI completion path, so they can
report idle while a timestamp completion is still outstanding.

Patches 2-4 fix the HW stats: patch 2 stops a failed register read, as
every read is during DPC recovery, from being folded into the totals;
patch 3 puts all of the stats under the stats lock, as the MAC stats
getters no longer run under RTNL; patch 4 captures the baselines before
the stats can be read, at probe and on resume, where they are now
rebased as MMIO access returns.

Patches 5 and 6 address heartbeat failures seen on production hosts
during host memory stalls: the heartbeat and ownership requests are
stamped after their message is allocated, and FW completions, which
carry the whole coredump, are allocated with kvzalloc and the dump size
is bounded.

Patches 1, 3 and 4 were found by code review, the PTP completion
behaviour confirmed against the RTL; patches 2 and 3 were confirmed by
hardware testing with forced AER/DPC recovery, and patches 5 and 6
address failures seen on production hosts. Tested on QEMU with the fbnic
device model, and on a Yosemite V4 host with forced AER/DPC recovery
while reading the stats.

---

Alexander Duyck (6):
      fbnic: Wait for in-flight PTP timestamps before treating Tx as idle
      fbnic: Do not accumulate HW stats from failed register reads
      fbnic: Cover all of the HW stats with the stats lock
      fbnic: Initialize and reset the HW stats before they can be read
      fbnic: Stamp heartbeat and ownership requests after allocating them
      fbnic: Allocate FW completions with kvzalloc


 drivers/net/ethernet/meta/fbnic/fbnic_csr.h   |  3 +-
 .../net/ethernet/meta/fbnic/fbnic_debugfs.c   |  3 -
 .../net/ethernet/meta/fbnic/fbnic_devlink.c   |  5 ++
 .../net/ethernet/meta/fbnic/fbnic_ethtool.c   |  8 ++
 drivers/net/ethernet/meta/fbnic/fbnic_fw.c    | 19 +++--
 drivers/net/ethernet/meta/fbnic/fbnic_fw.h    |  5 ++
 .../net/ethernet/meta/fbnic/fbnic_hw_stats.c  | 32 ++++----
 .../net/ethernet/meta/fbnic/fbnic_hw_stats.h  |  1 +
 drivers/net/ethernet/meta/fbnic/fbnic_mac.c   |  8 ++
 drivers/net/ethernet/meta/fbnic/fbnic_pci.c   | 16 ++--
 drivers/net/ethernet/meta/fbnic/fbnic_txrx.c  | 73 +++++++++++++++----
 11 files changed, 131 insertions(+), 42 deletions(-)

--
[net PATCH 1/6] fbnic: Wait for in-flight PTP timestamps before treating Tx as idle
#16091
Author: Alexander Duyck
Date: Fri, 13 Nov 2026 20:41
177 lines
18534 bytes
From: Alexander Duyck <alexanderduyck@fb.com>

The fbnic_wait_all_queues_idle function treats the Tx path as idle once
the QM idle registers report every queue idle. Those registers do not
cover the TMI completion path, so they can report idle while a PTP
timestamp request is still outstanding in the MAC or queued in the TMI
completion FIFO.

The check can then pass without a flush, and the completion arrives
after the rings have been flushed, where the fbnic_clean_tsq function
either reports "Tx timestamp without matching packet" or, if the
interface has come back up and a new timestamped frame is already
waiting, matches the stale completion to that frame and hands an
SO_TIMESTAMPING user the wrong Tx timestamp. After a forced flush it can
also turn FBNIC_TMI_DROP_CTRL_CMPL_DIS back off before the queued
completions have drained, as the completion FIFO is only drained while
that bit is set.

Split the Tx wait out into the fbnic_wait_tx_idle function and have its
idle check require the TCE PTP in-flight count to read zero in addition
to the QM idle registers. The count tracks each timestamp request from
when its frame enters the TCE until its completion leaves the TMI
completion FIFO, so the Tx path is only treated as idle once none are
outstanding, and a forced flush keeps the completion disable set until
they have drained. The Rx wait still checks only the QM idle registers.
The count is printed with the other Tx idle registers on failure.

Waiting on the in-flight count means the Tx idle check can now keep
reading the full set of QM idle registers for the whole timeout, and the
poll timeout only counts the delay between polls, not the time spent in
the register reads. Raise the delay between polls of the Tx and Rx waits
from 2us to 20us so the PCIe read latency stays a small part of each
interval and the 500ms timeout stays close to wall time.

Define the register inside the TCE CSR section and move
FBNIC_CSR_END_TCE to the last register of the TCE block (0x040B4,
TCE_SPARE2 in the CSR map), so that the ethtool register dump covers it.
The section previously ended at 0x04050, short of the TXB, PTP and TCAM
status registers. Per the CSR map, every register in the added range is
read-only or read/write, so reading them for the dump has no side
effects.

A device that has dropped off the bus, or whose CSR access the driver
has disabled after a failed read, reads all ones. The QM idle bits treat
that as idle, and so does the in-flight check: the count is bounded by
the timestamp requests the Tx path can hold and can never reach all
ones, so teardown of a lost device, or during DPC recovery, does not
wait out the idle timeouts.

The issue was found by code review and confirmed against the RTL.

Fixes: ad3d9f8bc66c ("eth: fbnic: add TX packets timestamping support")
Fixes: 7d4568edce74 ("fbnic: Disable PTP completions during the Tx force-flush")
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
---
 drivers/net/ethernet/meta/fbnic/fbnic_csr.h  |    3 +
 drivers/net/ethernet/meta/fbnic/fbnic_txrx.c |   73 +++++++++++++++++++++-----
 2 files changed, 62 insertions(+), 14 deletions(-)

diff --git a/drivers/net/ethernet/meta/fbnic/fbnic_csr.h b/drivers/net/ethernet/meta/fbnic/fbnic_csr.h
index c371ac9f78c1..dc234f4d24f6 100644
--- a/drivers/net/ethernet/meta/fbnic/fbnic_csr.h
+++ b/drivers/net/ethernet/meta/fbnic/fbnic_csr.h
@@ -422,7 +422,8 @@ enum {
 #define FBNIC_TCE_TXB_NTWRK_DWRR_CTRL_EXT \
 					0x0404E		/* 0x10138 */
 #define FBNIC_TCE_TXB_BMC_DWRR_CTRL_EXT	0x0404F		/* 0x1013c */
-#define FBNIC_CSR_END_TCE		0x04050	/* CSR section delimiter */
+#define FBNIC_TCE_PTP_INFLIGHT		0x040A7		/* 0x1029c */
+#define FBNIC_CSR_END_TCE		0x040B4	/* CSR section delimiter */
 
 /* TCE RAM registers */
 #define FBNIC_CSR_START_TCE_RAM		0x04200	/* CSR section delimiter */
diff --git a/drivers/net/ethernet/meta/fbnic/fbnic_txrx.c b/drivers/net/ethernet/meta/fbnic/fbnic_txrx.c
index 07d4b2e92362..c75c5683b724 100644
--- a/drivers/net/ethernet/meta/fbnic/fbnic_txrx.c
+++ b/drivers/net/ethernet/meta/fbnic/fbnic_txrx.c
@@ -2398,38 +2398,85 @@ static void fbnic_idle_dump(struct fbnic_dev *fbd,
 				   fbnic_rd32(fbd, regs[i].reg_base + j));
 }
 
-int fbnic_wait_all_queues_idle(struct fbnic_dev *fbd, bool may_fail)
+/* The poll timeout only accounts for the delay between polls, not for
+ * the time spent in the poll itself, and each poll is a series of
+ * non-posted PCIe register reads that take on the order of a
+ * microsecond each. Space the polls out so that the reads stay a small
+ * part of each interval and the timeout stays close to wall time.
+ */
+#define FBNIC_IDLE_POLL_US	20
+#define FBNIC_IDLE_TIMEOUT_US	500000
+
+static bool fbnic_tx_idle(struct fbnic_dev *fbd,
+			  const struct fbnic_idle_regs *regs,
+			  unsigned int nregs)
+{
+	u32 inflight;
+
+	if (!fbnic_all_idle(fbd, regs, nregs))
+		return false;
+
+	/* The QM idle bits do not cover the TMI completion path, so a
+	 * timestamp request can still be waiting on its completion. The
+	 * count is bounded by the timestamp requests the Tx path can hold,
+	 * so all ones is a failed read, as for the idle bits, not a count.
+	 */
+	inflight = fbnic_rd32(fbd, FBNIC_TCE_PTP_INFLIGHT);
+
+	return !inflight || !~inflight;
+}
+
+static int fbnic_wait_tx_idle(struct fbnic_dev *fbd)
 {
 	static const struct fbnic_idle_regs tx[] = {
 		{ FBNIC_QM_TWQ_IDLE(0),	FBNIC_QM_TWQ_IDLE_CNT, },
 		{ FBNIC_QM_TQS_IDLE(0),	FBNIC_QM_TQS_IDLE_CNT, },
 		{ FBNIC_QM_TDE_IDLE(0),	FBNIC_QM_TDE_IDLE_CNT, },
 		{ FBNIC_QM_TCQ_IDLE(0),	FBNIC_QM_TCQ_IDLE_CNT, },
-	}, rx[] = {
-		{ FBNIC_QM_HPQ_IDLE(0),	FBNIC_QM_HPQ_IDLE_CNT, },
-		{ FBNIC_QM_PPQ_IDLE(0),	FBNIC_QM_PPQ_IDLE_CNT, },
-		{ FBNIC_QM_RCQ_IDLE(0),	FBNIC_QM_RCQ_IDLE_CNT, },
 	};
 	bool idle;
 	int err;
 
-	err = read_poll_timeout_atomic(fbnic_all_idle, idle, idle, 2, 500000,
-				       false, fbd, tx, ARRAY_SIZE(tx));
+	err = read_poll_timeout_atomic(fbnic_tx_idle, idle, idle,
+				       FBNIC_IDLE_POLL_US,
+				       FBNIC_IDLE_TIMEOUT_US, false,
+				       fbd, tx, ARRAY_SIZE(tx));
 	if (err == -ETIMEDOUT) {
 		fbnic_tx_flush(fbd);
-		err = read_poll_timeout_atomic(fbnic_all_idle, idle, idle,
-					       2, 500000, false,
+		err = read_poll_timeout_atomic(fbnic_tx_idle, idle, idle,
+					       FBNIC_IDLE_POLL_US,
+					       FBNIC_IDLE_TIMEOUT_US, false,
 					       fbd, tx, ARRAY_SIZE(tx));
 		fbnic_tx_flush_off(fbd);
 	}
 	if (err) {
 		fbnic_idle_dump(fbd, tx, ARRAY_SIZE(tx), "Tx", err);
-		if (may_fail)
-			return err;
+		netdev_err(fbd->netdev, "0x%04x: %08x\n",
+			   FBNIC_TCE_PTP_INFLIGHT,
+			   fbnic_rd32(fbd, FBNIC_TCE_PTP_INFLIGHT));
 	}
 
-	err = read_poll_timeout_atomic(fbnic_all_idle, idle, idle, 2, 500000,
-				       false, fbd, rx, ARRAY_SIZE(rx));
+	return err;
+}
+
+int fbnic_wait_all_queues_idle(struct fbnic_dev *fbd, bool may_fail)
+{
+	static const struct fbnic_idle_regs rx[] = {
+		{ FBNIC_QM_HPQ_IDLE(0),	FBNIC_QM_HPQ_IDLE_CNT, },
+		{ FBNIC_QM_PPQ_IDLE(0),	FBNIC_QM_PPQ_IDLE_CNT, },
+		{ FBNIC_QM_RCQ_IDLE(0),	FBNIC_QM_RCQ_IDLE_CNT, },
+	};
+	bool idle;
+	int err;
+
+	err = fbnic_wait_tx_idle(fbd);
+	if (err && may_fail)
+		return err;
+
+	err = read_poll_timeout_atomic(fbnic_all_idle, idle, idle,
+				       FBNIC_IDLE_POLL_US,
+				       FBNIC_IDLE_TIMEOUT_US, false,
+				       fbd, rx, ARRAY_SIZE(rx));
 	if (err)
 		fbnic_idle_dump(fbd, rx, ARRAY_SIZE(rx), "Rx", err);
 	return err;
Re: [net PATCH 1/6] fbnic: Wait for in-flight PTP timestamps before treating Tx as idle
#18104
Author: netdev-bot+sashiko
Date: Tue, 17 Nov 2026 21:14
113 lines
12311 bytes
Thank you for your contribution! Sashiko AI review found 1 potential
issue(s) to consider.

Critical: 0 · High: 0 · Medium: 1 · Low: 0

If you believe none of the issues are legitimate, please reply to each
issue of Medium severity or higher and explain why the AI is wrong.
If any of them are legitimate and you plan to respin, please let patchwork
know by including "pw-bot: cr" as a separate line at the end of your reply
(one such reply per series is enough).

- [Medium] The new comment above FBNIC_IDLE_POLL_US, and the commit
  message, say a 20us delay keeps the PCIe reads 'a small part of each…

--

fbnic: Wait for in-flight PTP timestamps before treating Tx as idle

This patch moves the Tx idle wait into its own function,
fbnic_wait_tx_idle(). The Tx path now counts as idle only when the
QM idle registers report idle and FBNIC_TCE_PTP_INFLIGHT reads zero.
The patch also raises the poll delay from 2us to 20us and extends
FBNIC_CSR_END_TCE so the ethtool register dump covers the new register.

> diff --git a/drivers/net/ethernet/meta/fbnic/fbnic_txrx.c b/drivers/net/ethernet/meta/fbnic/fbnic_txrx.c
> index 07d4b2e923627..c75c5683b724e 100644
> --- a/drivers/net/ethernet/meta/fbnic/fbnic_txrx.c
> +++ b/drivers/net/ethernet/meta/fbnic/fbnic_txrx.c
> @@ -2398,38 +2398,85 @@ static void fbnic_idle_dump(struct fbnic_dev *fbd,
>  				   fbnic_rd32(fbd, regs[i].reg_base + j));
>  }
>  
> -int fbnic_wait_all_queues_idle(struct fbnic_dev *fbd, bool may_fail)
> +/* The poll timeout only accounts for the delay between polls, not for
> + * the time spent in the poll itself, and each poll is a series of
> + * non-posted PCIe register reads that take on the order of a
> + * microsecond each. Space the polls out so that the reads stay a small
> + * part of each interval and the timeout stays close to wall time.
> + */
> +#define FBNIC_IDLE_POLL_US	20
> +#define FBNIC_IDLE_TIMEOUT_US	500000
> +
> +static bool fbnic_tx_idle(struct fbnic_dev *fbd,
> +			  const struct fbnic_idle_regs *regs,
> +			  unsigned int nregs)
> +{
> +	u32 inflight;
> +
> +	if (!fbnic_all_idle(fbd, regs, nregs))
> +		return false;
> +
> +	/* The QM idle bits do not cover the TMI completion path, so a
> +	 * timestamp request can still be waiting on its completion. The
> +	 * count is bounded by the timestamp requests the Tx path can hold,
> +	 * so all ones is a failed read, as for the idle bits, not a count.
> +	 */
> +	inflight = fbnic_rd32(fbd, FBNIC_TCE_PTP_INFLIGHT);

[Severity: Medium]
Does a 20us delay really keep the reads "a small part of each interval"
in the case this patch adds, where the QM registers are idle but
FBNIC_TCE_PTP_INFLIGHT is still non-zero?

In that state, every poll in fbnic_tx_idle() reads all 28 Tx QM idle
registers (8 TWQ + 8 TQS + 8 TDE + 4 TCQ) as all ones before it reads
FBNIC_TCE_PTP_INFLIGHT.

For each all-ones read, fbnic_rd32() does a second non-posted read:

drivers/net/ethernet/meta/fbnic/fbnic_pci.c:fbnic_rd32() {
    ...
	if (reg != FBNIC_MASTER_SPARE_0 && ~readl(csr + FBNIC_MASTER_SPARE_0))
		return value;
    ...
}

That makes about 57 reads per poll. At the comment's own figure of
about 1us per read, that is roughly 57us of reads against the 20us
delay, so the reads are about three quarters of each interval.

poll_timeout_us_atomic() only charges the delay against the timeout:

	if (__delay_us) {
		udelay(__delay_us);
		if (__timeout_us)
			__left_ns -= __delay_ns;
	}

So the 500000us timeout allows about 25000 polls of about 77us each.
That is roughly 1.9s per Tx wait rather than 500ms.

fbnic_wait_tx_idle() can run two of these waits, one before and one
after fbnic_tx_flush(), so about 3.9s. The Rx wait reads 12 registers,
24 reads per poll, so it adds about another 1.1s.

All of this is udelay() busy-waiting while the RTNL/netdev lock is held
in fbnic_down(), fbnic_set_ringparam() and fbnic_set_channels().

Could the delay be sized for the real per-poll read count? Another
option is to bound the wait by elapsed time, for example by reading
FBNIC_TCE_PTP_INFLIGHT first or using a ktime-based deadline. If the
code stays as it is, could the comment and the part of the commit
message saying "the 500ms timeout stays close to wall time" be updated?

> +
> +	return !inflight || !~inflight;
> +}

[ ... ]

-- 
Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/179460241885.8819.7179935130629202331.stgit%40ahduyck-xeon-server.home.arpa
Re: [net PATCH 1/6] fbnic: Wait for in-flight PTP timestamps before treating Tx as idle
#18117
Author: Alexander Duyck
Date: Tue, 17 Nov 2026 21:31
132 lines
17327 bytes
On Tue, Nov 17, 2026 at 1:14 PM <netdev-bot+sashiko@kernel.org> wrote:
>
> Thank you for your contribution! Sashiko AI review found 1 potential
> issue(s) to consider.
>
> Critical: 0 · High: 0 · Medium: 1 · Low: 0
>
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
>
> - [Medium] The new comment above FBNIC_IDLE_POLL_US, and the commit
>   message, say a 20us delay keeps the PCIe reads 'a small part of each…
>
> --
>
> fbnic: Wait for in-flight PTP timestamps before treating Tx as idle
>
> This patch moves the Tx idle wait into its own function,
> fbnic_wait_tx_idle(). The Tx path now counts as idle only when the
> QM idle registers report idle and FBNIC_TCE_PTP_INFLIGHT reads zero.
> The patch also raises the poll delay from 2us to 20us and extends
> FBNIC_CSR_END_TCE so the ethtool register dump covers the new register.
>
> > diff --git a/drivers/net/ethernet/meta/fbnic/fbnic_txrx.c b/drivers/net/ethernet/meta/fbnic/fbnic_txrx.c
> > index 07d4b2e923627..c75c5683b724e 100644
> > --- a/drivers/net/ethernet/meta/fbnic/fbnic_txrx.c
> > +++ b/drivers/net/ethernet/meta/fbnic/fbnic_txrx.c
> > @@ -2398,38 +2398,85 @@ static void fbnic_idle_dump(struct fbnic_dev *fbd,
> >                                  fbnic_rd32(fbd, regs[i].reg_base + j));
> >  }
> >
> > -int fbnic_wait_all_queues_idle(struct fbnic_dev *fbd, bool may_fail)
> > +/* The poll timeout only accounts for the delay between polls, not for
> > + * the time spent in the poll itself, and each poll is a series of
> > + * non-posted PCIe register reads that take on the order of a
> > + * microsecond each. Space the polls out so that the reads stay a small
> > + * part of each interval and the timeout stays close to wall time.
> > + */
> > +#define FBNIC_IDLE_POLL_US   20
> > +#define FBNIC_IDLE_TIMEOUT_US        500000
> > +
> > +static bool fbnic_tx_idle(struct fbnic_dev *fbd,
> > +                       const struct fbnic_idle_regs *regs,
> > +                       unsigned int nregs)
> > +{
> > +     u32 inflight;
> > +
> > +     if (!fbnic_all_idle(fbd, regs, nregs))
> > +             return false;
> > +
> > +     /* The QM idle bits do not cover the TMI completion path, so a
> > +      * timestamp request can still be waiting on its completion. The
> > +      * count is bounded by the timestamp requests the Tx path can hold,
> > +      * so all ones is a failed read, as for the idle bits, not a count.
> > +      */
> > +     inflight = fbnic_rd32(fbd, FBNIC_TCE_PTP_INFLIGHT);
>
> [Severity: Medium]
> Does a 20us delay really keep the reads "a small part of each interval"
> in the case this patch adds, where the QM registers are idle but
> FBNIC_TCE_PTP_INFLIGHT is still non-zero?
>
> In that state, every poll in fbnic_tx_idle() reads all 28 Tx QM idle
> registers (8 TWQ + 8 TQS + 8 TDE + 4 TCQ) as all ones before it reads
> FBNIC_TCE_PTP_INFLIGHT.
>
> For each all-ones read, fbnic_rd32() does a second non-posted read:
>
> drivers/net/ethernet/meta/fbnic/fbnic_pci.c:fbnic_rd32() {
>     ...
>         if (reg != FBNIC_MASTER_SPARE_0 && ~readl(csr + FBNIC_MASTER_SPARE_0))
>                 return value;
>     ...
> }
>
> That makes about 57 reads per poll. At the comment's own figure of
> about 1us per read, that is roughly 57us of reads against the 20us
> delay, so the reads are about three quarters of each interval.
>
> poll_timeout_us_atomic() only charges the delay against the timeout:
>
>         if (__delay_us) {
>                 udelay(__delay_us);
>                 if (__timeout_us)
>                         __left_ns -= __delay_ns;
>         }
>
> So the 500000us timeout allows about 25000 polls of about 77us each.
> That is roughly 1.9s per Tx wait rather than 500ms.
>
> fbnic_wait_tx_idle() can run two of these waits, one before and one
> after fbnic_tx_flush(), so about 3.9s. The Rx wait reads 12 registers,
> 24 reads per poll, so it adds about another 1.1s.
>
> All of this is udelay() busy-waiting while the RTNL/netdev lock is held
> in fbnic_down(), fbnic_set_ringparam() and fbnic_set_channels().
>
> Could the delay be sized for the real per-poll read count? Another
> option is to bound the wait by elapsed time, for example by reading
> FBNIC_TCE_PTP_INFLIGHT first or using a ktime-based deadline. If the
> code stays as it is, could the comment and the part of the commit
> message saying "the 500ms timeout stays close to wall time" be updated?
>
> > +
> > +     return !inflight || !~inflight;
> > +}
>
> [ ... ]

This is assuming the worst case, but in the worst case we are talking
about the Terminus Tx or Rx path essentially being locked up to
trigger us being stuck in the wait that long.

The likelihood of this is incredibly low, and the change that was
already made reduced the worst case to under 10 seconds which I feel
is reasonable in the case of shutting down an interface that is
potentially in a stuck setup and requiring additional time to flush.
Re: [net PATCH 1/6] fbnic: Wait for in-flight PTP timestamps before treating Tx as idle
#19461
Author: Jakub Kicinski
Date: Thu, 19 Nov 2026 23:33
15 lines
8584 bytes
On Tue, 17 Nov 2026 13:31:33 -0800 Alexander Duyck wrote:
> This is assuming the worst case, but in the worst case we are talking
> about the Terminus Tx or Rx path essentially being locked up to
> trigger us being stuck in the wait that long.
> 
> The likelihood of this is incredibly low, and the change that was
> already made reduced the worst case to under 10 seconds which I feel
> is reasonable in the case of shutting down an interface that is
> potentially in a stuck setup and requiring additional time to flush.

Could be the "don't add defines for meaningless constants" in me trying
to break thru, but in cases like this I wonder if the AI would have
complained if the AI writing the code did not over-comment this stuff.
None of this matters :S
Re: [net PATCH 0/6] fbnic: Follow-up fixes for the Tx idle check, HW stats and FW mailbox allocations
#19465
Author: Jakub Kicinski
Date: Thu, 19 Nov 2026 23:49
12 lines
8280 bytes
On Fri, 13 Nov 2026 12:41:19 -0800 Alexander Duyck wrote:
>       fbnic: Wait for in-flight PTP timestamps before treating Tx as idle
>       fbnic: Do not accumulate HW stats from failed register reads
>       fbnic: Cover all of the HW stats with the stats lock
>       fbnic: Initialize and reset the HW stats before they can be read
>       fbnic: Stamp heartbeat and ownership requests after allocating them
>       fbnic: Allocate FW completions with kvzalloc

Don't think the last one would have been net material even before 
the LLMocalipse TBH. I split things up between the trees, hopefully
without breaking anything.
Re: [net PATCH 0/6] fbnic: Follow-up fixes for the Tx idle check, HW stats and FW mailbox allocations
#19467
Author: patchwork-bot+netdevbpf
Date: Thu, 19 Nov 2026 23:50
34 lines
9310 bytes
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 13 Nov 2026 12:41:19 -0800 you wrote:
> Follow-up fixes for fbnic on top of the series that was just applied
> to net, plus two fixes for FW mailbox allocations under memory pressure.
> 
> Patch 1 makes the Tx idle check wait for in-flight PTP timestamps. The
> QM idle registers do not cover the TMI completion path, so they can
> report idle while a timestamp completion is still outstanding.
> 
> [...]

Here is the summary with links:
  - [net,1/6] fbnic: Wait for in-flight PTP timestamps before treating Tx as idle
    https://git.kernel.org/netdev/net/c/6ada0c276966
  - [net,2/6] fbnic: Do not accumulate HW stats from failed register reads
    (no matching commit)
  - [net,3/6] fbnic: Cover all of the HW stats with the stats lock
    https://git.kernel.org/netdev/net/c/52a64e64230e
  - [net,4/6] fbnic: Initialize and reset the HW stats before they can be read
    https://git.kernel.org/netdev/net/c/4b5153b38962
  - [net,5/6] fbnic: Stamp heartbeat and ownership requests after allocating them
    (no matching commit)
  - [net,6/6] fbnic: Allocate FW completions with kvzalloc
    (no matching commit)

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Re: [net PATCH 0/6] fbnic: Follow-up fixes for the Tx idle check, HW stats and FW mailbox allocations
#19468
Author: patchwork-bot+netdevbpf
Date: Thu, 19 Nov 2026 23:50
34 lines
9351 bytes
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 13 Nov 2026 12:41:19 -0800 you wrote:
> Follow-up fixes for fbnic on top of the series that was just applied
> to net, plus two fixes for FW mailbox allocations under memory pressure.
> 
> Patch 1 makes the Tx idle check wait for in-flight PTP timestamps. The
> QM idle registers do not cover the TMI completion path, so they can
> report idle while a timestamp completion is still outstanding.
> 
> [...]

Here is the summary with links:
  - [net,1/6] fbnic: Wait for in-flight PTP timestamps before treating Tx as idle
    (no matching commit)
  - [net,2/6] fbnic: Do not accumulate HW stats from failed register reads
    https://git.kernel.org/netdev/net-next/c/2d3c52a43b9d
  - [net,3/6] fbnic: Cover all of the HW stats with the stats lock
    (no matching commit)
  - [net,4/6] fbnic: Initialize and reset the HW stats before they can be read
    (no matching commit)
  - [net,5/6] fbnic: Stamp heartbeat and ownership requests after allocating them
    https://git.kernel.org/netdev/net-next/c/73694a4a031b
  - [net,6/6] fbnic: Allocate FW completions with kvzalloc
    https://git.kernel.org/netdev/net-next/c/3abdc3aa3390

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads