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.

Sponsored by:	Rubicon Communications, LLC ("Netgate")
Sponsored by:	BBOX.io

(cherry picked from commit 669d26e576)
This commit is contained in:
Kevin Bowling 2024-10-12 23:09:52 -07:00
parent 5882faed60
commit 2a16654933

View file

@ -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;
}