Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
api: pktio: lso: revise and clarify IP and TCP LSO specification
Modify certain details of IP and TCP LSO, specify missing details, add restrictions and clarify the API in general. - Specify that the DF flag of the IPv4 header is to be preserved as it was in the original packet and not cleared as the current spec says. Disallow IPv4 LSO for packets that contain IPv4 options that may not simply be copied to all fragments. Describe IPv4 ID generation in more detail. - Specify IPv6 fragmentation in more detail. Specify that the payload offset must point to the offset in which the fragment header is to be inserted, allowing flexible handling of different types of extension headers. Add restrictions on for what kind of packets IPv6 fragmentation can be requested. - Specify that IPv4 or IPv6 LSO is not permitted for packets that are already fragments or for which L4 checksum offload is requested. - Specify TCP segmentation in more detail and add restriction on what kind of TCP control bits and options may be present in packets for which the offload is attempted. - Clarify how L3 offset, L4 offset and payload offset must be set. Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com>
- Loading branch information