be2net: Pad skb to meet min Tx pkt size in lancer
authorSomnath Kotur <somnath.kotur@emulex.com>
Sun, 26 May 2013 21:08:47 +0000 (21:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 May 2013 05:27:02 +0000 (22:27 -0700)
commit48265667a756ab1c2750048caee3da719a86ebb2
tree09e9990161b50656a3ac47a2425237c24db50c70
parenteeb65cedd78ebd375608d71d703e6b0b9296efbd
be2net: Pad skb to meet min Tx pkt size in lancer

In Lancer, packets that are 32 bytes or less may cause a transmit stall.
The work-around is to pad such packets to a 36 byte length.

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c