Enable DPDK OVS PMD Auto Load Balance

Add new tht param to configure
OVS PMD Auto Load Balance

Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/798799
Change-Id: I9cce900c6655b9dbbe571662783aeb658863b5d3
(cherry picked from commit 94e31ab75b)
This commit is contained in:
Kamil Sambor 2021-04-26 10:08:50 +02:00 committed by yogananth Subramanian
parent 68d0e16743
commit b43962a0d0
2 changed files with 15 additions and 0 deletions

View File

@ -97,6 +97,13 @@ parameters:
default: ""
tags:
- role_specific
OvsPmdAutoLb:
default: false
description: |
Configure DPDK OVS PMD Auto Load Balance.
type: boolean
tags:
- role_specific
OvsPmdLoadThreshold:
description: >
Minimum PMD thread load threshold. Its a string with a number
@ -161,6 +168,7 @@ resources:
disable_emc: OvsDisableEMC
revalidator: OvsRevalidatorCores
handler: OvsHandlerCores
pmd_auto_lb: OvsPmdAutoLb
pmd_load_threshold: OvsPmdLoadThreshold
pmd_improvement_threshold: OvsPmdImprovementThreshold
pmd_rebal_interval: OvsPmdRebalInterval
@ -174,6 +182,7 @@ resources:
OvsDisableEMC: {get_param: OvsDisableEMC}
OvsRevalidatorCores: {get_param: OvsRevalidatorCores}
OvsHandlerCores: {get_param: OvsHandlerCores}
OvsPmdAutoLb: {get_param: OvsPmdAutoLb}
OvsPmdLoadThreshold: {get_param: OvsPmdLoadThreshold}
OvsPmdImprovementThreshold: {get_param: OvsPmdImprovementThreshold}
OvsPmdRebalInterval: {get_param: OvsPmdRebalInterval}
@ -206,6 +215,7 @@ outputs:
tripleo_ovs_dpdk_socket_memory: {get_attr: [RoleParametersDpdk, value, socket_mem]}
tripleo_ovs_dpdk_revalidator_cores: {get_attr: [RoleParametersDpdk, value, revalidator]}
tripleo_ovs_dpdk_handler_cores: {get_attr: [RoleParametersDpdk, value, handler]}
tripleo_ovs_dpdk_pmd_auto_lb: {get_attr: [RoleParametersDpdk, value, pmd_auto_lb]}
tripleo_ovs_dpdk_pmd_load_threshold: {get_attr: [RoleParametersDpdk, value, pmd_load_threshold]}
tripleo_ovs_dpdk_pmd_improvement_threshold: {get_attr: [RoleParametersDpdk, value, pmd_improvement_threshold]}
tripleo_ovs_dpdk_pmd_rebal_interval: {get_attr: [RoleParametersDpdk, value, pmd_rebal_interval]}

View File

@ -0,0 +1,5 @@
---
features:
- |
Introduce new parameter to configure OVS PMD Auto Load Balance for
OVS DPDK