From nobody Mon Oct 14 05:40:58 2024 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 4XRmL31pdPz5ZCf3; Mon, 14 Oct 2024 05:40:59 +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 4XRmL26C6bz40qh; Mon, 14 Oct 2024 05:40:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728884458; 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=xmktO5BQCrKTlJsq34llTP2D+JSU2eB3GnwEKEQIKR8=; b=sNEpu8SpdPnkaEmL5OSX3OfbXqdewxChxRxWGp+K7ElKylq4yunPTa2MeCWxX9T3C5AS7p xfIqGbzK7z7MuMjroqjYtoyGz4msq8dy8mVxxsARsiUYh58VsWGturoPj3sVxi8xWV6oYx iCzYg9cMO9/XEUIXLiyElyb0gWjPDiL1JbeAC0mHPsaplLdPIdzhdwUGPMtXCrtHmdMT7g Oon1nUTkdZJiDYrE1j4Gs9XgFxatTWB8HgTDVo1KwpFxp0Ce1IqBdJko7vWBdrkRZmJth1 KrVfeneuxQMUs7OERUlfJTVQwkcushAgi56JA2x39USN9Ix1//JHYU0/7TwN8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728884458; 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=xmktO5BQCrKTlJsq34llTP2D+JSU2eB3GnwEKEQIKR8=; b=JZcPAdMPSyDZGnR16PI3TGsyKd3qa5XQGMuOCz8XHyiZKCLV4cNAD6pJkqNc/dCQSgi4UN LyLxCWK9fXcq++3UyA5xfyHcuRX5xFLvhFiJ2arV3CuxsONwesqe+cj1fvJo69qsZ4IQNv aVQwB4UA/az9JUETV1A5LTPWijdec4fudLur5E5FA9snmLD4WkJM88rjQ7eFRJVNrakcRf r+HoqeVgUouJ3P+IVXmNBjxu51gYmJMPKdz3fIrGjlzO3EGa/n6upwAgfFdD5wEqDbJ3no 4h1W+hssCUsdMt/4NLPJztCFvfx5+gv+OggI/B3CJilhUu+SmBgVGSwb7PXYkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728884458; a=rsa-sha256; cv=none; b=a9h17/xXk59tUEBjfuuPXJcsS0TNeg6Qw0rp/7G8eIu1Jxq0m7hKUf51Qr2t+eMremCEJa uUPnoDaPFPBMsBbJ3WRTHjSJ7QWOSWPb+JJHHd4EV+FiUcpQaOc+kRfW3/3Ova5rl/MmW4 Ty5rfny3EE3BIXcE0ESBkThWHbJmBP3MEuedM6hgpCkWm/n7u4N9veJWThaNQmPNQ8X0Wm yvzjJcK1rAcDquB+x+Xb6C1UTp0mQKVdBDF02FGxm6GA9cDXxrTVY4geoQGjhNR5YNG82Y GXyqbVgTsd9YyrhmBF+OF0w9pVAH46bMqS/KlNJ6ZY3Y2ZzlZ4xVUmm5aPN6Pw== 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 4XRmL230q3zQDP; Mon, 14 Oct 2024 05:40:58 +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 49E5ewlR089594; Mon, 14 Oct 2024 05:40:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49E5ewlq089591; Mon, 14 Oct 2024 05:40:58 GMT (envelope-from git) Date: Mon, 14 Oct 2024 05:40:58 GMT Message-Id: <202410140540.49E5ewlq089591@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 77af8c6db25f - main - ciss: Expose tunable hw.ciss.force_transport as sysctl 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 77af8c6db25ff6154268eb17f54f082a7eb61ea0 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=77af8c6db25ff6154268eb17f54f082a7eb61ea0 commit 77af8c6db25ff6154268eb17f54f082a7eb61ea0 Author: Peter Eriksson AuthorDate: 2024-10-14 04:01:33 +0000 Commit: Warner Losh CommitDate: 2024-10-14 05:23:54 +0000 ciss: Expose tunable hw.ciss.force_transport as sysctl Expose the hw.ciss.force_transport tuneable as a sysctl and make it writeable at runtime. PR: 246279 Reviewed by: imp Tested by: Marek Zarychta Differential Revision: https://reviews.freebsd.org/D25155 --- sys/dev/ciss/ciss.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 67d74ba65526..61f8611e62ec 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -283,6 +283,9 @@ SYSCTL_INT(_hw_ciss, OID_AUTO, nop_message_heartbeat, CTLFLAG_RWTUN, */ static int ciss_force_transport = 0; TUNABLE_INT("hw.ciss.force_transport", &ciss_force_transport); +SYSCTL_INT(_hw_ciss, OID_AUTO, force_transport, CTLFLAG_RDTUN, + &ciss_force_transport, 0, + "use default (0), force simple (1) or force performant (2) transport"); /* * This tunable can force a particular interrupt delivery method to be used: