TCP segmentation offload (TSO) using a hybrid approach of manipulating memory pointers and actual packet data
Abstract
Systems, apparatusses, and methods are disclosed for transmission control protocol (TCP) segmentation offload (TSO). A hardware TSO engine is capable of handling segmentation of data packets and consequent header field mutation of hundreds of flows simultaneously. The TSO engine generates data pointers in order to “cut up” the payload data of a data packet, thereby creating multiple TCP segments. Once the data of the data packet has been fetched, the TSO engine “packs” the potentially-scattered chunks of data into TCP segments, and recalculates each TCP segment's internet protocol (IP) length, IP identification (ID), IP checksum, TCP sequence number, and TCP checksum, as well as modifies the TCP flags. The TSO engine is able to rapidly switch contexts, and share the control logic amongst all flows.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 9.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for transmission control protocol (TCP) segmentation offload (TSO), the method comprising: generating descriptors for a data packet to be segmented into two or more TCP segments; generating pseudo descriptors according to the descriptors; accessing memory according to the pseudo descriptors to retrieve data related to the data packet; and building the TCP segments according to the pseudo descriptors, wherein the descriptors comprise a first descriptor that points to data and a second descriptor that describes an operation to perform on the data pointed to by the first descriptor.
- Claim 2Depends on #1
The method for TSO of claim 1 , wherein the method further comprises sending the descriptors to a TSO engine, which is configured to perform the generating pseudo descriptors according to the descriptors, the accessing memory according to the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗