android_kernel_xiaomi_sm8350/drivers/net/ibm_emac
Eugene Surovegin 8169bd9191 [PATCH] ibm_emac: fix graceful stop timeout handling
This patch fixes graceful stop timeout handling in PPC4xx EMAC driver.

Currently, when we stop TX/RX channels we just do some number of loops
without relying on actual spent time. This has finally bitten me on
one of our systems (heavy network traffic during start up, RX channel
is stopped several times to configure multicast list).

Graceful channel stop can take up to 1 frame time, so I've added
device specific timeout counter which depends on current link speed
and calls to udelay() to really wait required amount of time before
giving up.

Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2005-12-01 02:23:35 -05:00
..
ibm_emac_core.c [PATCH] ibm_emac: fix graceful stop timeout handling 2005-12-01 02:23:35 -05:00
ibm_emac_core.h [PATCH] ibm_emac: fix graceful stop timeout handling 2005-12-01 02:23:35 -05:00
ibm_emac_debug.c [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00
ibm_emac_debug.h [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00
ibm_emac_mal.c [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00
ibm_emac_mal.h [PATCH] PPC 44x EMAC driver: add 440GR support 2005-10-29 18:06:54 -04:00
ibm_emac_phy.c [PATCH] PPC 4xx EMAC driver: fix VSC8201 PHY initialization 2005-10-29 18:06:54 -04:00
ibm_emac_phy.h [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00
ibm_emac_rgmii.c [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00
ibm_emac_rgmii.h [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00
ibm_emac_tah.c [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00
ibm_emac_tah.h [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00
ibm_emac_zmii.c [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00
ibm_emac_zmii.h [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00
ibm_emac.h [PATCH] PPC 44x EMAC driver: add 440GR support 2005-10-29 18:06:54 -04:00
Makefile [PATCH] New PowerPC 4xx on-chip ethernet controller driver 2005-10-28 16:42:01 -04:00