diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-08-26 08:17:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-26 17:38:56 -0700 |
commit | cc11763b3510e4942bfece052ccf329a7b086a32 (patch) | |
tree | 26a5e7a01cc798738acd5522b2a183184b5ee0ac /lib | |
parent | 5afaa753d681c437419e3dd9b532c2712dd1d2ea (diff) |
sfc: Work around XMAC bug causing packet loss with some peers
Received frames must be re-clocked by the local XGXS to the 156.25 MHz
(DDR) clock of the XGMII. If the remote clock is slightly faster this
can reduce a minimum IPG of 64 bit-times (1 cycle) to 32 bit-times
(half a cycle). If the XMAC detects that a frame has reached the
maximum RX frame length in the same cycle that it receives one of
these reduced IPGs, it may miss the IPG, causing two valid frames to
be treated as a single invalid frame (over-length with bad CRC).
We work around this by increasing the maximum RX frame length so that
peers with matched MTU will not provoke this bug.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions