Re: [PATCH] net: Make skb_segment not to compute checksum if network controller supports checksumming
From: David Miller <davem@davemloft.net>
Date: 2020-02-28 20:01:52
From: David Miller <davem@davemloft.net>
Date: 2020-02-28 20:01:52
From: Willem de Bruijn <willemdebruijn.kernel@gmail.com> Date: Fri, 28 Feb 2020 09:30:56 -0500
Can you contrast this against a run with your changes? The thought is that the majority of this cost is due to the memory loads and stores, not the arithmetic ops to compute the checksum. When enabling checksum offload, the same stalls will occur, but will simply be attributed to memcpy instead of to do_csum.
Agreed.