Hi,
We use following bond setup commands to bonding driver over eth0 and eth1 in AM437x-gp-evm:
insmod /home/root/bonding.ko ad_select=0 mode=4 miimon=100
sleep 1
ifconfig bond0 up
/home/root/ifenslave bond0 eth0 eth1
ifconfig bond0 promisc
ifconfig bond0 192.168.1.226
With two net cables connect , if we pull out the active cable when ping, there will be two packets lost.
We try it in X86 system(linux 2.6.18) with the same action, the ping is ok and no packet lost.
It seem the cpsw is too slow to detect carrier off ,Is there any paremeter need to be modified?
Our SDK version is ti-processor-sdk-linux-am437x-evm-0.5.01.00.11
linux version is 4.14.67
Best regards,
Dudechao