Hi All
I have a issue about promiscous mode.
SDK : am335x-evm-sdk-src-06.00.00.00
Environment :
Step 1 : Enable both network interface eth0 and eth1.
Step 2 : Specify IP address with eth0. And I can ping a public IP via eth0.
Step 3 : Enable promiscous mode with eth0. ( ifconfig eth0 promisc)
Step 4 : Link down eth0 (ifconfig eth0 down).
Step 5 : For a while, enable eth0 again.( ifconfig eth0 up).
Now i can not ping a pubilc IP anymore. Both network interface can't work.
I have to link down eth1/eth0 and link up eth1/eth0 again.
If i don't enable promiscous mode with eth0 ( Skip step 3), everything is ok.
I don't modify any code about cpsw.
I think that maybe it's a bug of promiscous mode.
I found that driver will enable ALE_BYPASS mode when enable promiscous mode.
Anyone have idea?
Thanks
Kiros