[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171004.102634.1443361093432796779.davem@davemloft.net>
Date: Wed, 04 Oct 2017 10:26:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: horms+renesas@...ge.net.au
Cc: sergei.shtylyov@...entembedded.com, magnus.damm@...il.com,
netdev@...r.kernel.org, linux-renesas-soc@...r.kernel.org
Subject: Re: [PATCH v2 net-next] ravb: RX checksum offload
From: Simon Horman <horms+renesas@...ge.net.au>
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@...ge.net.au>
Applied, thanks Simon.
Powered by blists - more mailing lists