]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00235090 FEC: Workaround for FEC RX hang with stress test
authorFugang Duan <B38611@freescale.com>
Tue, 27 Nov 2012 09:44:19 +0000 (17:44 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:46 +0000 (08:35 +0200)
commit03f5fdd3a2929f40f0b27368c640f0f7a878fd1e
treef5fd34624229c3963141aa621bdbf7e3ce39c0bf
parent582d85f5eb14839292c21c78e38ee299a53c525b
ENGR00235090 FEC: Workaround for FEC RX hang with stress test

When do Ethernet UDP stress overnight test with abundance of
data transmission, RX path may hang-on.
Dump the RX BD, found all BD "Empty" bit is cleared, which means
CPU read BD status is not right and waiting here.

Change BD memroy attribute from Normal to strongly ordered:
changes the memory attribute of C=0, B=0 instead of C=0, B=1.
Apply the change, the issue cannot be reproduced.

Signed-off-by: Fugang Duan <B38611@freescale.com>
drivers/net/fec.c