sriov

sriov — SR-IOV settings

Properties

Table 69. 

Key Name Value Type Default Value Value Description
autoprobe-drivers
NMTernary (int32)
Whether to autoprobe virtual functions by a compatible driver. If set to 1 (true), the kernel will try to bind VFs to a compatible driver and if this succeeds a new network interface will be instantiated for each VF. If set to 0 (false), VFs will not be claimed and no network interfaces will be created for them. When set to -1 (default), the global default is used; in case the global default is unspecified it is assumed to be 1 (true).
eswitch-encap-mode
int32
-1
Select the eswitch encapsulation support. Currently it's only supported for PCI PF devices, and only if the eswitch device is managed from the same PCI address than the PF. If set to -1 (preserve) (default) the eswitch encap-mode won't be modified by NetworkManager.
eswitch-inline-mode
int32
-1
Select the eswitch inline-mode of the device. Some HWs need the VF driver to put part of the packet headers on the TX descriptor so the e-switch can do proper matching and steering. Currently it's only supported for PCI PF devices, and only if the eswitch device is managed from the same PCI address than the PF. If set to -1 (preserve) (default) the eswitch inline-mode won't be modified by NetworkManager.
eswitch-mode
int32
-1
Select the eswitch mode of the device. Currently it's only supported for PCI PF devices, and only if the eswitch device is managed from the same PCI address than the PF. If set to -1 (preserve) (default) the eswitch mode won't be modified by NetworkManager.
total-vfs
uint32
0
The total number of virtual functions to create. Note that when the sriov setting is present NetworkManager enforces the number of virtual functions on the interface (also when it is zero) during activation and resets it upon deactivation. To prevent any changes to SR-IOV parameters don't add a sriov setting to the connection.
vfs
array of vardict
Array of virtual function descriptors. Each VF descriptor is a dictionary mapping attribute names to GVariant values. The 'index' entry is mandatory for each VF. When represented as string a VF is in the form: "INDEX [ATTR=VALUE[ ATTR=VALUE]...]". for example: "2 mac=00:11:22:33:44:55 spoof-check=true". Multiple VFs can be specified using a comma as separator. Currently, the following attributes are supported: mac, spoof-check, trust, min-tx-rate, max-tx-rate, vlans. The "vlans" attribute is represented as a semicolon-separated list of VLAN descriptors, where each descriptor has the form "ID[.PRIORITY[.PROTO]]". PROTO can be either 'q' for 802.1Q (the default) or 'ad' for 802.1ad.