Browse Source

Merge "OVS Revalidator and handler threads" into stable/queens

tags/8.4.1
Zuul 1 month ago
parent
commit
c789f171f2

+ 18
- 0
puppet/services/openvswitch.yaml View File

@@ -40,6 +40,20 @@ parameters:
40 40
     default: ""
41 41
     tags:
42 42
       - role_specific
43
+  OvsHandlerCores:
44
+    description: >
45
+      Number of cores to be used for ovs handler threads.
46
+    type: number
47
+    default: 1
48
+    tags:
49
+      - role_specific
50
+  OvsRevalidatorCores:
51
+    description: >
52
+      Number of cores to be used for ovs revalidator threads.
53
+    type: number
54
+    default: 1
55
+    tags:
56
+      - role_specific
43 57
   OvsDpdkMemoryChannels:
44 58
     description: Number of memory channels per socket to be used for DPDK
45 59
     type: string
@@ -150,6 +164,8 @@ outputs:
150 164
               vswitch::dpdk::memory_channels: OvsDpdkMemoryChannels
151 165
               vswitch::dpdk::socket_mem: OvsDpdkSocketMemory
152 166
               vswitch::dpdk::disable_emc: OvsDisableEMC
167
+              vswitch::dpdk::revalidator_cores: OvsRevalidatorCores
168
+              vswitch::dpdk::handler_cores: OvsHandlerCores
153 169
             - values: {get_param: [RoleParameters]}
154 170
           - values:
155 171
               OvsDpdkCoreList: {if: [l_cores_empty, {get_param: HostCpusList}, {get_param: OvsDpdkCoreList}]}
@@ -158,6 +174,8 @@ outputs:
158 174
               OvsDpdkDriverType: {if: [driver_not_set, {get_param: NeutronDpdkDriverType}, {get_param: OvsDpdkDriverType}]}
159 175
               OvsPmdCoreList: {if: [pmd_cores_empty, {get_param: NeutronDpdkCoreList}, {get_param: OvsPmdCoreList}]}
160 176
               OvsDisableEMC: {get_param: OvsDisableEMC}
177
+              OvsRevalidatorCores: {get_param: OvsRevalidatorCores}
178
+              OvsHandlerCores: {get_param: OvsHandlerCores}
161 179
 
162 180
       upgrade_tasks:
163 181
         - name: Check openvswitch version.

+ 3
- 0
releasenotes/notes/ovs-revalidator-handler-threads.yaml-f5a12d1066b042f1.yaml View File

@@ -0,0 +1,3 @@
1
+---
2
+features:
3
+  - Introduced two new numeric parameters OvsRevalidatorCores and OvsHandlerCores to set values of n-revalidator-threads and n-handler-threads on openvswitch.

Loading…
Cancel
Save