what should NIC do in order to support TSO?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI All:

 

     As the title. I saw someone mentioned that NIC should support S/G DMA, TCP checksum offload and auto insert IP header,TCP header.

The S/G DMA is easy to understand since large mount of data can’t be allocated into one single page, but why it need hardware to auto insert TCP header?

As I know, the TCP header should only exist in the first fragments, and it ‘s already in skb->data, for other fragments, it’s in skb->frags, hardware only need to insert IP header for them, so I don’t see such need to auto insert TCP header by

Hardware.

And another question about checksum offload is that, how can hardware support rx checksum verification if received packets are fragmented?

 

 

Thanks for your answer in advance.

 

 

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

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux