From nobody Mon Apr 17 06:19:04 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 4Q0H220hpLz45QCN; Mon, 17 Apr 2023 06:19:06 +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 4Q0H2106mtz3GHS; Mon, 17 Apr 2023 06:19:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681712345; 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=ZjIU5N1dAni5VIDMfqeqkGq6qMt7Hw5fhdNcNJf2Gcs=; b=SmVwECiQr3z4HDmUnjUEsCukmjIw5jBNvyC9IOszybdF++z8hbgvq0W3I/0/+TAkChl0hO 5gjEGscP9yfJNemyhro+qbGXCs3NT/u9u7fkSr4AiYVsu8yIhESBhb2sJaeYBgRiJG/3TX DJGxt8WSOc0BaIy3jHuWb7+za5mnk+46GaQjXQATPQQQ7fwM1dooZOedApy9GTcsyRZFQW 1JJAibZRcy5SxE3sga/QOP8e745geSseVeO0tikXzO6Gr6ck3SO1u8XEyyHjNOO1ECNgm7 7FyC82QFmAz6rqDkPEL/TQOUL7zKrg5o7u7jjVGO46TXsKyycCyTm/MzKejXwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681712345; 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=ZjIU5N1dAni5VIDMfqeqkGq6qMt7Hw5fhdNcNJf2Gcs=; b=TPYGZl9/FLwFB3XxBSD9tRqxHTGwXZ8VJMaql/1k6QDH0PpTQlru9T6NePLPyn/why/aZm rbJQBGx1AGqYflMJfKlJKUp+BZOKD4tIOmZ3bSfnRgHEbtW7hDBl0VfgjCpdHUP1pLLoQ/ wJSgyDPjJ+Yb2trIA73BOyJQ4QFXhm0C5xVDF46H0MGUfnVf+ZFYUPYoWXE5tcGCcafj+c GT2kar0BoRgNX8tFNGVRvD+h02kXZ0dv00H6SsirKayZGAhe/1D1b4nmsxqAnITdmluClu DrZGY8GHuNkq38pNu6Gpc8a0SmYBvJIq5AvDLEELBf7aAi3BtAIzieNV60nWPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681712345; a=rsa-sha256; cv=none; b=WPnFkHgQ8POeKnQ14HY8Kh1PW9lVBsoXAdEbz7AS7osx6rksN6d4Q1jFBc3UqxN2OvNj0H JP/AnVl9tFm/jVHLuEPTtNmFs8QiRrlzosUItOeeLXjrT4efXAWexFi/j0VK58vWeaSuo7 IlhPicJBZVOMkmz9cwNEuoHmG07itGvibiTqqFDigh4WbvYUBoOL7k1f8OI8zhPL8XepuU j7tSJ92mzAkY4W7p/N6jz+pHt6eNBE2GOO31iXJoN9Cwchq/fp2e0cgzOAFLq/hIZ/F5FO m8BNqLtRKQQBWLXc164Lb1o0ocVpk9krLeURYerrxzpE3niPX6mr3hX9NTeUfg== 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 4Q0H2046PmzJNt; Mon, 17 Apr 2023 06:19:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33H6J4Dw030742; Mon, 17 Apr 2023 06:19:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33H6J4WG030741; Mon, 17 Apr 2023 06:19:04 GMT (envelope-from git) Date: Mon, 17 Apr 2023 06:19:04 GMT Message-Id: <202304170619.33H6J4WG030741@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Zhenlei Huang Subject: git: f500ecbeae7e - stable/13 - bxe(4): Use CTLFLAG_RDTUN flag definition 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: zlei X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: f500ecbeae7ee62d1994155ff819cf8b59c5509e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=f500ecbeae7ee62d1994155ff819cf8b59c5509e commit f500ecbeae7ee62d1994155ff819cf8b59c5509e Author: Zhenlei Huang AuthorDate: 2023-04-12 04:20:38 +0000 Commit: Zhenlei Huang CommitDate: 2023-04-17 06:17:49 +0000 bxe(4): Use CTLFLAG_RDTUN flag definition sysctl variables rx_budget and max_aggregation_size are read-only loader tunable. Mark them with CTLFLAG_RD flag. No functional change intended. Reviewed by: hselasky, erj MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D39466 (cherry picked from commit 8bd9afe9e1821368f4bb0d39c8c6703bf5007fd1) --- sys/dev/bxe/bxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/bxe/bxe.c b/sys/dev/bxe/bxe.c index 3b5fb46ed599..31c8207d246b 100644 --- a/sys/dev/bxe/bxe.c +++ b/sys/dev/bxe/bxe.c @@ -285,12 +285,12 @@ SYSCTL_INT(_hw_bxe, OID_AUTO, hc_tx_ticks, CTLFLAG_RDTUN, /* Maximum number of Rx packets to process at a time */ static int bxe_rx_budget = 0xffffffff; -SYSCTL_INT(_hw_bxe, OID_AUTO, rx_budget, CTLFLAG_TUN, +SYSCTL_INT(_hw_bxe, OID_AUTO, rx_budget, CTLFLAG_RDTUN, &bxe_rx_budget, 0, "Rx processing budget"); /* Maximum LRO aggregation size */ static int bxe_max_aggregation_size = 0; -SYSCTL_INT(_hw_bxe, OID_AUTO, max_aggregation_size, CTLFLAG_TUN, +SYSCTL_INT(_hw_bxe, OID_AUTO, max_aggregation_size, CTLFLAG_RDTUN, &bxe_max_aggregation_size, 0, "max aggregation size"); /* PCI MRRS: -1 (Auto), 0 (128B), 1 (256B), 2 (512B), 3 (1KB) */