summaryrefslogtreecommitdiffstats
path: root/extras/vpp_config/vpplib/VppGrubUtil.py
diff options
context:
space:
mode:
authorJohn DeNisco <jdenisco@cisco.com>2017-11-01 12:37:47 -0400
committerChris Luke <chris_luke@comcast.com>2017-11-01 18:06:33 +0000
commitc6b2a206b6a27bd136adb856cf51828bf91d892d (patch)
tree51a38aa2b75cfd344e742311778c635b317a2434 /extras/vpp_config/vpplib/VppGrubUtil.py
parenta74b7419bd6c7c5b23f59253b0b0b6c0d683794d (diff)
A bit of cleanup, updated the README, started vhost test.
Change-Id: I49b998644b8b79c778c1186fc09831b1cd8fc015 Signed-off-by: John DeNisco <jdenisco@cisco.com>
Diffstat (limited to 'extras/vpp_config/vpplib/VppGrubUtil.py')
-rw-r--r--extras/vpp_config/vpplib/VppGrubUtil.py9
1 files changed, 5 insertions, 4 deletions
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)