# US 2012/0250512 A1 · Systems and Methods for Handling NIC Congestion via NIC Aware Application

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0250512 A1
- Document ID: US20120250512A1
- Status: Published application
- Kind: A1
- Application number: 13/073,709
- Filed: 2011-03-28
- Published: 2012-10-04
- Earliest claimed: 2011-03-28
- Assignees: Citrix Systems, Inc.
- Inventors: ASHOK KUMAR JAGADEESWARAN; Saravana Annamalaisami; Ramanjaneyulu Talla; Jyotheesh Rao Kurma; Mohit Saxena
- Web page: https://patentgrep.com/patent/US20120250512A1

## CPC

- H04L 47/30: in combination with information about buffer occupancy at either end or at transit nodes
- H04L 47/12: Avoiding congestion; Recovering from congestion
- H04L 47/17: Interaction among intermediate nodes, e.g. hop by hop
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

The present solution is directed to a system for handling network interface card (NIC) congestion by a NIC aware application. The system may include a device having a plurality of network interface cards (NICs), a transmission queue corresponding to a NIC of the plurality of NICs; and an overflow queue for storing packets for the NIC when congested. The system may also include an application executing on the device outputting a plurality of packets to the transmission queue responsive to detecting that the NIC is identified as not congested. The device identifies the NIC as congested responsive to determining that a number of packets stored in the transmission queue has reached a predetermined threshold and responsive to detecting identification of the NIC as congested, the application stores one or more packets to the overflow queue. The device transmits one or more of the plurality of packets stored in the transmission queue and transmits a predetermined number of packets from the overflow queue.

## Claims

### Claim 1

A method for handling network interface card (NIC) congestion by a NIC aware application, the method comprising:
(a) outputting, by an application executing on device having a plurality of network interface cards (NICs), a plurality of packets to a transmission queue corresponding to a NIC of the plurality of NICs, the application detecting that the NIC is identified as not congested;
(b) identifying, by the device, the NIC as congested responsive to determining that a number of packets stored in the transmission queue has reached a predetermined threshold;
(c) outputting, by the application responsive to detecting identification of the NIC as congested, one or more packets to an overflow queue;
(d) transmitting, by the device, one or more of the plurality of packets stored in the transmission queue; and
(e) transmitting, by the device, a predetermined number of packets from the overflow queue.

### Claim 2 (depends on 1)

The method of claim 1, wherein step (a) further comprises determining, by the device, that the number of packets stored in the transmission queue is below the predetermined threshold.

### Claim 3 (depends on 1)

The method of claim 1, further comprises identifying, by the device, the NIC as not congested.

### Claim 4 (depends on 1)

The method of claim 1, wherein step (a) further comprises outputting, by the application, the plurality of packets for a transport layer connection.

### Claim 5 (depends on 1)

The method of claim 1, wherein step (b) further comprises determining that the number of packets stored in the transmission queue has reached the predetermined threshold comprising a percentage of a size of the transmission queue.

### Claim 6 (depends on 1)

The method of claim 1, wherein step (c) further comprises determining, by an output function of the application, a status of congestion of the NIC.

### Claim 7 (depends on 1)

The method of claim 1, wherein step (c) further comprises outputting, by an output function of the application, the one or more packets to the overflow queue and returning to processing by the application.

### Claim 8 (depends on 1)

The method of claim 1, wherein step (d) further comprises transmitting, by the device, the one or more of the plurality of packets stored in the transmission queue on a per connection basis.

### Claim 9 (depends on 1)

The method of claim 1, wherein step (e) further comprises transmitting, by the device, the predetermined number of packets from the overflow queue corresponding to a predetermined number of connections identified in the overflow queue.

### Claim 10 (depends on 1)

The method of claim 1, wherein step (e) further comprises transmitting, by the device, the predetermined number of packets from the overflow queue corresponding to a transport layer connection.

### Claim 11

A system for handling network interface card (NIC) congestion by a NIC aware application, the system comprising:
a device having a plurality of network interface cards (NICs);
a transmission queue corresponding to a NIC of the plurality of NICs;
an overflow queue for storing packets for the NIC when congested;
an application executing on the device outputting a plurality of packets to the transmission queue responsive to detecting that the NIC is identified as not congested;
wherein the device identifies the NIC as congested responsive to determining that a number of packets stored in the transmission queue has reached a predetermined threshold;
wherein the application responsive to detecting identification of the NIC as congested, stores one or more packets to the overflow queue; and
wherein the device transmits one or more of the plurality of packets stored in the transmission queue and transmits a predetermined number of packets from the overflow queue.

### Claim 12 (depends on 11)

The system of claim 11, wherein the device determines that the number of packets stored in the transmission queue is below the predetermined threshold.

### Claim 13 (depends on 11)

The system of claim 11, wherein the device identifies the NIC as not congested.

### Claim 14 (depends on 11)

The system of claim 11, wherein the application outputs the plurality of packets for a transport layer connection.

### Claim 15 (depends on 11)

The system of claim 11, wherein the device determines that the number of packets stored in the transmission queue has reached the predetermined threshold comprising a percentage of a size of the transmission queue.

### Claim 16 (depends on 11)

The system of claim 11, wherein an output function of the application determines a status of congestion of the NIC.

### Claim 17 (depends on 11)

The system of claim 11, wherein an output function of the application stores the one or more packets to the overflow queue and returns to processing by the application.

### Claim 18 (depends on 11)

The system of claim 11, wherein the device transmits the one or more of the plurality of packets stored in the transmission queue on a per connection basis.

### Claim 19 (depends on 11)

The system of claim 11, wherein the device transmits the predetermined number of packets from the overflow queue corresponding to a predetermined number of connections identified in the overflow queue.

### Claim 20 (depends on 11)

The system of claim 11, wherein the device transmits the predetermined number of packets from the overflow queue corresponding to a transport layer connection.
