From nobody Sun Oct 20 05:08:38 2024 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XWRKy348Cz5Znch; Sun, 20 Oct 2024 05:08:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XWRKy1QQTz42CX; Sun, 20 Oct 2024 05:08:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729400918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5PvbXUornaMy/J8tdZ9BvWxH/gvymibyaaQgOrt0eak=; b=LqL3G+HAKcUqjZKKHMnBjLX70ewpeb9czC5mVG7303QbfQFrRzYWBVkjg2PPQ0K+DjEFRT G7YfDj6SBDVoSYCX4ZgArxqsM8Zw/hbXBhSgKiG1F6bFW9ePB10cPhC7/tMGWg9XPGxIA/ IMGqOCGKSAt8hfavILY/D3jRwl5BO6bW6cJlAv2Fc1hSIveAKYK7l/yysEA7bxqoe+iI/I 2amWdbwxGda+V4GQrHaDXmYYz/4ZC/P/fi0BlzBnSJm8IcDBZYigLHgZt67Y/YogyJkVQ5 8hZ7zeEJl+IBs9HGDUZldC2Hv8xEkRfGt9AyyPj3vIXDfrN1G90FunrFPXqLhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729400918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=5PvbXUornaMy/J8tdZ9BvWxH/gvymibyaaQgOrt0eak=; b=xIxynDZpG6NOTHkIiPjR6TBdqDr9upnRfcEm6/cCt7gFcgyuAg1PbmxKgYmULDLoe4AsbZ is8+ARvX0pXBqKtHkSh2c1w2/FQonXmqpOJvkOujn30PTjecXQQ0yreCHAiEWEOaa1ZU93 NUCsbu/vcMeeU+T0NhM/tj4dWNxDe1xMjqNHM9wTQotbgdEicxnspxqE5eAE0YT0bv8RxN dinJIjk6vow/y5DuMBXu1WEitcIeA/PAm39Q65PccFK5Z0wfKxwFCOVR9YkeVad3kAYDSF +hGcsuCEMl+GXzFawZ9OWrh9vpV50gFvoCaMMAtSJvsFfXBAiMltWahO4rNVbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729400918; a=rsa-sha256; cv=none; b=ovnai2CbEcAhGXl27MrkMDQ1KiIqbYdGkC2ojKYXTrNrjQ8ZsutoQIgOKepnKWaU3U5U3j jaN0BG8jmeudxy2a/JWYl6RAJmKhImYj+E0+RMVyMOBM/UMuSyLnBBIqYa7mmEforXLLUr XYJ0XBv4vRX1CI4QlcBAQ8cCaSTjrkiAmcqD0DcLtwbeanKtzQQy8RElZCptc+Qc3+dO2Y /PnN7utRgSVu97P07tg7YZKSgMepKunuh6AFPy8LhIhWWJx3r8606VMeECg0AVw+uEt4Cx /LhmcW9qWiETTXjAkPsWOCx6H8NI8ee0GRQ5yZ1cyVTOoSDNNGA5uHhuC5mzmw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XWRKy0fs5znyT; Sun, 20 Oct 2024 05:08:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49K58cm8064408; Sun, 20 Oct 2024 05:08:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49K58csv064405; Sun, 20 Oct 2024 05:08:38 GMT (envelope-from git) Date: Sun, 20 Oct 2024 05:08:38 GMT Message-Id: <202410200508.49K58csv064405@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: 6b58c7c3aafb - stable/13 - igc: Want AIM at 2.5G List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 6b58c7c3aafbde4176eea519f078e030ffd2596e Auto-Submitted: auto-generated The branch stable/13 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=6b58c7c3aafbde4176eea519f078e030ffd2596e commit 6b58c7c3aafbde4176eea519f078e030ffd2596e Author: Kevin Bowling AuthorDate: 2024-10-13 06:09:52 +0000 Commit: Kevin Bowling 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; }