OSDN Git Service

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)
commit653e92a9175ea7ed67efe209c725222051a3713d
tree8f5fce8d1c80755b83aaf2823372162f023c0726
parent33729f25a31e84e665b5441181bf98a514740fcf
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