Reducing memory accesses in processing TCP/IP packets
Abstract
A method, computer program product and system for processing TCP/IP packets. A TCP protocol stack may store a payload of a received TCP/IP packet in a data fragment list. The TCP protocol stack may further read the header of the received packet to extract a value used to index into a table storing a list of transport control blocks (TCBs). The TCP protocol stack may further perform a lock and a read operation on the TCB indexed in the table. The TCP protocol stack may further transmit the payload to the TCP application without requiring the application to perform a lock, read, write or unlock operation on the indexed TCB since the TCP protocol stack and the TCP application are operating on the same thread. By the TCP application foregoing the lock, read, write and unlock operations on the TCB, there is a reduction in the number of memory accesses.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 4.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for processing packets of data comprising the steps of: receiving a packet of data; storing a payload of said packet of data in a buffer; reading a header of said packet of data to extract a value; indexing in a table storing a list of transport control blocks using said value; performing a lock operation on a transport control block in an indexed entry in said table; performing a read operation on said transport control block; transmitting a notification to an application to read said payload, wherein said notification comprises an address of said transport control block; and transmi
- Claim 2Depends on #1
The method as recited in claim 1 further comprising the step of: receiving
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗