Subject: Re: [RFC] CPSW: dual standalone emac mode / bonding

From: Mugunthan V N <[email-masked]>
Date: Thu, 6 Mar 2014 13:52:41 +0530

On Wednesday 05 March 2014 11:03 PM, Christian Engelmayer wrote:
> Has anybody successfuly setup ethernet bonding on a TI AM335x based system using
> the CPSW in dual standalone emac mode?
>
> I am running an active-backup test setup - momentarily still running Linux 3.2 -
> and experience repeated loss of ethernet connectivity. That happens eg. after
> the board is idle and receives an own ARP request on the backup slave interface.
> It seems that the corresponding reply does not reach the CPU and I can see via
> SysFs that the host's address entry got associated with the external backup port.
>
>    index 2, raw: 00000000 10000018 31e00669, type: addr(1), addr: 00:18:31:e0:06:69,
>       uctype: persistant(0), port: 0 --> uctype: persistant(0), port: 2
>
> As expected, triggering a unicast from the board or bypassing the ALE recovers

It seems that some other system in the network is using the same mac in
your EVM or there is a loop detected in your network which leads that
ALE is learning that there is  system with your MAC and updating the ALE
table that the mac is there and which leads your own packet will be
forwarded to that port and not to host port.

When ever you start a transmission the ALE learns the host port MAC is x
and updates ALE table with that port number and so there in your network
is working.

Regards
Mugunthan V N