net/mlx4_en: Pad ethernet packets smaller than 17 bytes
authorEugenia Emantayev <eugenia@mellanox.com>
Sun, 2 Mar 2014 08:24:59 +0000 (10:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Mar 2014 01:04:00 +0000 (20:04 -0500)
commit93591aaa62f89820f4ae0558f01eaf9a359738da
tree475e4557d0234b903a36db46ee218962deabdb08
parentb97b33a3df0439401f80f041eda507d4fffa0dbf
net/mlx4_en: Pad ethernet packets smaller than 17 bytes

Hardware can't accept packets smaller than 17 bytes. Therefore need to
pad with zeros.

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_tx.c