From: Mike Marciniszyn Date: Fri, 10 Jan 2014 16:41:35 +0000 (-0500) Subject: truescale.cmds: add override for Dell QME backplane ver X-Git-Tag: compat-rdma-2014-01-30~6^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=eb0acbc76e7255e1309e58f3dfdeacc7df6e32d6;p=~emulex%2Ftmp%2Fcompat-rdma%2F.git 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 --- 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