]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb3 - Fix potential MAC hang
authorDivy Le Ray <divy@chelsio.com>
Sun, 18 Mar 2007 20:10:12 +0000 (13:10 -0700)
committerJeff Garzik <jeff@garzik.org>
Fri, 23 Mar 2007 05:48:34 +0000 (01:48 -0400)
commitc0b5f713e51769e42f7fae2735de1cd66d4f3b87
tree8ece58a4eec002186f1c569385830f03336b50af
parent248789411aac0807229d6c831f81e457235a10dc
cxgb3 - Fix potential MAC hang

Under rare conditions, the MAC might hang while generating a pause frame.
This patch fine tunes the MAC settings to avoid the issue, allows for
periodic MAC state check, and triggers a recovery if hung.

Also fix one MAC statistics counter for the rev board T3B2.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/cxgb3/common.h
drivers/net/cxgb3/cxgb3_main.c
drivers/net/cxgb3/regs.h
drivers/net/cxgb3/xgmac.c