From nobody Sun Jul 26 01:01:19 2026 X-Original-To: dev-commits-src-all@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 4h73MN1vPkz6mQ4B for ; Sun, 26 Jul 2026 01:01:20 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4h73MM541Vz3M0s for ; Sun, 26 Jul 2026 01:01:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785027679; 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=pj8MOfVM6BgOG9GCd9DQKrbLrEuTe2825VBzkgz4RfM=; b=qj0O0al4CpQWMmKSiWKtyY/H2Y63Gz9/t3MCqsmdO+1JCi21mjNBhh4jtxoz4y3Th8e8xf TlFcdbrwpPa1mSfmIlmOOmoEyGXxrmezBmui8U+CyflNuVNi45S6J5n4DIC6OJZJcWV8OG e1j3OFoiFuJoDAuc/68XfErHtO2Hyyzzrg7LPbplyemteyn43lKWQM9iH3fOr+qTzBe3gW umjCu+37PeXblaYIArc9l7a64n6Q0fuQxM9Z41ErRc8MjhTrQ34HFaaDwjx9QJavHP1GVv C4Iy+essnheYC+0rIhD8Yp8cLB5kcA30j+8bKIXkI2UMMN4UY+mS6IkFI6P5DQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1785027679; a=rsa-sha256; cv=none; b=qFQLHASj+utg4pZIHHOuJw7EqllxaW5UrXn+jY1BWkzyXkqI/vFxrgNi5UW4l9jzOXI5Wo pNzj+NfV0Eig0u/aYmUf07333HLR3cLsaKyKyKotUjGll9whA4SAAtps7m1TdozuXKhfAn Y+ZdiC2zHUL2Q0V7Q+pVYVLQfRlXNAouBJ7Yg+l4kQJwwtsUmDSY7Jf+OtNQhn3B+VZuMB +Myh7I1QvZ4A6JICZ879nJc2ggEqATm3f0cG8z0mdzwN079cBmW3FyrVJMfOelJGnDiH7Z mINQKJWWc6W3rC21SGbdMrbQL6jbYHhbDDKKA2S+tqZ4ckBLaMRqzKM5aulUnw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1785027679; 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=pj8MOfVM6BgOG9GCd9DQKrbLrEuTe2825VBzkgz4RfM=; b=tRUFpJ4al5hTwgaPIeyHN+G7B2Od9cV3CbudXgHFh4lw+DcicclXpCxxhcoAzTz+dlExaL D9myhdvtgaFNzh6adzgrgZxaarFnyzy5VDCZ23IWENIQJ/6QnPYov8fJEOPsa0R1EK+t4M KrCMsLW/ToeJP/EE8R2O3jXyKn7diEBc5W3TAMxp8QdXv5QR7X6d0ZRLYrPWzAF3rOCtoE uJhf3JLV9AebnOZb9VpbX0UxGcfzycnvPLjYCS2elTG4je4deCHoU7K6CH+3W1GRgxj4Re 6vXWWeNyGJW2nOsNDP6x4MmIXIJPBLI+nzJcOjhAf4l/CJ0uYjYFpupTQS2xrw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4h73MM48kWz10bC for ; Sun, 26 Jul 2026 01:01:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 309f8 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 26 Jul 2026 01:01:19 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: 297394e995e5 - main - igc(4): document adaptive interrupt moderation List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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/main X-Git-Reftype: branch X-Git-Commit: 297394e995e5ea1ea9bc85e609ca116255d51e97 Auto-Submitted: auto-generated Date: Sun, 26 Jul 2026 01:01:19 +0000 Message-Id: <6a655c5f.309f8.74232b8@gitrepo.freebsd.org> The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=297394e995e5ea1ea9bc85e609ca116255d51e97 commit 297394e995e5ea1ea9bc85e609ca116255d51e97 Author: Kevin Bowling AuthorDate: 2026-07-26 00:10:38 +0000 Commit: Kevin Bowling CommitDate: 2026-07-26 01:00:03 +0000 igc(4): document adaptive interrupt moderation Describe the disabled, adaptive, and low-latency settings and their interrupt-rate tradeoffs. MFC after: 1 week --- share/man/man4/igc.4 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/share/man/man4/igc.4 b/share/man/man4/igc.4 index 757c7dd4510d..3b92472e8355 100644 --- a/share/man/man4/igc.4 +++ b/share/man/man4/igc.4 @@ -125,6 +125,20 @@ Default 1 (disabled). .It Va hw.igc.max_interrupt_rate Maximum device interrupts per second. The default is 8000. +This is the rate used when adaptive interrupt moderation is disabled, and +the fallback when it has no usable measurement. +.It Va hw.igc.enable_aim +Adaptive interrupt moderation. +The interrupt rate is derived from the average size of the packets seen +since the previous interrupt, so that bulk traffic is coalesced while small +packet traffic keeps its latency. +A value of 0 disables it and pins the rate to +.Va hw.igc.max_interrupt_rate , +1 selects the normal range, and 2 selects the low-latency range. +The default value is 1. +Setting 2 raises the interrupt rate substantially on small packet workloads +and is rarely a win; prefer the default unless latency has been measured to +matter more than the additional interrupt load. .El .Sh DIAGNOSTICS .Bl -diag