Skip to contentSkip to conversation

Documentation error for checksum offload check ?

DISCUSSION Benjamin Herrenschmidt 2 participants 2 messages Apr 7, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I noticed in both Documentation/networking/checksum-offload.txt and include/linux/skbuff.h reference to helpers

skb_csum_off_chk*

Now, I can't find anything like that with grep ... :-)

Am I missing something ?

Cheers,
Ben.

#1 lore raw
Quoted 12 lines · Benjamin Herrenschmidt

I noticed in both Documentation/networking/checksum-offload.txt and include/linux/skbuff.h reference to helpers

skb_csum_off_chk*
c
Now, I can't find anything like that with grep ... :-)

Am I missing something ?

Cheers,
Ben.

hello Benjamin,

these functions are not present anymore in the kernel since commit cf53b1da73bd ('Revert "net: Add driver helper functions to determine checksum"'). You might find some additional information on this thread in linux-sctp (https://www.spinics.net/lists/linux-sctp/msg05606.html),
there is an ongoing proposal for fixing Documentation/networking/checksum-offload.txt, improve referenced paragraphs in include/linux/sk_buff.h, and maybe extend the current API.

regards,