diff options
| author | Kevin Bowling <kbowling@FreeBSD.org> | 2024-11-29 06:23:23 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2024-11-29 07:15:54 +0000 |
| commit | 4020351325c02cc27aa4992c199ff18a9542a52c (patch) | |
| tree | 3bddccd92339869c0b7f7c4f1d7e36b6393539d4 /sys | |
| parent | 9996c680d12a6245d808bc8def1d2411e736efd6 (diff) | |
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/e1000/if_em.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c index aed97d076a5e..449cb9e07f3a 100644 --- a/sys/dev/e1000/if_em.c +++ b/sys/dev/e1000/if_em.c @@ -1234,10 +1234,6 @@ em_if_attach_pre(if_ctx_t ctx) "transmit interrupt delay limit in usecs", &sc->tx_abs_int_delay, E1000_REGISTER(hw, E1000_TADV), em_tx_abs_int_delay_dflt); - em_add_int_delay_sysctl(sc, "itr", - "interrupt delay limit in usecs/4", &sc->tx_itr, - E1000_REGISTER(hw, E1000_ITR), - EM_INTS_TO_ITR(em_max_interrupt_rate)); } hw->mac.autoneg = DO_AUTO_NEG; @@ -5403,8 +5399,6 @@ em_sysctl_int_delay(SYSCTL_HANDLER_ARGS) return (EINVAL); info->value = usecs; ticks = EM_USECS_TO_TICKS(usecs); - if (info->offset == E1000_ITR) /* units are 256ns here */ - ticks *= 4; sc = info->sc; |
