Hi All:
I want to build TOE(tcp checksum offload engine) in our hardware to improve the overall performance of NIC, however, i met a problem as follow:
AS you know, the TCP checksum protect the TCP pseudo header+TCP header+Data,
if TCP packet is fragmented into many fragments, the hardware will have not enough information to generate tcp checksum
for the whole TCP PDU, how to overcome this problem?
I searched in NIC driver source code of different vendor, found that TOE is generally used, I wonder whether the kernel will calculate the TCP checksum even we set features of this device as NETIF_F_IP_CSUM when
fragmentation happens.
Can anyone throw some lights on this problem?
Thanks a lot.
Rick.
************* Email Confidentiality Notice ******************** The information contained in this e-mail message (including any attachments) may be confidential, proprietary, privileged, or otherwise exempt from disclosure under applicable laws. It is intended to be conveyed only to the designated recipient(s). Any use, dissemination, distribution, printing, retaining or copying of this e-mail (including its attachments) by unintended recipient(s) is strictly prohibited and may be unlawful. If you are not an intended recipient of this e-mail, or believe that you have received this e-mail in error, please notify the sender immediately (by replying to this e-mail), delete any and all copies of this e-mail (including any attachments) from your system, and do not disclose the content of this e-mail to any other person. Thank you! |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies