Interrupt coalescing scheme for high throughput tcp offload engine
AssigneeStorlink Semiconductors, Inc.
InventorsXI CHEN, XIAOCHONG CAO, YUNG-CHUNG LIU, CHIEN-HSIUNG CHANG, CHIH-HSIEN HSU
Life of this patent
Estimating the term…
Abstract
An interrupt coalescing scheme for high throughput TCP offload engine and method thereof are disclosed. An interrupt descriptor queue is used, that TCP offload engine saves TCP connection information and interrupt information in an interrupt event descriptor per interrupt. Meanwhile the software processes an interrupt by reading interrupt event descriptors asynchronously. The software may process multiple interrupt event descriptors in one interrupt context.
Claims8
An interrupt coalescing scheme for high throughput TCP offload engine, comprising:
- at least one interrupt descriptor queue, receiving and storing a plurality of interrupt events from a TCP offload engine, then said interrupt events executed by a software, wherein said interrupt descriptor queue comprising:
- a plurality of interrupt event descriptors, storing runtime information of said interrupt events copied from a plurality of TCP queue's headers in said TCP offload engine;
- and
- an interrupt queue header, containing and managing a plurality of event descriptor pointers for queuing, wherein said event descriptor pointers point to said interrupt event descriptors.
A method of handling interrupts in an interrupt coalescing scheme, comprising:
- a TCP offload engine copying a TCP connection information and a TCP queue's header information to an interrupt event descriptor in an interrupt descriptor queue;
- a descriptor write pointer in an interrupt queue header is incremented to indicate a new interrupt event descriptor has been added;
- and
- a software receiving an interrupt signal and reading at least one interrupt event descriptor in said interrupt descriptor queue.
Dependencies are inferred from the claim text.