Re: [PATCH bpf-next 1/5] net: checksum: move from32to16() to generic header

From: Toke Høiland-Jørgensen
Date: Tue Oct 22 2024 - 05:50:29 EST


Puranjay Mohan <puranjay@xxxxxxxxxx> writes:

> from32to16() is used by lib/checksum.c and also by
> arch/parisc/lib/checksum.c. The next patch will use it in the
> bpf_csum_diff helper.
>
> Move from32to16() to the include/net/checksum.h as csum_from32to16() and
> remove other implementations.
>
> Signed-off-by: Puranjay Mohan <puranjay@xxxxxxxxxx>

Reviewed-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx>