конфигурация сети (Network configuration)
[SR-IOV] SECTION OPTIONS
The [SR-IOV] section accepts the following keys. Specify several
[SR-IOV] sections to configure several SR-IOVs. SR-IOV provides
the ability to partition a single physical PCI resource into
virtual PCI functions which can then be injected into a VM. In
the case of network VFs, SR-IOV improves north-south network
performance (that is, traffic with endpoints outside the host
machine) by allowing traffic to bypass the host machine's network
stack.
VirtualFunction=
Specifies a Virtual Function (VF), lightweight PCIe function
designed solely to move data in and out. Takes an unsigned
integer in the range 0...2147483646. This option is
compulsory.
VLANId=
Specifies VLAN ID of the virtual function. Takes an unsigned
integer in the range 1...4095.
QualityOfService=
Specifies quality of service of the virtual function. Takes
an unsigned integer in the range 1...4294967294.
VLANProtocol=
Specifies VLAN protocol of the virtual function. Takes
"802.1Q" or "802.1ad".
MACSpoofCheck=
Takes a boolean. Controls the MAC spoof checking. When unset,
the kernel's default will be used.
QueryReceiveSideScaling=
Takes a boolean. Toggle the ability of querying the receive
side scaling (RSS) configuration of the virtual function
(VF). The VF RSS information like RSS hash key may be
considered sensitive on some devices where this information
is shared between VF and the physical function (PF). When
unset, the kernel's default will be used.
Trust=
Takes a boolean. Allows to set trust mode of the virtual
function (VF). When set, VF users can set a specific feature
which may impact security and/or performance. When unset, the
kernel's default will be used.
LinkState=
Allows to set the link state of the virtual function (VF).
Takes a boolean or a special value "auto". Setting to "auto"
means a reflection of the physical function (PF) link state,
"yes" lets the VF to communicate with other VFs on this host
even if the PF link state is down, "no" causes the hardware
to drop any packets sent by the VF. When unset, the kernel's
default will be used.
MACAddress=
Specifies the MAC address for the virtual function.