]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sky2: Threshold for Pause Packet is set wrong
authorMirko Lindner <mlindner@marvell.com>
Tue, 26 Mar 2013 06:38:42 +0000 (06:38 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2013 16:26:17 +0000 (09:26 -0700)
commit02389502f72a15d13bed1355d9835219f4ac0af2
tree86c8a629eb7cdebcf16b8297cb705e9089717928
parent37bfa0ab2d469f3aa5fccb284ec33e2ead5525b6
sky2: Threshold for Pause Packet is set wrong

[ Upstream commit 74f9f42c1c1650e74fb464f76644c9041f996851 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/marvell/sky2.c