]> git.baikalelectronics.ru Git - kernel.git/commit
net: macb: add support for padding and fcs computation
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 7 Aug 2018 09:25:14 +0000 (12:25 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Aug 2018 20:18:49 +0000 (13:18 -0700)
commit586890dec21b6dc82ede18334afede383b6bc2f3
tree8f5fce8d1c80755b83aaf2823372162f023c0726
parente69e4bcf0d5a28160603b49f181f5a133268c98b
net: macb: add support for padding and fcs computation

For packets with computed IP/TCP/UDP checksum there is no need to tell
hardware to recompute it. For such kind of packets hardware expects the
packet to be at least 64 bytes and FCS to be computed.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cadence/macb_main.c