e1000: Small packets may get corrupted during padding by HW
authorTushar Dave <tushar.n.dave@intel.com>
Sat, 15 Sep 2012 10:16:57 +0000 (10:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Sep 2012 20:32:21 +0000 (16:32 -0400)
commit59d86c760fbb855d9a26b9b280d4ff59303f2fc5
tree738d612af6e59bc57e61134a0551fb6a052e5a9b
parent433a19548061bb5457b6ab77ed7ea58ca6e43ddb
e1000: Small packets may get corrupted during padding by HW

On PCI/PCI-X HW, if packet size is less than ETH_ZLEN,
packets may get corrupted during padding by HW.
To WA this issue, pad all small packets manually.

Signed-off-by: Tushar Dave <tushar.n.dave@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/e1000/e1000_main.c