be2net: pad skb to meet minimum TX pkt size in BE3
authorSuresh Reddy <Suresh.Reddy@avagotech.com>
Mon, 12 Oct 2015 07:47:19 +0000 (03:47 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2015 11:32:43 +0000 (04:32 -0700)
commit8227e9901ded28d071f20313238e91e71d6bfdce
tree80f8022a9fc7867b861114c5823710921c67416e
parent0c8845679f3b8f030f3bafcdf226ed92545fa2a9
be2net: pad skb to meet minimum TX pkt size in BE3

On BE3 chips in SRIOV configs, the TX path stalls when a packet less
than 32B is received from the host. A workaround to pad such packets
already exists for the Skyhawk and Lancer chips. Use the same workaround
for BE3 chips too.

Signed-off-by: Suresh Reddy <suresh.reddy@avagotech.com>
Signed-off-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c