Thread (22 messages) 22 messages, 3 authors, 2025-05-22

Re: [PATCH v2 01/10] net: introduce CONFIG_NET_CRC32C

From: Hannes Reinecke <hare@suse.de>
Date: 2025-05-21 10:09:43
Also in: linux-nvme, linux-rdma, linux-sctp, lkml

On 5/19/25 19:50, Eric Biggers wrote:
From: Eric Biggers <redacted>

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 <redacted>
---
  net/Kconfig      | 4 ++++
  net/core/dev.c   | 2 ++
  net/sctp/Kconfig | 1 +
  3 files changed, 7 insertions(+)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare@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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help