xref: /freebsd/share/man/man4/vmd.4 (revision 5bb3134a8c21cb87b30e135ef168483f0333dabb)
1.\"-
2.\" SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3.\"
4.\" Copyright (c) 2021 Alexander Motin <mav@FreeBSD.org>
5.\" Copyright 2019 Cisco Systems, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright
11.\"    notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in the
14.\"    documentation and/or other materials provided with the distribution.
15.\"
16.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $FreeBSD$
29.\"
30.Dd August 31, 2021
31.Dt VMD 4
32.Os
33.Sh NAME
34.Nm vmd
35.Nd Intel Volume Management Device driver
36.Sh SYNOPSIS
37To compile this driver into the kernel, place the following lines in your
38kernel configuration file:
39.Bd -ragged -offset -indent
40.Cd "device vmd"
41.Ed
42.Pp
43Alternatively, to load the driver as a module at boot time, place the following
44line in
45.Xr loader.conf 5 :
46.Bd -literal -offset indent
47vmd_load="YES"
48.Ed
49.Sh DESCRIPTION
50This driver attaches to Intel VMD devices, representing them as PCI-to-PCI
51bridges and providing access to children PCI devices via new PCI domains.
52Intel VMD is used by Intel's VROC (Virtual RAID on chip) to manage NVMe
53drives.
54.Sh LOADER TUNABLES
55The following tunables are settable via
56.Xr loader 8
57or
58.Xr sysctl 8 :
59.Bl -tag -width indent
60.It Va hw.vmd.max_msi
61Limits number of Message Signaled Interrupt (MSI) vectors allowed to each
62child device.
63VMD can't distinguish MSI vectors of the same device, so there are no
64benefits to have more than one, unless it is required by specific device
65driver.
66Defaults to 1.
67.It Va hw.vmd.max_msix
68Limits number of Extended Message Signaled Interrupt (MSI-X) vectors
69allowed to each child device.
70VMD has limited number of interrupt vectors to map children interrupts into,
71so to avoid/reduce sharing children devices/drivers need to be constrained.
72Defaults to 3.
73.El
74.Sh SEE ALSO
75.Xr graid 8
76.Sh HISTORY
77The
78.Nm
79driver first appeared in
80.Fx 13.0 .
81