From nobody Tue Jul 11 03:11:52 2023 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 4R0Qrn05b3z2tpTZ; Tue, 11 Jul 2023 03:11:53 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R0Qrm6nztz3hpd; Tue, 11 Jul 2023 03:11:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689045113; 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=kLFGTFU6FXPWsppDnUgqp69oVWF8Rby4s4EZQhAOI+g=; b=JG77Pn6REGjeUd23ZyB8icaVKSv6097pmQQ9qAlN9Xn6nLaPWWFIoSAk3MT5juFHzJ8dka b8HBgZh56UNRRZewOiHxPdzmcOVvC7PLX/HGa0xLVy24yomopq7YsTy80ibtoChIwLid4d 9nS/Svse3YwjYjYqVe8XrCql1EOx3LY3ah/sXpwHSeK/Eg0e5b6fBflgw+w8/m2KAK+sbH Qk1XBr/awILpOqLMEuYHcHGuUxgl9DADh2DpbB1nvBdOmZl+YpKMRlTt6M08pTh36HghLE cH9J4RtmNHas3zlXIOihkuizwOdpOFC/tab1xARpJYLIAm1K9n66EsCEprd+GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689045113; 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=kLFGTFU6FXPWsppDnUgqp69oVWF8Rby4s4EZQhAOI+g=; b=G/wNKljpudbCrhn5gOKO8hSeVAlbXNkBPd7uMExmKAXjySomcYFL5gG8xoZbe3jlZtWhmc A2OOD0ISXxIWekVGWoPNZYDvv6dVVz48k0zqMNv9N+sn7piM1DHKy/mxeIZFbfau+rhmat KR/0mPKbkLdyq6HUc8j5mDWqT4dVjrn7R5vOf5xVsJf2qKuS8g6IoFeH8Go83qJdaSc7Sk aWKe5vF+/NiGCl51aCczOKxxR6w2pr4dIT3m4RziPmcsKqSrR9yXZMeyFDXXw3U1W/lJ8q u/zb+zwbn2fbTBQeEasmnTAgAHudX43XlS2hfsTJ657Ohfh7xul3uxT0k8Lbwg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689045113; a=rsa-sha256; cv=none; b=xgOaZX78ty3is+sVi/Ip7fUCO6cHC21dp1G8TrsSQVKRgOx3GS7WA6IcUCWvabP1xVUK6R S1PXFd9SDraTkYCoInig83ss5NOhIVjBereHkFU5pldxOXz/BbkFjlXWf73LlMMI5g37dM k2M+mYBxz0STXnHq+b8R34RFBnj2sCBtp14fGWYeu5R1PxZQQK1Qhu8KNHii0V1mGeCie7 eo6nQuIqP4MHjjxW+sPxWCAbJVh1OIun4+qww+0kl1P/B1exdlYhLuIXIiSkQi4qmxELf6 O72T5DhXXDMrxsvxf7LgPINp+OpJTuxqmjCZXMSwnnzHlveqhwNGTQvKEwA2cw== 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 4R0Qrm5vLHz192S; Tue, 11 Jul 2023 03:11:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36B3BqSH031380; Tue, 11 Jul 2023 03:11:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36B3BqfH031379; Tue, 11 Jul 2023 03:11:52 GMT (envelope-from git) Date: Tue, 11 Jul 2023 03:11:52 GMT Message-Id: <202307110311.36B3BqfH031379@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Peter Grehan Subject: git: 43ed91e00bbb - main - igc: Increase default per-queue interrupt rate to 20000. 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: grehan X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 43ed91e00bbb1c7edadbe1c210d8e57d66a3badd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by grehan: URL: https://cgit.FreeBSD.org/src/commit/?id=43ed91e00bbb1c7edadbe1c210d8e57d66a3badd commit 43ed91e00bbb1c7edadbe1c210d8e57d66a3badd Author: Peter Grehan AuthorDate: 2023-07-07 08:23:42 +0000 Commit: Peter Grehan CommitDate: 2023-07-11 03:29:37 +0000 igc: Increase default per-queue interrupt rate to 20000. The default per-queue packet rate of 8000 will cause packet loss when forwarding at 2.5G with a single stream, as is common when using e.g. iperf3 to test a platform. Bump this to 20000 (the "low latency" value in the Linux driver) which avoids packet loss for this type of test. Future work will use adaptive interrupt rate in a similar fashion to the ixgbe driver. Sponsored by: Rubicon Communications, LLC ("Netgate") Reviewed by: erj, kp MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D40904 --- 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 60f796010232..1ede99eee4ae 100644 --- a/sys/dev/igc/if_igc.c +++ b/sys/dev/igc/if_igc.c @@ -271,7 +271,7 @@ SYSCTL_INT(_hw_igc, OID_AUTO, eee_setting, CTLFLAG_RDTUN, &igc_eee_setting, 0, /* ** Tuneable Interrupt rate */ -static int igc_max_interrupt_rate = 8000; +static int igc_max_interrupt_rate = 20000; SYSCTL_INT(_hw_igc, OID_AUTO, max_interrupt_rate, CTLFLAG_RDTUN, &igc_max_interrupt_rate, 0, "Maximum interrupts per second");