|
NAMEiovctl.conf —
IOVCTL configuration file
DESCRIPTIONTheiovctl.conf file is the configuration file for the
iovctl(8)
program. This file specifies configuration parameters for a single Physical
Function (PF) device. To configure SR-IOV on multiple PF devices, use one
configuration file for each PF. The locations of all
iovctl(8)
configuration files are specified in
rc.conf(5).
The There are three types of sections in the
The first section type is the PF section. This section always has the key "PF"; therefore, only one such section may be defined. This section defines configuration parameters that apply to the PF as a whole. The second section type is the VF section. This section has the key "VF-" followed by a VF index. VF indices start at 0 and always increment by 1. Valid VF indices are in the range of 0 to (num_vfs - 1). The VF index must be given as a decimal integer with no leading zeros. This section defines configuration parameters that apply to a single VF. The third section type is the default section. This section always has the key "DEFAULT"; therefore, only one such section may be specified. This section defines default configuration parameters that apply to all VFs. All configuration keys that are valid to be applied to a VF are valid in this section. An individual VF section may override a default specified in this section by providing a different value for the configuration parameter. Note that the default section applies to ALL VFs. The default section must appear before any VF sections. The default section may appear before or after the PF section. The following option types are supported:
OPTIONSThe following parameters are accepted by all PF drivers:
The following parameters are accepted by all VFs:
See the PF driver manual page for configuration parameters specific to particular hardware. EXAMPLESThis sample file will create 3 VFs as children of the ix0 device. VF-1 and VF-2 are set as bhyve(8) passthrough devices through the use of the default section. VF-0 is not configured as a passthrough device as it explicitly overrides the default. VF-0 also sets a device-specific parameter named mac-addr.PF { device : "ix0"; num_vfs : 3; } DEFAULT { passthrough : true; } VF-0 { mac-addr : "02:56:48:7e:d9:f7"; passthrough : false; } SEE ALSOrc.conf(5), iovctl(8)AUTHORSThis manual page was written by Ryan Stone <rstone@FreeBSD.org>.
Visit the GSP FreeBSD Man Page Interface. |