diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2026-07-29 04:23:30 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-08-06 07:38:27 +0000 |
| commit | fbdb8728d327b8f9f3239ce2733bfd31ce13514c (patch) | |
| tree | c7a870fd07de4b7b8c27cb4622da38579c02a3e6 | |
| parent | 908706b949b10844e636013a2d10ccea46c290df (diff) | |
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)
| -rw-r--r-- | sys/dev/e1000/if_em.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index 37a118a45848..c5e4676f64c7 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -3763,7 +3763,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) { |
