From: Simon Horman <horms+renesas@xxxxxxxxxxxx> Date: Wed, 4 Oct 2017 09:54:27 +0200 > Add support for RX checksum offload. This is enabled by default and > may be disabled and re-enabled using ethtool: > > # ethtool -K eth0 rx off > # ethtool -K eth0 rx on > > The RAVB provides a simple checksumming scheme which appears to be > completely compatible with CHECKSUM_COMPLETE: sum of all packet data after > the L2 header is appended to packet data; this may be trivially read by the > driver and used to update the skb accordingly. > > In terms of performance throughput is close to gigabit line-rate both with > and without RX checksum offload enabled. Perf output, however, appears to > indicate that significantly less time is spent in do_csum(). This is as > expected. ... > Signed-off-by: Simon Horman <horms+renesas@xxxxxxxxxxxx> Applied, thanks Simon.