[PATCH v2 01/10] net: introduce CONFIG_NET_CRC32C
Hannes Reinecke
hare at suse.de
Wed May 21 03:09:40 PDT 2025
On 5/19/25 19:50, Eric Biggers wrote:
> From: Eric Biggers <ebiggers at google.com>
>
> Add a hidden kconfig symbol NET_CRC32C that will group together the
> functions that calculate CRC32C checksums of packets, so that these
> don't have to be built into NET-enabled kernels that don't need them.
>
> Make skb_crc32c_csum_help() (which is called only when IP_SCTP is
> enabled) conditional on this symbol, and make IP_SCTP select it.
>
> Signed-off-by: Eric Biggers <ebiggers at google.com>
> ---
> net/Kconfig | 4 ++++
> net/core/dev.c | 2 ++
> net/sctp/Kconfig | 1 +
> 3 files changed, 7 insertions(+)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
More information about the Linux-nvme
mailing list