From 3582608923a24a62b4c8262e47e8558a1dd6dae0 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Fri, 11 May 2012 06:57:13 +0000 Subject: [PATCH] To configure bond0 working with hf0-7 for HFI DD2.1 and fix a typo git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/confighfi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xCAT/postscripts/confighfi b/xCAT/postscripts/confighfi index c4b84450d..d6cd28b40 100644 --- a/xCAT/postscripts/confighfi +++ b/xCAT/postscripts/confighfi @@ -89,12 +89,14 @@ ONBOOT=yes rmmod bonding fi - modprobe bonding mode=multi-link miimon=100 + modprobe bonding mode=multi-link miimon=100 xmit_hash_policy=layer3+4 - xmit_hash_policy=layer3+4 sleep 1 - for x in hf0 hf1 hf2 hf3; do + # Starting from HFI DD2.1, there are 8 interfaces per io hub. You will need to + # adjust following line to only include hf0,hf1,hf2,hf3 if you are working with + # HFI DD2.0 devices. + for x in hf0 hf1 hf2 hf3 hf4 hf5 hf6 hf7; do ip link set dev ${x} down echo +${x} > /sys/class/net/bond0/bonding/slaves