OVS - Enable hardware offload

Change-Id: I0dfc5689fdc2f5f66f059132b8a5475857a03c92
This commit is contained in:
v-vamshiko 2022-11-03 19:25:48 +00:00
parent 4d10d7e04d
commit 6e832eef4b
4 changed files with 7 additions and 2 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm OpenVSwitch
name: openvswitch
version: 0.1.8
version: 0.1.9
home: http://openvswitch.org
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Neutron/OpenStack_Project_Neutron_vertical.png
sources:

View File

@ -40,7 +40,9 @@ function start () {
done
ovs-vsctl --db=unix:${OVS_SOCKET} --no-wait show
{{- if .Values.conf.ovs_hw_offload.enabled }}
ovs-vsctl --db=unix:${OVS_SOCKET} --no-wait set Open_vSwitch . other_config:hw-offload={{ .Values.conf.ovs_hw_offload.enabled }}
{{- end }}
{{- if .Values.conf.ovs_other_config.handler_threads }}
ovs-vsctl --db=unix:${OVS_SOCKET} --no-wait set Open_vSwitch . other_config:n-handler-threads={{ .Values.conf.ovs_other_config.handler_threads }}
{{- end }}

View File

@ -225,6 +225,8 @@ conf:
ovs_other_config:
handler_threads: null
revalidator_threads: null
ovs_hw_offload:
enabled: false
ovs_dpdk:
enabled: false
## Mandatory parameters. Please uncomment when enabling DPDK

View File

@ -9,4 +9,5 @@ openvswitch:
- 0.1.6 Update htk requirements
- 0.1.7 Enable taint toleration for Openstack services jobs
- 0.1.8 Added OCI registry authentication
- 0.1.9 Enable ovs hardware offload
...