From bba2e4b4de668db525cbfdfc35292e5a0b51671a Mon Sep 17 00:00:00 2001
From: Michael Biebl
+
+NMSriovEswitchMode
+
+
+nm_setting_sriov_get_eswitch_mode ()
+
+
+
+
+NMSriovEswitchInlineMode
+
+
+nm_setting_sriov_get_eswitch_inline_mode ()
+
+
+
+
+NMSriovEswitchEncapMode
+
+
+nm_setting_sriov_get_eswitch_encap_mode ()
+
+
+
gboolean
@@ -275,6 +299,18 @@
+#define
+NM_SETTING_SRIOV_ESWITCH_MODE
+
+
+#define
+NM_SETTING_SRIOV_ESWITCH_INLINE_MODE
+
+
+#define
+NM_SETTING_SRIOV_ESWITCH_ENCAP_MODE
+
+
#define
NM_SRIOV_VF_ATTRIBUTE_MAC
@@ -297,6 +333,18 @@
+enum
NMSriovVFVlanProtocol
+
+enum
+NMSriovEswitchMode
+
+
+enum
+NMSriovEswitchInlineMode
+
+
@@ -305,6 +353,9 @@
enum
+NMSriovEswitchEncapMode
+ GBoxed
╰── NMSriovVF
GEnum
+ ├── NMSriovEswitchEncapMode
+ ├── NMSriovEswitchInlineMode
+ ├── NMSriovEswitchMode
╰── NMSriovVFVlanProtocol
@@ -574,6 +625,86 @@ property.
NMSriovEswitchMode
+nm_setting_sriov_get_eswitch_mode (NMSettingSriov *setting);
+
+
+Since: 1.46
+NMSriovEswitchInlineMode
+nm_setting_sriov_get_eswitch_inline_mode
+ (NMSettingSriov *setting);
+
+
+Since: 1.46
+NMSriovEswitchEncapMode
+nm_setting_sriov_get_eswitch_encap_mode
+ (NMSettingSriov *setting);
+
+
+Since: 1.46
+gboolean nm_sriov_vf_add_vlan (NMSriovVF *vf, @@ -1162,19 +1293,37 @@ the value is of the correct type and well-formed.
NM_SETTING_SRIOV_TOTAL_VFS
-#define NM_SETTING_SRIOV_TOTAL_VFS "total-vfs" +#define NM_SETTING_SRIOV_TOTAL_VFS "total-vfs"
+NM_SETTING_SRIOV_AUTOPROBE_DRIVERS
-#define NM_SETTING_SRIOV_AUTOPROBE_DRIVERS "autoprobe-drivers" +#define NM_SETTING_SRIOV_AUTOPROBE_DRIVERS "autoprobe-drivers" ++
+ +
+++NM_SETTING_SRIOV_ESWITCH_INLINE_MODE
+#define NM_SETTING_SRIOV_ESWITCH_INLINE_MODE "eswitch-inline-mode" ++
++NM_SETTING_SRIOV_ESWITCH_ENCAP_MODE
+#define NM_SETTING_SRIOV_ESWITCH_ENCAP_MODE "eswitch-encap-mode"
@@ -1239,6 +1388,149 @@ the value is of the correct type and well-formed.
Since: 1.14
+| + |
+ don't modify current inline-mode + |
++ |
| + | + | + |
| + |
+ don't use inline mode + |
++ |
| + |
+ L2 mode + |
++ |
| + |
+ L3 mode + |
++ |
| + |
+ L4 mode + |
++ |
Since: 1.46
+