git: 2bdec2ee73be - main - e1000: Increase FC pause/refresh time on PCH2 and newer
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Feb 2026 06:34:50 UTC
The branch main has been updated by kbowling:
URL: https://cgit.FreeBSD.org/src/commit/?id=2bdec2ee73be7dbafce9982b0dc5c273918a5443
commit 2bdec2ee73be7dbafce9982b0dc5c273918a5443
Author: Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2026-02-13 06:30:22 +0000
Commit: Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-02-13 06:33:43 +0000
e1000: Increase FC pause/refresh time on PCH2 and newer
This corresponds to Linux f74dc880098b4a29f76d756b888fb31d81ad9a0c
That commit does not provide any public background detail, but it's been
in use for over 5 years and corresponds to previous chip bugs w.r.t.
automatic generation of PAUSE frames.
Reviewed by: kgalazka
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D54555
---
sys/dev/e1000/if_em.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c
index 4d7bc794a0b2..3118b27e8122 100644
--- a/sys/dev/e1000/if_em.c
+++ b/sys/dev/e1000/if_em.c
@@ -3225,8 +3225,8 @@ em_reset(if_ctx_t ctx)
case e1000_pch_ptp:
hw->fc.high_water = 0x5C20;
hw->fc.low_water = 0x5048;
- hw->fc.pause_time = 0x0650;
- hw->fc.refresh_time = 0x0400;
+ hw->fc.pause_time = 0xFFFF;
+ hw->fc.refresh_time = 0xFFFF;
/* Jumbos need adjusted PBA */
if (if_getmtu(ifp) > ETHERMTU)
E1000_WRITE_REG(hw, E1000_PBA, 12);