]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00257847-2 MX6Q/DL-Fix Ethernet performance issue when WAIT mode is active
authorRanjani Vaidyanathan <ra5478@freescale.com>
Mon, 1 Apr 2013 21:03:31 +0000 (16:03 -0500)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:13:58 +0000 (14:13 +0200)
commit318548bdbe1ccb69a5774562945fe2f3f6eabba5
tree543f65465d67d367584c636718504eb468e5028c
parentc39a3919c37436c907c7ba09979bd17ba72c27f8
ENGR00257847-2 MX6Q/DL-Fix Ethernet performance issue when WAIT mode is active

All of the interrupts from the ENET block are not routed to
the GPC block. Hence ENET interrupts are not able to wake
up the SOC when the system is in WAIT mode. And the ENET
interrupt gets serviced only when another interrupt causes
the SOC to exit WAIT mode. This impacts the ENET performance.

To fix the issue two options:
1. Route the ENET interrupt to a GPIO. Need to enable the
CONFIG_MX6_ENET_IRQ_TO_GPIO in the config.
2. If the GPIO mechanism cannot be used and is not enabled
by the above mentioned config, the patch will disable entry
to WAIT mode until ENET clock is active. When the ENET clock
is disabled, WAIT mode will be automatically enetered.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
drivers/net/fec.c
include/linux/fec.h