Disable transparent hugepage and make siorv vf num configurable
Change-Id: I5bfde10a3c44f7a8aff4d6507c71a4a113da5301
diff --git a/aether-playbook/roles/sriov-dpdk/tasks/main.yml b/aether-playbook/roles/sriov-dpdk/tasks/main.yml
index 593386e..38d686b 100644
--- a/aether-playbook/roles/sriov-dpdk/tasks/main.yml
+++ b/aether-playbook/roles/sriov-dpdk/tasks/main.yml
@@ -32,7 +32,7 @@
backrefs: yes
loop:
- { regex: 'intel_iommu=on', context: 'intel_iommu=on' }
- - { regex: 'hugepagesz=', context: 'hugepagesz=1G default_hugepagesz=1G hugepages=32' }
+ - { regex: 'hugepagesz=', context: 'transparent_hugepage=never hugepagesz=1G default_hugepagesz=1G hugepages=32' }
register: grub
notify: update grub
tags: sriov-dpdk