aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/regs.h
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-05-30 13:01:44 -0400
committerJeff Garzik <jeff@garzik.org>2007-06-20 19:16:59 -0400
commit7b581a0fa85464f7f765b9a66f612e7ec4ab17f9 (patch)
tree17aa5f829935d35d64edcf63dfdde135e517c0ae /drivers/net/cxgb3/regs.h
parentc706bfb52afc9b5d115f61a8e1c0c30540feb3f4 (diff)
cxgb3 - Stop mac RX when changing MTU
Rx traffic needs to be halted when the MTU is changed to avoid a potential chip hang. Reset/restore MAC filters around a MTU change. Also fix the pause frames high materwark setting. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3/regs.h')
-rw-r--r--drivers/net/cxgb3/regs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/regs.h b/drivers/net/cxgb3/regs.h
index bf9d6be7f214..020859c855d7 100644
--- a/drivers/net/cxgb3/regs.h
+++ b/drivers/net/cxgb3/regs.h
@@ -1882,6 +1882,10 @@
1882#define V_COPYALLFRAMES(x) ((x) << S_COPYALLFRAMES) 1882#define V_COPYALLFRAMES(x) ((x) << S_COPYALLFRAMES)
1883#define F_COPYALLFRAMES V_COPYALLFRAMES(1U) 1883#define F_COPYALLFRAMES V_COPYALLFRAMES(1U)
1884 1884
1885#define S_DISBCAST 1
1886#define V_DISBCAST(x) ((x) << S_DISBCAST)
1887#define F_DISBCAST V_DISBCAST(1U)
1888
1885#define A_XGM_RX_HASH_LOW 0x814 1889#define A_XGM_RX_HASH_LOW 0x814
1886 1890
1887#define A_XGM_RX_HASH_HIGH 0x818 1891#define A_XGM_RX_HASH_HIGH 0x818