From 3c83de3afaebc2deb14deafdc99e999dc33f9340 Mon Sep 17 00:00:00 2001 From: Michael Polenchuk Date: Mon, 1 Apr 2019 19:04:00 +0400 Subject: [dpdk] Enable per port memory model The per port memory model provides a more transparent memory usage model and avoids pool exhaustion due to competing memory requirements for interfaces. (http://docs.openvswitch.org/en/latest/topics/dpdk/memory/) Change-Id: I5add0f49cdcdf2fc3d24affee10a275abe3ca46a Signed-off-by: Michael Polenchuk --- mcp/config/states/dpdk | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 mcp/config/states/dpdk (limited to 'mcp/config/states') diff --git a/mcp/config/states/dpdk b/mcp/config/states/dpdk deleted file mode 100755 index 65832db84..000000000 --- a/mcp/config/states/dpdk +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -e -############################################################################## -# Copyright (c) 2017 Mirantis Inc., Enea AB and others. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## - -CI_DEBUG=${CI_DEBUG:-0}; [[ "${CI_DEBUG}" =~ (false|0) ]] || set -x - -# shellcheck disable=SC1090 -source "$(dirname "${BASH_SOURCE[0]}")/../../scripts/lib.sh" - -salt -I 'nova:compute' alternatives.set ovs-vswitchd /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk -salt -I 'nova:compute' service.restart openvswitch-switch - -# Set datapath type to netdev for public bridge -salt -I 'nova:compute' cmd.run 'ovs-vsctl br-exists br-floating && ovs-vsctl set bridge br-floating datapath_type=netdev' ignore_retcode=True -- cgit 1.2.3-korg