summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-sriov.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-core/nm-setting-sriov.c')
-rw-r--r--libnm-core/nm-setting-sriov.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/libnm-core/nm-setting-sriov.c b/libnm-core/nm-setting-sriov.c
index 45608f9dc8..29161c8cd9 100644
--- a/libnm-core/nm-setting-sriov.c
+++ b/libnm-core/nm-setting-sriov.c
@@ -1250,6 +1250,13 @@ nm_setting_sriov_class_init (NMSettingSriovClass *setting_class)
*
* Since: 1.14
**/
+ /* ---ifcfg-rh---
+ * property: total-vfs
+ * variable: SRIOV_TOTAL_VFS(+)
+ * description: The total number of virtual functions to create
+ * example: SRIOV_TOTAL_VFS=16
+ * ---end---
+ */
g_object_class_install_property
(object_class, PROP_TOTAL_VFS,
g_param_spec_uint (NM_SETTING_SRIOV_TOTAL_VFS, "", "",
@@ -1286,6 +1293,13 @@ nm_setting_sriov_class_init (NMSettingSriovClass *setting_class)
*
* Since: 1.14
**/
+ /* ---ifcfg-rh---
+ * property: vfs
+ * variable: SRIOV_VF1(+), SRIOV_VF2(+), ...
+ * description: SR-IOV virtual function descriptors
+ * example: SRIOV_VF10="mac=00:11:22:33:44:55", ...
+ * ---end---
+ */
g_object_class_install_property
(object_class, PROP_VFS,
g_param_spec_boxed (NM_SETTING_SRIOV_VFS, "", "",
@@ -1319,6 +1333,14 @@ nm_setting_sriov_class_init (NMSettingSriovClass *setting_class)
*
* Since: 1.14
**/
+ /* ---ifcfg-rh---
+ * property: autoprobe-drivers
+ * variable: SRIOV_AUTOPROBE_DRIVERS(+)
+ * default: missing variable means global default
+ * description: Whether to autoprobe virtual functions by a compatible driver
+ * example: SRIOV_AUTOPROBE_DRIVERS=0,1
+ * ---end---
+ */
g_object_class_install_property
(object_class, PROP_AUTOPROBE_DRIVERS,
g_param_spec_enum (NM_SETTING_SRIOV_AUTOPROBE_DRIVERS, "", "",