e1000e: Minimum packet size must be 17 bytes
authorTushar Dave <tushar.n.dave@intel.com>
Fri, 14 Sep 2012 02:21:37 +0000 (02:21 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Oct 2012 08:02:19 +0000 (01:02 -0700)
commit6e97c170db3878695cb48b5021fffe442ec0aeb0
treed89a13b90c5c8e1033f6ade44e8e379a31a7854a
parent598e74f32c6dd4b3dd0ed382c889be07a7c6cbc0
e1000e: Minimum packet size must be 17 bytes

This is a HW requirement. Although a buffer as short as 1 byte is allowed,
the total length of packet before, padding and CRC insertion, must be at
least 17 bytes.  So pad all small packets manually up to 17 bytes before
delivering them to HW.

Signed-off-by: Tushar Dave <tushar.n.dave@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c