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

From: Christian Engelmayer <[email-masked]>
Date: Wed, 5 Mar 2014 18:33:18 +0100

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
the situation.

Regards,
Christian