Methods and systems for providing direct DMA
First Claim
1. A method for efficiently processing a received data packet, the method comprising:
- determining, by a network traffic management device, when a received data packet contains connection state information;
extracting, by the network traffic management device, the connection state information from the data packet when the data packet is determined to contain the connection state information;
storing, by the network traffic management device, the data packet in a non-contiguous packet buffer area and the connection state information extracted from the data packet as a special Direct Memory Access (DMA) descriptor in a contiguous ring buffer area configured to be capable of being accessible by a host processor, the stored connection state information comprising at least a state indicator; and
notifying, by the network traffic management device, the host processor that the special DMA descriptor has been stored, wherein the stored connection state information from the special DMA descriptor is configured to be capable of retrieval by the host processor.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and system for efficient direct DMA for processing connection state information or other expediting data packets. One example is the use of a network interface controller to buffer TCP type data packets that may contain connection state information. The connection state information is extracted from a received packet. The connection state information is stored in a special DMA descriptor that is stored in a ring buffer area of a buffer memory that is accessible by a host processor when an interrupt signal is received. The packet is then discarded. The host processor accesses the ring buffer memory only to retrieve the stored connection state information from the DMA descriptor without having to access a packet buffer area in the memory.
124 Citations
15 Claims
-
1. A method for efficiently processing a received data packet, the method comprising:
-
determining, by a network traffic management device, when a received data packet contains connection state information; extracting, by the network traffic management device, the connection state information from the data packet when the data packet is determined to contain the connection state information; storing, by the network traffic management device, the data packet in a non-contiguous packet buffer area and the connection state information extracted from the data packet as a special Direct Memory Access (DMA) descriptor in a contiguous ring buffer area configured to be capable of being accessible by a host processor, the stored connection state information comprising at least a state indicator; and notifying, by the network traffic management device, the host processor that the special DMA descriptor has been stored, wherein the stored connection state information from the special DMA descriptor is configured to be capable of retrieval by the host processor. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A non-transitory computer readable storage medium having stored thereon instructions for efficiently processing a received data packet comprising machine executable code which when executed by a processor, causes the processor to perform steps comprising:
-
determining when a received data packet contains connection state information; extracting the connection state information from the data packet when the data packet is determined to contain the connection state information; storing the data packet in a non-contiguous packet buffer area and the connection state information extracted from the data packet as a special Direct Memory Access (DMA) descriptor in a contiguous ring buffer area configured to be capable of being accessible by a host processor, the stored connection state information comprising at least a state indicator; and notifying the host processor that the special DMA descriptor has been stored, wherein the stored connection state information from the special DMA descriptor is configured to be capable of retrieval by the host processor. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A network traffic management device comprising:
-
a processor; a memory coupled to the processor and configured to be capable of executing programmed instructions comprising and stored in the memory to; determine when a received data packet contains connection state information; extract the connection state information from the data packet when the data packet is determined to contain the connection state information; store the data packet in a non-contiguous packet buffer area and the connection state information extracted from the data packet as a special Direct Memory Access (DMA) descriptor in a contiguous ring buffer area configured to be capable of being accessible by a host processor, the stored connection state information comprising at least a state indicator; and notify the host processor that the special DMA descriptor has been stored, wherein the stored connection state information from the special DMA descriptor is configured to be capable of retrieval by the host processor. - View Dependent Claims (12, 13, 14, 15)
-
Specification