The branch stable/13 has been updated by kbowling:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=55eff489d9cdae5620bf60bb79d996a059404ed2

commit 55eff489d9cdae5620bf60bb79d996a059404ed2
Author:     Kevin Bowling <[email protected]>
AuthorDate: 2026-02-13 06:30:22 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2026-02-27 23:11:11 +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
    Differential Revision:  https://reviews.freebsd.org/D54555
    
    (cherry picked from commit 2bdec2ee73be7dbafce9982b0dc5c273918a5443)
---
 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 3244dc9fa348..92874e43fd3d 100644
--- a/sys/dev/e1000/if_em.c
+++ b/sys/dev/e1000/if_em.c
@@ -3206,8 +3206,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);

Reply via email to