netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How much is checksumming done in the kernel vs on the NIC?
@ 2025-05-02 12:07 David Howells
  2025-05-02 13:09 ` Andrew Lunn
  2025-05-02 13:41 ` MSG_ZEROCOPY and the O_DIRECT vs fork() race David Howells
  0 siblings, 2 replies; 24+ messages in thread
From: David Howells @ 2025-05-02 12:07 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski; +Cc: dhowells, willy, netdev

Hi Dave, Jakub,

I'm looking into making the sendmsg() code properly handle the 'DIO vs fork'
issue (where pages need pinning rather than refs taken) and also getting rid
of the taking of refs entirely as the page refcount is going to go away in the
relatively near future.

I'm wondering quite how to do the approach, and I was wondering if you have
any idea about the following:

 (1) How much do we need to do packet checksumming in the kernel these days
     rather than offloading it to the NIC?

 (2) How often do modern kernels encounter NICs that can only take a single
     {pointer,len} extent for any particular packet rather than a list of
     such?

Thanks,
David


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2025-06-24 12:39 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-02 12:07 How much is checksumming done in the kernel vs on the NIC? David Howells
2025-05-02 13:09 ` Andrew Lunn
2025-05-02 13:41 ` MSG_ZEROCOPY and the O_DIRECT vs fork() race David Howells
2025-05-02 13:48   ` David Hildenbrand
2025-05-02 14:21   ` Andrew Lunn
2025-05-02 16:21   ` Reorganising how the networking layer handles memory David Howells
2025-05-05 20:14     ` Jakub Kicinski
2025-05-06 13:50     ` David Howells
2025-05-06 13:56       ` Christoph Hellwig
2025-05-06 18:20       ` Jakub Kicinski
2025-05-07 13:45       ` David Howells
2025-05-07 17:47         ` Willem de Bruijn
2025-05-07 13:49       ` David Howells
2025-05-12 14:51   ` AF_UNIX/zerocopy/pipe/vmsplice/splice vs FOLL_PIN David Howells
2025-05-12 21:59     ` David Hildenbrand
2025-06-23 11:50     ` Christian Brauner
2025-06-23 13:53     ` Christoph Hellwig
2025-06-23 14:16     ` David Howells
2025-06-23 10:50   ` How to handle P2P DMA with only {physaddr,len} in bio_vec? David Howells
2025-06-23 13:46     ` Christoph Hellwig
2025-06-23 23:38       ` Alistair Popple
2025-06-24  9:02     ` David Howells
2025-06-24 12:18       ` Jason Gunthorpe
2025-06-24 12:39       ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).