Re: [net-next PATCH v2 05/10] net: ravb: Simplify types in RX csum validation

From: Sergey Shtylyov
Date: Tue Oct 15 2024 - 11:23:42 EST


On 10/15/24 4:36 PM, Paul Barker wrote:

> The hardware checksum value is used as a 16-bit flag, it is zero when
> the checksum has been validated and non-zero otherwise. Therefore we
> don't need to treat this as an actual __wsum type or call csum_unfold(),
> we can just use a u16 pointer.
>
> Signed-off-by: Paul Barker <paul.barker.ct@xxxxxxxxxxxxxx>
[...]

Reviewed-by: Sergey Shtylyov <s.shtylyov@xxxxxx>

MBR, Sergey