# US 2009/0268611 A1 · Method and system for bandwidth control on a network interface card

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

- Number: US 2009/0268611 A1
- Document ID: US20090268611A1
- Status: Published application
- Kind: A1
- Application number: 12/111,022
- Filed: 2008-04-28
- Published: 2009-10-29
- Earliest claimed: 2008-04-28
- Assignees: Sun Microsystems, Inc.
- Inventors: Anders D. Persson; Cesar A. C. Marcondes; Darrin P. Johnson; Kais Belgaied
- Web page: https://patentgrep.com/patent/US20090268611A1

## CPC

- H04L 47/10: Flow control; Congestion control
- H04L 47/2441: relying on flow classification, e.g. using integrated services [IntServ]
- H04L 47/28: in relation to timing considerations
- H04L 47/50: Queue scheduling
- H04L 47/568: {Calendar queues or timing rings}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for bandwidth control on a network interface card (NIC), the method that includes initiating a current time period, receiving a plurality of incoming packets for a receive ring, populating, by a NIC, the receive ring with the plurality of incoming packets according to a size of the receive ring during the current time period, wherein the size of the receive ring is based on an allocated bandwidth for the receive ring, and sending, by the NIC, the plurality of incoming packets to a host when a duration of the current time period elapses, wherein the duration is based on the allocated bandwidth for the receive ring.

## Claims

### Claim 1

A method for bandwidth control on a network interface card (NIC), the method comprising:
initiating a current time period;
receiving a plurality of incoming packets for a receive ring;
populating, by a NIC, the receive ring with the plurality of incoming packets according to a size of the receive ring during the current time period, wherein the size of the receive ring is based on an allocated bandwidth for the receive ring; and
sending, by the NIC, the plurality of incoming packets to a host when a duration of the current time period elapses, wherein the duration is based on the allocated bandwidth for the receive ring.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving a bandwidth parameter from the host for the receive ring, wherein the bandwidth parameter identifies the allocated bandwidth for the receive ring; and
setting, by the NIC, the size of the receive ring and the duration based on the bandwidth parameter.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
sending, by the NIC, a threshold number of the plurality of incoming packets to the host when the threshold number of the plurality of incoming packets is received.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
determining whether an interrupt is remaining in the current time period, wherein the current time period has a preset number of interrupts, and wherein the threshold number of the plurality of incoming packets are only sent when an interrupt is determined to be remaining.

### Claim 5 (depends on 4)

The method of claim 4, wherein the size of the receive ring is dependent on the preset number of interrupts and the bandwidth parameter.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
receiving, from the host, an outbound packet;
storing the outbound packet in a transmit ring within the NIC; and
determining whether the transmit ring stores a maximum number of outbound packets;
sending a stop signal to the host when the transmit ring is determined to store the maximum number of outbound packets; and
transmitting the outbound packet via a network when the transmit ring is determined not to store the maximum number of outbound packets.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
determining whether transmit ring is able to receive additional outbound packets after sending the stop signal; and
sending a resume signal to the host when the transmit ring is determined to be able to receive additional outbound packets.

### Claim 8 (depends on 1)

The method of claim 1, wherein setting the size of the receive ring comprises specifying a preset number of descriptors for the receive ring.

### Claim 9

A method for bandwidth control on a network interface card (NIC), the method comprising:
determining whether an expected dispersion duration has elapsed since a last interrupt time, wherein the expected dispersion duration is based on an allocated bandwidth for a receive ring;
identifying a subset of a plurality of packets in the receive ring, wherein the number of packets in the subset is based on the allocated bandwidth for the receive ring;
associating the subset with an available identifier when the expected dispersion duration has elapsed; and
sending, by the NIC, the subset to a host based on the available identifier.

### Claim 10 (depends on 9)

The method of claim 9, wherein identifying the subset of the plurality of packets in the receive ring comprises:
identifying an oldest packet in the receive ring based on an arrival time associated with each of the plurality of packets, wherein the oldest packet is a member of the subset.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
receiving the bandwidth parameter for the receive ring from the host, wherein the bandwidth parameter specifies the allocated bandwidth for the receive ring; and
setting, by the NIC, the expected dispersion duration based on the bandwidth parameter.

### Claim 12 (depends on 9)

The method of claim 9, further comprising:
receiving the plurality of packets for the receive ring; and
populating, by the NIC, the receive ring with the plurality of packets, wherein each of the plurality of packets are associated with an unavailable identifier and the arrival time.

### Claim 13

A network interface card, comprising:
a receive ring; and
a receive regulation engine configured to:
initiate a current time period;
receive a plurality of incoming packets for the receive ring;
populate the receive ring with the plurality of incoming packets according to a size of the receive ring during the current time period, wherein the size of the receive ring is based on an allocated bandwidth for the receive ring; and
send the plurality of incoming packets to a host when a duration of the current time period elapses, wherein the duration is based on the allocated bandwidth for the receive ring.

### Claim 14 (depends on 13)

The network interface card of claim 13, wherein the rate regulation engine is further configured to:
receive a bandwidth parameter from the host for the receive ring, wherein the bandwidth parameter identifies the allocated bandwidth for the receive ring; and
set the size of the receive ring and the duration based on the bandwidth parameter.

### Claim 15 (depends on 13)

The network interface card of claim 13, wherein the rate regulation engine is further configured to:
send a threshold number of the plurality of incoming packets to the host when the threshold number of the plurality of incoming packets is received.

### Claim 16 (depends on 15)

The network interface card of claim 15, wherein the rate regulation engine is further configured to:
determine whether an interrupt is remaining in the current time period, wherein the current time period has a preset number of interrupts, and wherein the threshold number of the plurality of incoming packets is only sent when an interrupt is determined to be remaining.

### Claim 17 (depends on 16)

The network interface card of claim 16, wherein the size of the receive ring is dependent on the preset number of interrupts and the bandwidth parameter.

### Claim 18 (depends on 13)

The network interface card of claim 13, further comprising:
a transmit regulation engine configured to:
receive, from the host, an outbound packet;
store the outbound packet in a transmit ring within the NIC; and
determine whether the transmit ring stores a maximum number of outbound packets; and
send a stop signal to the host when the transmit ring is determined to store the maximum number of outbound packets; and
outbound rate regulation engine configured to:
transmit the outbound packet via a network when the transmit ring is determined not to store the maximum number of outbound packets.

### Claim 19 (depends on 18)

The network interface card of claim 18, wherein the transmit regulation engine is further configured to:
determine whether a transmit ring is able receive additional outbound packets after sending the stop signal; and
send a resume signal to the host when the transmit ring is determined to be able to receive additional outbound packets.

### Claim 20 (depends on 13)

The network interface card of claim 13, wherein setting the size of the receive ring is performed by specifying a preset number of descriptors for the receive ring.
