aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2026-02-13 06:30:22 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2026-02-27 23:10:13 +0000
commit2244269424ae439f0234d238c2674a95c0b459a3 (patch)
tree980af3418640d5137a0300bb27f150f0ba45e5a2
parent31f3640c4aa859f2e3a78a51f3c43e0e6e7239f9 (diff)
e1000: Increase FC pause/refresh time on PCH2 and newerstable/14
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 Differential Revision: https://reviews.freebsd.org/D54555 (cherry picked from commit 2bdec2ee73be7dbafce9982b0dc5c273918a5443)
-rw-r--r--sys/dev/e1000/if_em.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c
index 318620c944a3..248d14f5974c 100644
--- a/sys/dev/e1000/if_em.c
+++ b/sys/dev/e1000/if_em.c
@@ -3218,8 +3218,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);