git: 6b58c7c3aafb - stable/13 - igc: Want AIM at 2.5G

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Sun, 20 Oct 2024 05:08:38 UTC
The branch stable/13 has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=6b58c7c3aafbde4176eea519f078e030ffd2596e

commit 6b58c7c3aafbde4176eea519f078e030ffd2596e
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2024-10-13 06:09:52 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-10-20 05:08:18 +0000

    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 669d26e5764f612cc60a4a61cdcf22ae46ddd360)
---
 sys/dev/igc/if_igc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/igc/if_igc.c b/sys/dev/igc/if_igc.c
index b55c1ddd26b0..7d95c2909b7a 100644
--- a/sys/dev/igc/if_igc.c
+++ b/sys/dev/igc/if_igc.c
@@ -867,7 +867,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;
 		}