Patch dhcp agent to avoid unwanted rescheduling
[fuel.git] / mcp / patches / salt-formula-linux / 0004-dpdk-Enable-per-port-memory-model.patch
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2019 Mirantis Inc., Enea AB and others.
3 :
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Michael Polenchuk <mpolenchuk@mirantis.com>
10 Date: Mon, 1 Apr 2019 13:09:37 +0400
11 Subject: [PATCH] [dpdk] Enable per port memory model
12
13
14 diff --git a/linux/network/dpdk.sls b/linux/network/dpdk.sls
15 index 786f7c8..48c00f5 100644
16 --- a/linux/network/dpdk.sls
17 +++ b/linux/network/dpdk.sls
18 @@ -49,6 +49,7 @@ linux_network_dpdk_ovs_service:
19    - unless: 'ovs-vsctl get Open_vSwitch . other_config | grep "dpdk-init=\"true\""'
20  
21  {%- set ovs_options = [
22 +  'per-port-memory="true"',
23    "pmd-cpu-mask=\""+network.openvswitch.pmd_cpu_mask+"\"",
24    "dpdk-socket-mem=\""+network.openvswitch.dpdk_socket_mem+"\"",
25    "dpdk-lcore-mask=\""+network.openvswitch.dpdk_lcore_mask+"\"",