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

Re: [PATCH v2 05/10] sctp: use skb_crc32c() instead of __skb_checksum()

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

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

Make sctp_compute_cksum() just use the new function skb_crc32c(),
instead of calling __skb_checksum() with a skb_checksum_ops struct that
does CRC32C.  This is faster and simpler.

Signed-off-by: Eric Biggers <redacted>
---
  include/net/sctp/checksum.h | 29 +++--------------------------
  net/netfilter/Kconfig       |  4 ++--
  net/netfilter/ipvs/Kconfig  |  2 +-
  net/openvswitch/Kconfig     |  2 +-
  net/sched/Kconfig           |  2 +-
  net/sctp/Kconfig            |  1 -
  net/sctp/offload.c          |  1 -
  7 files changed, 8 insertions(+), 33 deletions(-)
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