git: 5a20fcaa3bbe - stable/15 - vmx.4: Canonicalize device number

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Wed, 16 Sep 2026 12:05:13 UTC
The branch stable/15 has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=5a20fcaa3bbec18622410637d8f44ee65ab5ac42

commit 5a20fcaa3bbec18622410637d8f44ee65ab5ac42
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-09-13 12:29:33 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-09-16 12:03:52 +0000

    vmx.4: Canonicalize device number
    
    Event:          EuroBSDcon 2026
    MFC after:      3 days
    
    (cherry picked from commit 1bf7d54e416cad3c89eed0e781a85d15e6864920)
---
 share/man/man4/vmx.4 | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/share/man/man4/vmx.4 b/share/man/man4/vmx.4
index 0c10fbebc1b8..be564c6f0db5 100644
--- a/share/man/man4/vmx.4
+++ b/share/man/man4/vmx.4
@@ -17,7 +17,7 @@
 .\"
 .\" $OpenBSD: src/share/man/man4/vmx.4,v 1.1 2013/05/31 20:18:44 reyk Exp $
 .\"
-.Dd August 29, 2026
+.Dd September 13, 2026
 .Dt VMX 4
 .Os
 .Sh NAME
@@ -30,13 +30,13 @@
 In
 .Xr loader.conf 5 :
 .Cd hw.vmx.txnqueue
-.Cd hw.vmx. Ns Ar X Ns Va .txnqueue
+.Cd hw.vmx.%d.txnqueue
 .Cd hw.vmx.rxnqueue
-.Cd hw.vmx. Ns Ar X Ns Va .rxnqueue
+.Cd hw.vmx.%d.rxnqueue
 .Cd hw.vmx.txndesc
-.Cd hw.vmx. Ns Ar X Ns Va .txndesc
+.Cd hw.vmx.%d.txndesc
 .Cd hw.vmx.rxndesc
-.Cd hw.vmx. Ns Ar X Ns Va .rxndesc
+.Cd hw.vmx.%d.rxndesc
 .Cd if_vmx_load="YES"
 .Sh DESCRIPTION
 The
@@ -102,23 +102,23 @@ prompt before booting the kernel or stored in
 .Xr loader.conf 5 .
 .Bl -tag -width indent
 .It Va hw.vmx.txnqueue
-.It Va hw.vmx. Ns Ar X Ns Va .txnqueue
+.It Va hw.vmx. Ns Ar %d Ns Va .txnqueue
 Maximum number of transmit queues allocated by default by the driver.
 The default value is 8.
 The maximum supported by the VMXNET3 virtual NIC is 8.
 .It Va hw.vmx.rxnqueue
-.It Va hw.vmx. Ns Ar X Ns Va .rxnqueue
+.It Va hw.vmx. Ns Ar %d Ns Va .rxnqueue
 Maximum number of receive queues allocated by default by the driver.
 The default value is 8.
 The maximum supported by the VMXNET3 virtual NIC is 16.
 .It Va hw.vmx.txndesc
-.It Va hw.vmx. Ns Ar X Ns Va .txndesc
+.It Va hw.vmx. Ns Ar %d Ns Va .txndesc
 .Pp
 Number of transmit descriptors allocated by the driver.
 The default value is 512.
 The value must be a multiple of 32, and the maximum is 4096.
 .It Va hw.vmx.rxndesc
-.It Va hw.vmx. Ns Ar X Ns Va .rxndesc
+.It Va hw.vmx. Ns Ar %d Ns Va .rxndesc
 .Pp
 Number of receive descriptors per ring allocated by the driver.
 The default value is 256.