net: cpsw: make cpsw_send directional
For dual_emac mode, the driver needs to send on the individual
ports. We set the directional bits on each packet so the controller
knows where to send its.

From TI am335x Reference Manual:

14.3.2.10.2 Dual Mac Mode

- Packets from the host (port 0) to ports 1 and 2 should be directed.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent da4d825 commit 25583ed994b5d4f4c0c9ff798552a3d43d51bca4
@Michael Grzeschik Michael Grzeschik authored on 4 May 2020
Sascha Hauer committed on 5 May 2020
Showing 1 changed file
View
drivers/net/cpsw.c