netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] pch_gbe: fix CRC errors and improve speed
@ 2012-10-22 14:43 Veaceslav Falico
  2012-10-22 14:43 ` [PATCH 1/3] pch_gbe: create functions for MAC_RX {en,dis}able Veaceslav Falico
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Veaceslav Falico @ 2012-10-22 14:43 UTC (permalink / raw)
  To: netdev; +Cc: davem, richardcochran, tshimizu818, andy.cress, erwan.velu,
	agospoda

This patch series tries to get rid of CRC errors and other instability
caused by wrong RX_FIFO overrun processing. It also cleans the code a bit.

Now (without the patch applied) on high number of incoming packets and/or
stressed system pch_gbe driver reports CRC errors and huge numbers of
RX_FIFO_ERR (overruns). It also sometimes just freezes (caused by not
waiting enough on DMA_RX to stop before issuing a reset on MAC_RX logic).

This patchset removes the unneeded (as per datasheet) MAC_RX reset and
corrects the processing of RX_FIFO_ERR in pch_gbe_napi_poll().

With the patchset applied there are no more CRC errors, sane number of
RX_FIFO_ERR and improved speed/stability. The patchset was tested on
Informix SYS940X and Kontron Tunnel Creek EG20T on 1gbps direct-connected
link and different rx/tx descriptors count.

 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c   |   99 +++++--------------
 1 files changed, 26 insertions(+), 73 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-10-23  6:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-22 14:43 [PATCH 0/3] pch_gbe: fix CRC errors and improve speed Veaceslav Falico
2012-10-22 14:43 ` [PATCH 1/3] pch_gbe: create functions for MAC_RX {en,dis}able Veaceslav Falico
2012-10-22 14:43 ` [PATCH 2/3] pch_gbe: don't re-set RX_FIFO_ERR flag in napi_poll Veaceslav Falico
2012-10-22 14:43 ` [PATCH 3/3] pch_gbe: don't reset MAC_RX on FIFO overflow Veaceslav Falico
2012-10-23  6:31 ` [PATCH 0/3] pch_gbe: fix CRC errors and improve speed David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).