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/+/787914
Change-Id: I9cce900c6655b9dbbe571662783aeb658863b5d3
  • Loading branch information
mrkisaolamb committed Jun 15, 2021
1 parent a28c3e4 commit 94e31ab
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
OvsDisableEMC:
default: false
description: |
Expand Down Expand Up @@ -130,6 +137,7 @@ resources:
enable_tso: OvsDpdkEnableTSO
revalidator: OvsRevalidatorCores
handler: OvsHandlerCores
pmd_auto_lb: OvsPmdAutoLb
- values: {get_param: [RoleParameters]}
- values:
OvsDpdkCoreList: {get_param: OvsDpdkCoreList}
Expand All @@ -141,6 +149,7 @@ resources:
OvsDpdkEnableTSO: {get_param: OvsDpdkEnableTSO}
OvsRevalidatorCores: {get_param: OvsRevalidatorCores}
OvsHandlerCores: {get_param: OvsHandlerCores}
OvsPmdAutoLb: {get_param: OvsPmdAutoLb}

BootParams:
type: ./../kernel/kernel-boot-params-baremetal-ansible.yaml
Expand Down Expand Up @@ -169,6 +178,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_emc_insertion_probablity:
if:
- emc_disable
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 94e31ab

Please sign in to comment.