Change the active slave to em1
# ifenslave -c bond0 em1
# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: em1
Applying patch:
-------------------
[root@t6fpga5 3.X]# patch -p1 < foo.diff
patching file dev/T4/linux/drv/adapter.h
patching file dev/T4/linux/drv/cxgb4_cxgbtool.c
patching file dev/T4/linux/drv/cxgb4_ethtool.c
watch on Logs:
------------------
[root@t5fpga ~]# watch -n1 -d "cat /sys/kernel/debug/cxgb4/0000\:01\:00.0/tids &&
netstat -i && ethtool -S eth11 | grep -i pause &&
ethtool -S eth12 | grep -i pause &&
free -m &&
netstat -tanp | grep EST | grep 102 | grep 12865 | wc -l &&
netstat -tanp | grep EST | grep 102 | grep -v -e "12865" | wc -l &&
netstat -tanp | grep 102 "
intel VF:
----------
echo 1 > /sys/class/net/eth12/device/sriov_numvfs
# ifenslave -c bond0 em1
# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: em1
Applying patch:
-------------------
[root@t6fpga5 3.X]# patch -p1 < foo.diff
patching file dev/T4/linux/drv/adapter.h
patching file dev/T4/linux/drv/cxgb4_cxgbtool.c
patching file dev/T4/linux/drv/cxgb4_ethtool.c
watch on Logs:
------------------
[root@t5fpga ~]# watch -n1 -d "cat /sys/kernel/debug/cxgb4/0000\:01\:00.0/tids &&
netstat -i && ethtool -S eth11 | grep -i pause &&
ethtool -S eth12 | grep -i pause &&
free -m &&
netstat -tanp | grep EST | grep 102 | grep 12865 | wc -l &&
netstat -tanp | grep EST | grep 102 | grep -v -e "12865" | wc -l &&
netstat -tanp | grep 102 "
intel VF:
----------
echo 1 > /sys/class/net/eth12/device/sriov_numvfs
[root@yamvm1 ~]# tethereal -i eth14 -f "tcp and src host 102.11.11.14" -c 100 -a duration:30 -T fields -e frame.len
No comments:
Post a Comment