]> git.karo-electronics.de Git - karo-tx-linux.git/commit
be2net: Fix to prevent Tx stall on SH-R when packet size < 32
authorAjit Khaparde <ajit.khaparde@emulex.com>
Fri, 27 Sep 2013 20:17:04 +0000 (15:17 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Sep 2013 21:11:48 +0000 (17:11 -0400)
commitb54881f9949e4eac6ff23c86625467a365085bd6
tree75c730fe842807c69fbb81b4312290386ea04c39
parenta97b7c3aadc8681f7efd8398567255616ad464d8
be2net: Fix to prevent Tx stall on SH-R when packet size < 32

Tx on SH-R can lockup if the packet size is less than 32 bytes.
Pad such packets to a safer 36-byte size.
Patch uses the Lancer-R workaround - which checks for packet <= 32-bytes

Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c