Messages in this thread | | | Date | Thu, 29 Jun 2023 13:29:14 +0800 | From | Herbert Xu <> | Subject | Re: [GIT PULL] x86/misc for 6.5 |
| |
Linus Torvalds <torvalds@linux-foundation.org> wrote: > > but doesn't most network hardware do the csum on its own anyway? How > critical is csum_partial(), really?
That hardware will checksum the bulk of the packet, but we still need to checksum the header bits (e.g., 40 bytes or less) when we add and remove headers in software.
The one exception is Realtek drivers which seems to come with checksum offload disabled by default.
Cheers, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |