Remove pre OFED serializers and enable IB
Change-Id: I8c8d066bd5622712b276f1329213c7599464f483
This commit is contained in:
parent
4faa9ef57e
commit
336e3abb87
|
@ -99,24 +99,22 @@ function install_ofed_without_fw_update () {
|
||||||
}
|
}
|
||||||
|
|
||||||
function enable_eipoib (){
|
function enable_eipoib (){
|
||||||
if [ $NETWORK_TYPE == 'infiniband' ]; then
|
sed -i s/^E_IPOIB_LOAD.*$/E_IPOIB_LOAD=yes/g /etc/infiniband/openib.conf
|
||||||
sed -i s/^E_IPOIB_LOAD.*$/E_IPOIB_LOAD=yes/g /etc/infiniband/openib.conf
|
|
||||||
|
|
||||||
# Set Buffers size
|
# Set Buffers size
|
||||||
if [ -f /etc/modprobe.d/ib_ipoib.conf ];then
|
if [ -f /etc/modprobe.d/ib_ipoib.conf ];then
|
||||||
sed -i s/^.*queue_size.*$//g /etc/modprobe.d/ib_ipoib.conf
|
sed -i s/^.*queue_size.*$//g /etc/modprobe.d/ib_ipoib.conf
|
||||||
fi
|
|
||||||
if [[ $ROLE == *controller* ]];then
|
|
||||||
buffer_size=32
|
|
||||||
else
|
|
||||||
buffer_size=128
|
|
||||||
fi
|
|
||||||
echo "options ib_ipoib recv_queue_size=$buffer_size send_queue_size=$buffer_size" > /etc/modprobe.d/ipoib.conf
|
|
||||||
|
|
||||||
# Use fixed MLNX_OFED scripts
|
|
||||||
\cp -f ./ipoibd /sbin/ipoibd
|
|
||||||
\cp -f ./openibd /etc/init.d/openibd
|
|
||||||
fi
|
fi
|
||||||
|
if [[ $ROLE == *controller* ]];then
|
||||||
|
buffer_size=32
|
||||||
|
else
|
||||||
|
buffer_size=128
|
||||||
|
fi
|
||||||
|
echo "options ib_ipoib recv_queue_size=$buffer_size send_queue_size=$buffer_size" > /etc/modprobe.d/ipoib.conf
|
||||||
|
|
||||||
|
# Use fixed MLNX_OFED scripts
|
||||||
|
\cp -f ./ipoibd /sbin/ipoibd
|
||||||
|
\cp -f ./openibd /etc/init.d/openibd
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! is_ofed_installed; then
|
if ! is_ofed_installed; then
|
||||||
|
|
|
@ -40,16 +40,6 @@
|
||||||
parameters:
|
parameters:
|
||||||
cmd: ./link_astute_file.sh
|
cmd: ./link_astute_file.sh
|
||||||
timeout: 10
|
timeout: 10
|
||||||
# Add relevant settings for Mellanox manifests to mellanox plugin section in
|
|
||||||
# Hiera, to make the data easily accessible and independent of astute.yaml
|
|
||||||
- id: customize_mellanox_hiera
|
|
||||||
role: '*'
|
|
||||||
required_for: [validate_kernel_devel]
|
|
||||||
requires: [link_astute_file]
|
|
||||||
type: shell
|
|
||||||
parameters:
|
|
||||||
cmd: ./mellanox_settings.py
|
|
||||||
timeout: 100
|
|
||||||
# Verify kernel-devel packages are installed (if CentOS)
|
# Verify kernel-devel packages are installed (if CentOS)
|
||||||
- id: validate_kernel_devel
|
- id: validate_kernel_devel
|
||||||
role: '*'
|
role: '*'
|
||||||
|
|
|
@ -5,7 +5,7 @@ name: mellanox-plugin
|
||||||
title: Mellanox ConnectX-4 Openstack Features
|
title: Mellanox ConnectX-4 Openstack Features
|
||||||
|
|
||||||
# Plugin version
|
# Plugin version
|
||||||
version: 3.1.5
|
version: 3.1.8
|
||||||
|
|
||||||
# Description
|
# Description
|
||||||
description: Enable features over Mellanox ConnectX-4 Adapters
|
description: Enable features over Mellanox ConnectX-4 Adapters
|
||||||
|
|
Loading…
Reference in New Issue