X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvpp_config%2Fvpplib%2FVppGrubUtil.py;h=1723170649ec3b3757fe35337239101b06316ea4;hb=4a0559a804237f71b19d395b0fd25029cd03b248;hp=4aac427c22a0ad8ca67f1cc1777b72099982e32e;hpb=68b0ee3a38e3a86f0389d8cc695915df190c3dfb;p=vpp.git diff --git a/extras/vpp_config/vpplib/VppGrubUtil.py b/extras/vpp_config/vpplib/VppGrubUtil.py index 4aac427c22a..1723170649e 100644 --- a/extras/vpp_config/vpplib/VppGrubUtil.py +++ b/extras/vpp_config/vpplib/VppGrubUtil.py @@ -101,12 +101,13 @@ class VppGrubUtil(object): value = cmdline.split('{}='.format(grubcmdline))[1] value = value.rstrip('"').lstrip('"') - iommu = re.findall(r'iommu=\w+', value) - pstate = re.findall(r'intel_pstate=\w+', value) + # jadfix intel_pstate=disable sometimes cause networks to hang on reboot + # iommu = re.findall(r'iommu=\w+', value) + # pstate = re.findall(r'intel_pstate=\w+', value) # If there is already some iommu commands set, leave them, # if not use ours - if iommu == [] and pstate == []: - value = '{} intel_pstate=disable'.format(value) + # if iommu == [] and pstate == []: + # value = '{} intel_pstate=disable'.format(value) # Replace isolcpus with ours isolcpus = re.findall(r'isolcpus=[\w+\-,]+', value)