On 08/12/15 17:09, David Miller wrote:
> From: Edward Cree <ec...@solarflare.com>
> Date: Tue, 8 Dec 2015 16:03:18 +0000
>
>> NETIF_F_HW_CSUM is limited to one checksum per packet.
> This is false.
>
> As we demux encapsulation layers, we re-adjust the provided 1's
> complement sum provided and use that to validate the next layer.
The context here was transmit, not receive; the stack muxes encapsulation
layers and then asks the hardware to fill in one checksum, it doesn't have any
way to fill in 'adjusted' checksums in other layers. The following paragraph
(which you snipped) was discussing ways to get this kind of adjusted
checksumming on transmit, by feeding the adjustments to the hardware.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html