X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-flock%2Fstx-config%2Ffiles%2Fsriovph-bring-up.patch;fp=meta-starlingx%2Fmeta-stx-flock%2Fstx-config%2Ffiles%2Fsriovph-bring-up.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=8e9e91ebf64d9a17bb9629d0f3920c6b9a53c299;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git 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 index 8e9e91e..0000000 --- a/meta-starlingx/meta-stx-flock/stx-config/files/sriovph-bring-up.patch +++ /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))