meta-starlingx: remove the upstream layer
[pti/rtp.git] / meta-starlingx / meta-stx-flock / stx-config / files / sriovph-bring-up.patch
diff --git a/meta-starlingx/meta-stx-flock/stx-config/files/sriovph-bring-up.patch b/meta-starlingx/meta-stx-flock/stx-config/files/sriovph-bring-up.patch
deleted file mode 100644 (file)
index 8e9e91e..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -ruN a/sysinv/sysinv/sysinv/sysinv/puppet/interface.py b/sysinv/sysinv/sysinv/sysinv/puppet/interface.py
---- a/sysinv/sysinv/sysinv/sysinv/puppet/interface.py  2020-05-19 09:09:32.685727476 +0000
-+++ b/sysinv/sysinv/sysinv/sysinv/puppet/interface.py  2020-05-19 09:10:34.225727195 +0000
-@@ -938,8 +938,10 @@
-             # others share the same pci-sriov sysfs enabling mechanism
-             sriovfs_path = ("/sys/class/net/%s/device/sriov_numvfs" %
-                             get_interface_port_name(context, iface))
--            options['pre_up'] = "echo 0 > %s; echo %s > %s" % (
--                sriovfs_path, iface['sriov_numvfs'], sriovfs_path)
-+            sriovpf_up_cmd = ("ifconfig %s up" %
-+                            get_interface_port_name(context, iface))
-+            options['pre_up'] = "echo 0 > %s; echo %s > %s; %s" % (
-+                sriovfs_path, iface['sriov_numvfs'], sriovfs_path, sriovpf_up_cmd)
-     elif interface_class == constants.INTERFACE_CLASS_PCI_PASSTHROUGH:
-         sriovfs_path = ("/sys/class/net/%s/device/sriov_numvfs" %
-                         get_interface_port_name(context, iface))