From nobody Wed Sep 16 12:05:03 2026 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 4hlHdC606Fz6t6cP for ; Wed, 16 Sep 2026 12:05:03 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hlHdC4Lrsz4Kch for ; Wed, 16 Sep 2026 12:05:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789560303; 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=5i85uo5IZLwmru3JEWe3GItwOyT/CQd5qmh/eatxHTI=; b=RMnS4lkyWJoapTRRlFHHZsxPPhimur9XDbfs2xyxVoayLJcMDvILpjXkFENncSnPpzWecM KnnwNn1p/E9A8Vz+kqYnaN4YwSJuzE1UfXgzEI8Qh9o6bLaTJSEPulc/Q5dXGufbVO5bpr mKqv8x3FFJcWkk1gvokkG/klYWdL5TvUbYKqSIsYnDw8renZ9GEfUAyOmQ9kmcS71ge6H1 T3es/D9Xbrb8rFWPjsVHOfyvh+S0P5G6jTIQ1eutDUAWFwQ0V9EH264/X9NvL2doeiWSEv PsafnB3b9sshsDgA7QUsBjFL+04Dxi7CSy/2qbijDoOAyubLzDsXHaB5jJ9I0g== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789560303; b=Ns4s7SuSqpw3Hx9ZznNImNj7IOND9iNikf016GySZwg937bIRpI9IORdgQGFJxh/yeC6yn bpiKjB1qmXYTRzWbxrJkIXhvu62yeVbGuYEJR0ZJ2UfmvI9eKyWFxQ083OUKFI9FqQmJ+H O38QZQNTgpi0dM55HbpLyeLuOXcfcH++g5F/OTG3WrsOKtApTKelfksdMYQ/BjV9+/Ze2b VBFRi9hEW9q4X9URHsHUBzfftGbpm3qgTfdeEBVRo2SxXDvDOxnDvi7hr67HCJ1+lyIJm2 0vI/btOZplFeDJXFJz+2TvCCxmMHtoYhsZRoCyz9tKWeL5b+CY2FTxFbmqCkGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789560303; 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=5i85uo5IZLwmru3JEWe3GItwOyT/CQd5qmh/eatxHTI=; b=u6AE8T6cl7Fdic3mdTOA5Dx3DVjXmubgKJ3SQg7gzlL2VHWX4oxwpqTEVkeJ0zn4a0iuxX v0HN4YFaEBT++2ex+roWwoTiZx1R5xEv1bi19ZPXeDwwT8IOgjuH8mHjC44E1VxDs+2Vwk ThP3500zddzSUo2J/IKAMeyOcqL/XFgb6BaR/T1I7X0R8tCcZHD8AJD1gk5T5uH8POdM9A YBiWLFIgDElbjFW/OljI1iqFJebhaNgT1xju2lHXUXYcwYPB1d5DUuhQnjxZCr8EurIbs3 ZiuoWClBlab36r5wEYt/Enz5k6BkbYatIwtEU2dFvlVREsLNM2+Ev0cN/4vkug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hlHdC3QVXzmc6 for ; Wed, 16 Sep 2026 12:05:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 20c9f by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Wed, 16 Sep 2026 12:05:03 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Ziaee Subject: git: 3679d1a57a9a - stable/15 - ntb.4: Canonicalize SYNOPSIS and LOADER TUNABLES 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 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: ziaee X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 3679d1a57a9ae49bb8ce3080d75d7d970bf30dda Auto-Submitted: auto-generated Date: Wed, 16 Sep 2026 12:05:03 +0000 Message-Id: <6aaa85ef.20c9f.74a1d6a0@gitrepo.freebsd.org> The branch stable/15 has been updated by ziaee: URL: https://cgit.FreeBSD.org/src/commit/?id=3679d1a57a9ae49bb8ce3080d75d7d970bf30dda commit 3679d1a57a9ae49bb8ce3080d75d7d970bf30dda Author: Alexander Ziaee AuthorDate: 2026-08-30 02:22:33 +0000 Commit: Alexander Ziaee CommitDate: 2026-09-16 12:03:44 +0000 ntb.4: Canonicalize SYNOPSIS and LOADER TUNABLES Also tag SPDX, and switch X to %d for clarity and consistency. MFC after: 3 days (cherry picked from commit 9cdadb31f30251552e112a6fba23acfc6de5cc8b) --- share/man/man4/ntb.4 | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/share/man/man4/ntb.4 b/share/man/man4/ntb.4 index fd796d6e48e2..8dd2a596d7e4 100644 --- a/share/man/man4/ntb.4 +++ b/share/man/man4/ntb.4 @@ -1,4 +1,6 @@ .\" +.\" SPDX-License-Identifier: BSD-2-Clause +.\" .\" Copyright (c) 2017 Alexander Motin .\" All rights reserved. .\" @@ -30,25 +32,30 @@ .Nm ntb .Nd Non-Transparent Bridge subsystem .Sh SYNOPSIS -To compile it into your kernel, -place the following lines in your kernel configuration file: -.Bd -ragged -offset indent -.Cd "device ntb" -.Ed +.Cd device ntb .Pp -Or, to load it as a module at boot, place the following line in +In .Xr loader.conf 5 : -.Bd -literal -offset indent -ntb_load="YES" -.Ed -.Pp +.Cd hw.ntb.debug_level +.Cd hint.ntb_hw.%d.config +.Cd ntb_load="YES" +.Sh DESCRIPTION +Non-Transparent Bridges connect two computer systems with PCIe +link(s), providing each of them limited access to others memory space, +scratchpad registers and interrupts. +The +.Nm +subsystem uses those resources provided in generic way by hardware drivers +and splits them between several functions, according to specified +configuration. +.Sh LOADER TUNABLES The following tunables are settable from the .Xr loader 8 : -.Bl -ohang +.Bl -tag -width indent .It Va hw.ntb.debug_level Driver debug level. The default value is 0, higher means more verbose. -.It Va hint.ntb_hw. Ns Ar X Ns Va .config +.It Va hint.ntb_hw. Ns Ar %d Ns Va .config Configures a set of NTB functions, separated by commas, and their resource allocation. Each function can be configured as: "[][:[:[:]]]", where: @@ -63,15 +70,6 @@ is a number of doorbells to allocate (empty means all available). The default configuration is empty string, which means single function with all available resources, allowing any driver to attach. .El -.Sh DESCRIPTION -Non-Transparent Bridges connect two computer systems with PCIe -link(s), providing each of them limited access to others memory space, -scratchpad registers and interrupts. -The -.Nm -subsystem uses those resources provided in generic way by hardware drivers -and splits them between several functions, according to specified -configuration. .Sh SEE ALSO .Xr if_ntb 4 , .Xr ntb_hw_amd 4 ,