]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitebcbc2d2715cdc5b1e37c652cfc73ea05a70b8b2
treed89a13b90c5c8e1033f6ade44e8e379a31a7854a
parent2859438f276c39bdf8450ea37023e672482068c9
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