]> 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)
commitaf5d7e7c9a4500c09f276e0a70a31aef10dc6967
tree8f5fce8d1c80755b83aaf2823372162f023c0726
parent7292a0ab78f8fe75c44d4199e04ef944743b50c1
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