[openfabrics-ewg] [PATCH[ OFED-1.1-rc7 install.sh: default activation of scaling code for ehca

Hoang-Nam Nguyen hnguyen at de.ibm.com
Fri Oct 13 11:15:49 PDT 2006


Hello Vlad!
Below is a patch to activate scaling code of ehca as default
when building ehca module with OFED install script.
Thanks
Nam Nguyen


Signed-off-by: Hoang-Nam Nguyen <hnguyen at de.ibm.com>
---


 install.sh |    4 ++++
 1 files changed, 4 insertions(+)


diff -Nurp openib-1.1/ofed_scripts/install.sh openib-1.1_work/ofed_scripts/install.sh
--- openib-1.1/ofed_scripts/install.sh 2006-10-05 06:07:02.000000000 -0700
+++ openib-1.1_work/ofed_scripts/install.sh 2006-10-13 10:25:25.000000000 -0700
@@ -622,6 +622,10 @@ set_deps()
                 MODULES_CONF_PARAMS="$MODULES_CONF_PARAMS CONFIG_INFINIBAND_MTHCA=m CONFIG_INFINIBAND_MTHCA_DEBUG=y"
         fi
 
+ if [  "$ehca" == "y" ]; then
+  MODULE_CONF_PARAMS="$MODULE_CONF_PARAMS CONFIG_INFINIBAND_EHCA=m CONFIG_INFINIBAND_SCALING=y"
+ fi
+
         if [ "$ipath" == "y" ]; then
 
                 case $(uname -m) in




More information about the ewg mailing list