[PATCH bpf-next 1/5] net: checksum: move from32to16() to generic header
Toke Høiland-Jørgensen
toke at redhat.com
Tue Oct 22 02:49:50 PDT 2024
Puranjay Mohan <puranjay at kernel.org> 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 at kernel.org>
Reviewed-by: Toke Høiland-Jørgensen <toke at redhat.com>
More information about the linux-riscv
mailing list