From eb0acbc76e7255e1309e58f3dfdeacc7df6e32d6 Mon Sep 17 00:00:00 2001 From: Mike Marciniszyn Date: Fri, 10 Jan 2014 11:41:35 -0500 Subject: [PATCH] truescale.cmds: add override for Dell QME backplane ver The default is 1. The override allows use of a different backplane version. Signed-off-by: Mike Marciniszyn --- ofed_scripts/truescale.cmds | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ofed_scripts/truescale.cmds b/ofed_scripts/truescale.cmds index f719248..31ff9dd 100644 --- a/ofed_scripts/truescale.cmds +++ b/ofed_scripts/truescale.cmds @@ -41,6 +41,13 @@ ir=/proc/irq serdes_parm=txselect service="/etc/init.d/irqbalance" irqbalance_conf=/etc/sysconfig/irqbalance +OPENIBD_CONFIG=${OPENIBD_CONFIG:-"/etc/infiniband/openib.conf"} +CONFIG=$OPENIBD_CONFIG + +if [ -f $CONFIG ] +then + . $CONFIG +fi warn_and_log() { @@ -165,7 +172,7 @@ setup_qmh() setup_qme() { local parm parmf sn pbase - local -i nunit=0 bay idx bpver=1 + local -i nunit=0 bay idx bpver=${QIB_QME_BPVER:1} local -a bp0_idx bp1_idx set # tx settings for Dell Backplane v1.0 -- 2.41.0