git: 372803cc4f04 - stable/15 - if_bnxt: Fix interrupt storm on Thor2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Oct 2026 07:43:32 UTC
The branch stable/15 has been updated by ssaxena:
URL: https://cgit.FreeBSD.org/src/commit/?id=372803cc4f04ee159a3784f3eff4e47efbedb8f1
commit 372803cc4f04ee159a3784f3eff4e47efbedb8f1
Author: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
AuthorDate: 2026-07-29 11:28:35 +0000
Commit: Sumit Saxena <ssaxena@FreeBSD.org>
CommitDate: 2026-10-23 07:39:52 +0000
if_bnxt: Fix interrupt storm on Thor2
An interrupt storm was observed on Thor2 because the Rx CQ consumer
index was always one less than it should be. Correct the Rx CQ
consumer index to fix the storm.
Reported by: gallatin
Reviewed by: gallatin
MFC after: 2 weeks
Sponsored by: Broadcom Inc.
Differential Revision: https://reviews.freebsd.org/D58602
(cherry picked from commit 8c69a5dc60b3630a4c5bca0bda714f791324afad)
---
sys/dev/bnxt/bnxt_en/if_bnxt.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sys/dev/bnxt/bnxt_en/if_bnxt.c b/sys/dev/bnxt/bnxt_en/if_bnxt.c
index 432dceb6bfb2..aa1d525f00dd 100644
--- a/sys/dev/bnxt/bnxt_en/if_bnxt.c
+++ b/sys/dev/bnxt/bnxt_en/if_bnxt.c
@@ -1700,8 +1700,7 @@ bnxt_thor2_db_rx_cq(void *db_ptr, bool enable_irq)
uint32_t cons = cpr->raw_cons;
uint32_t toggle = 0;
- if (cons == UINT32_MAX)
- cons = 0;
+ cons++;
if (enable_irq == true)
toggle = cpr->toggle;