2 .\" Copyright (c) 2014 Sandvine Inc.
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .Nd "PCI SR-IOV configuration utility"
37 .Op Fl f Ar config-file
41 .Op Fl f Ar config-file | Fl d Ar device
45 .Op Fl f Ar config-file | Fl d Ar device
49 utility creates or destroys PCI Single-Root I/O Virtualization
57 creates VFs as children of the Physical Function
59 configured in the specified configuration file.
64 destroys all VFs that are children of the specified device.
65 Available PF devices can be seen in
68 The following options are available:
69 .Bl -tag -width indent
71 Enable SR-IOV on the specified PF device and create VF children.
72 This operation will fail if the PF already has VF children.
73 This option must be used in conjunction with the
77 Specify the PF device to use for the given operation.
79 may either be the name of a PF device, or a full path name to a node in
81 This option may not be used with the
85 Delete all VF children of the specified PF device.
86 This operation will fail if SR-IOV is not currently enabled on the specified
88 .It Fl f Ar config-file
89 Specify the pathname of the configuration file.
92 option, this file will be used to specify all configuration values.
97 options, this file will only be used to specify the name of the PF device.
101 for a description of the config file format and documentation of the
102 configuration parameters that apply to all PF drivers.
103 See the PF driver manual page for configuration parameters specific to
107 Perform all validation of the specified action and print what would be done,
108 but do not perform the actual creation or destruction of VFs.
109 This option may not be used with the
113 Read the configuration schema from the specified device and print its contents
115 This action may be used to discover the configuration parameters supported on
122 This manual page was written by
123 .An Ryan Stone Aq Mt rstone@FreeBSD.org .