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
This commit is contained in:
Kevin Bowling
2026-02-12 23:30:22 -07:00
parent 1a6bdd6266
commit 2bdec2ee73
+2 -2
View File
@@ -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);