Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Aug 2026 07:41:02 +0000
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 976f400a7e52 - stable/14 - igb: Stop writing the legacy TADV register
Message-ID:  <6a743a8e.377a0.43f3866f@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=976f400a7e5284e36a62c253647d519728b1241f

commit 976f400a7e5284e36a62c253647d519728b1241f
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2026-07-29 04:23:30 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-08-06 07:40:48 +0000

    igb: Stop writing the legacy TADV register
    
    TADV is an em-class interrupt delay register and is absent from the
    82575 and later register model. The igb attach path does not expose or
    initialize that control, but transmit initialization still wrote its
    zero valued storage into a reserved queue-window offset.
    
    Apply the same igb_mac_min boundary already used for TIDV and the
    absolute-delay sysctls.
    
    Sponsored by:   BBOX.io
    
    (cherry picked from commit c637d474045a41b1763c17a8b4b7763d4159504f)
---
 sys/dev/e1000/if_em.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c
index 1358139e2e20..98c2a5c640a7 100644
--- a/sys/dev/e1000/if_em.c
+++ b/sys/dev/e1000/if_em.c
@@ -3756,7 +3756,7 @@ em_initialize_transmit_unit(if_ctx_t ctx)
 			sc->txd_cmd |= E1000_TXD_CMD_IDE;
 	}
 
-	if (hw->mac.type >= e1000_82540)
+	if (hw->mac.type >= e1000_82540 && hw->mac.type < igb_mac_min)
 		E1000_WRITE_REG(hw, E1000_TADV, sc->tx_abs_int_delay.value);
 
 	if (hw->mac.type == e1000_82571 || hw->mac.type == e1000_82572) {


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a743a8e.377a0.43f3866f>