sky2: Threshold for Pause Packet is set wrong
authorMirko Lindner <mlindner@marvell.com>
Tue, 26 Mar 2013 06:38:42 +0000 (06:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2013 18:53:19 +0000 (14:53 -0400)
commit74f9f42c1c1650e74fb464f76644c9041f996851
tree3437ee3320968b7c87f773310550f2a56e25e4c4
parent9cfe8b156c21cf340b3a10ecb3022fbbc1c39185
sky2: Threshold for Pause Packet is set wrong

The sky2 driver sets the Rx Upper Threshold for Pause Packet generation to a
wrong value which leads to only 2kB of RAM remaining space. This can lead to
Rx overflow errors even with activated flow-control.

Fix: We should increase the value to 8192/8

Signed-off-by: Mirko Lindner <mlindner@marvell.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/sky2.c