aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2024-10-13 06:09:52 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2024-10-13 06:13:08 +0000
commit669d26e5764f612cc60a4a61cdcf22ae46ddd360 (patch)
tree594a90f12ee5d447ce20ff244706278869b48539
parenta0018c65a7590f10f9552b05a422d4888d0aedc4 (diff)
downloadsrc-669d26e5764f.tar.gz
src-669d26e5764f.zip
igc: Want AIM at 2.5G
This should have been commited with bc9402a, need to account for link_speed of 2500 as well on igc. MFC after: 6 days Sponsored by: Rubicon Communications, LLC ("Netgate") Sponsored by: BBOX.io
-rw-r--r--sys/dev/igc/if_igc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/igc/if_igc.c b/sys/dev/igc/if_igc.c
index c4f5e82ff8c8..d964fbe4cf91 100644
--- a/sys/dev/igc/if_igc.c
+++ b/sys/dev/igc/if_igc.c
@@ -866,7 +866,7 @@ igc_neweitr(struct igc_adapter *sc, struct igc_rx_queue *que,
nextlatency = rxr->rx_nextlatency;
/* Use half default (4K) ITR if sub-gig */
- if (sc->link_speed != 1000) {
+ if (sc->link_speed < 1000) {
neweitr = IGC_INTS_4K;
goto igc_set_next_eitr;
}