Merge "OVS: enable setting threads for handler and revalidator"
This commit is contained in:
commit
b0ee644204
openvswitch
@ -43,6 +43,13 @@ function start () {
|
||||
|
||||
ovs-vsctl --db=unix:${OVS_SOCKET} --no-wait show
|
||||
|
||||
{{- 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 }}
|
||||
{{- if .Values.conf.ovs_other_config.revalidator_threads }}
|
||||
ovs-vsctl --db=unix:${OVS_SOCKET} --no-wait set Open_vSwitch . other_config:n-revalidator-threads={{ .Values.conf.ovs_other_config.revalidator_threads }}
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.conf.ovs_dpdk.enabled }}
|
||||
ovs-vsctl --db=unix:${OVS_SOCKET} --no-wait set Open_vSwitch . other_config:dpdk-hugepage-dir={{ .Values.conf.ovs_dpdk.hugepages_mountpath | quote }}
|
||||
ovs-vsctl --db=unix:${OVS_SOCKET} --no-wait set Open_vSwitch . other_config:dpdk-socket-mem={{ .Values.conf.ovs_dpdk.socket_memory | quote }}
|
||||
|
@ -195,6 +195,9 @@ manifests:
|
||||
conf:
|
||||
openvswitch_db_server:
|
||||
ptcp_port: null
|
||||
ovs_other_config:
|
||||
handler_threads: null
|
||||
revalidator_threads: null
|
||||
ovs_dpdk:
|
||||
enabled: false
|
||||
## Mandatory parameters. Please uncomment when enabling DPDK
|
||||
|
Loading…
x
Reference in New Issue
Block a user