From 9df8a1ce02d117e6564fec58cc0c53737fa24e5e Mon Sep 17 00:00:00 2001 From: Kamil Sambor Date: Mon, 26 Apr 2021 10:08:50 +0200 Subject: [PATCH] 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/+/798798 Change-Id: I9cce900c6655b9dbbe571662783aeb658863b5d3 (cherry picked from commit 94e31ab75ba48452cf795617db42595128733fb0) --- .../openvswitch-dpdk-baremetal-ansible.yaml | 10 ++++++++++ releasenotes/notes/ovs_dpdk_pmd-74f4cfa0ef280cc0.yaml | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 releasenotes/notes/ovs_dpdk_pmd-74f4cfa0ef280cc0.yaml diff --git a/deployment/openvswitch/openvswitch-dpdk-baremetal-ansible.yaml b/deployment/openvswitch/openvswitch-dpdk-baremetal-ansible.yaml index 3dab8e4260..4a53ad4308 100644 --- a/deployment/openvswitch/openvswitch-dpdk-baremetal-ansible.yaml +++ b/deployment/openvswitch/openvswitch-dpdk-baremetal-ansible.yaml @@ -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 @@ -170,6 +177,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 @@ -184,6 +192,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} @@ -216,6 +225,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]} diff --git a/releasenotes/notes/ovs_dpdk_pmd-74f4cfa0ef280cc0.yaml b/releasenotes/notes/ovs_dpdk_pmd-74f4cfa0ef280cc0.yaml new file mode 100644 index 0000000000..33ba7da12d --- /dev/null +++ b/releasenotes/notes/ovs_dpdk_pmd-74f4cfa0ef280cc0.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + Introduce new parameter to configure OVS PMD Auto Load Balance for + OVS DPDK