diff options
author | Divy Le Ray <divy@chelsio.com> | 2007-09-05 15:58:20 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:51:04 -0700 |
commit | b4687ff753c2c5c330989efed7cdf1a6bc6b512e (patch) | |
tree | 0fdce28a3da7a32c114edacd6cf3be85f823f054 /drivers/net/cxgb3/common.h | |
parent | 3eea3337a08a2ed2addac1551a9d446f2c16acd5 (diff) | |
download | op-kernel-dev-b4687ff753c2c5c330989efed7cdf1a6bc6b512e.zip op-kernel-dev-b4687ff753c2c5c330989efed7cdf1a6bc6b512e.tar.gz |
cxgb3 - remove false positive in xgmac workaround
Qualify toggling of xgmac tx enable with not getting pause frames,
we might not make forward progress because the peer is sending
lots of pause frames.
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3/common.h')
-rw-r--r-- | drivers/net/cxgb3/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h index ada5e4b..7e9e43d 100644 --- a/drivers/net/cxgb3/common.h +++ b/drivers/net/cxgb3/common.h @@ -513,6 +513,7 @@ struct cmac { u64 rx_mcnt; unsigned int toggle_cnt; unsigned int txen; + u64 rx_pause; struct mac_stats stats; }; |