Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Enable DPDK OVS PMD Auto Load Balance
Browse files Browse the repository at this point in the history
Add new tht param to configure
OVS PMD Auto Load Balance

Depends-On: https://review.opendev.org/c/openstack/tripleo-ansible/+/798794
Change-Id: I9cce900c6655b9dbbe571662783aeb658863b5d3
(cherry picked from commit 94e31ab)
  • Loading branch information
mrkisaolamb authored and yogananth-subramanian committed Jun 30, 2021
1 parent c3cda81 commit ba7d5b6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions deployment/openvswitch/openvswitch-dpdk-baremetal-ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,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
Expand Down Expand Up @@ -167,6 +174,7 @@ resources:
enable_tso: OvsDpdkEnableTSO
revalidator: OvsRevalidatorCores
handler: OvsHandlerCores
pmd_auto_lb: OvsPmdAutoLb
pmd_load_threshold: OvsPmdLoadThreshold
pmd_improvement_threshold: OvsPmdImprovementThreshold
pmd_rebal_interval: OvsPmdRebalInterval
Expand All @@ -181,6 +189,7 @@ resources:
OvsDpdkEnableTSO: {get_param: OvsDpdkEnableTSO}
OvsRevalidatorCores: {get_param: OvsRevalidatorCores}
OvsHandlerCores: {get_param: OvsHandlerCores}
OvsPmdAutoLb: {get_param: OvsPmdAutoLb}
OvsPmdLoadThreshold: {get_param: OvsPmdLoadThreshold}
OvsPmdImprovementThreshold: {get_param: OvsPmdImprovementThreshold}
OvsPmdRebalInterval: {get_param: OvsPmdRebalInterval}
Expand Down Expand Up @@ -212,6 +221,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]}
Expand Down
5 changes: 5 additions & 0 deletions releasenotes/notes/ovs_dpdk_pmd-74f4cfa0ef280cc0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
features:
- |
Introduce new parameter to configure OVS PMD Auto Load Balance for
OVS DPDK

0 comments on commit ba7d5b6

Please sign in to comment.