# US 2010/0061238 A1 · Methods and apparatus for flow control associated with multi-staged queues

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

- Number: US 2010/0061238 A1
- Document ID: US20100061238A1
- Status: Published application
- Kind: A1
- Application number: 12/242,224
- Filed: 2008-09-30
- Published: 2010-03-11
- Earliest claimed: 2008-09-11
- Assignees: Juniper Networks, Inc.
- Inventors: Avanindra Godbole; Pradeep Sindhu; Jean-Marc Frailong
- Web page: https://patentgrep.com/patent/US20100061238A1

## CPC

- H04L 47/30: in combination with information about buffer occupancy at either end or at transit nodes
- H04L 47/10: Flow control; Congestion control
- H04L 47/11: Identifying congestion
- H04L 47/263: Rate modification at the source after receiving feedback
- H04L 47/266: {Stopping or restarting the source, e.g. X-on or X-off}
- H04L 47/50: Queue scheduling
- H04L 47/60: implementing hierarchical scheduling
- H04L 49/505: Corrective measures
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In one embodiment, a method, comprising receiving at a receive side of a physical link a request to suspend transmission of data from a queue within a transmit side of a first stage of queues and to suspend transmission via a path including the physical link, a portion of the first stage of queues, and a portion of a second stage of queues. The method includes sending, in response to the request, a flow control signal to a flow control module configured to schedule transmission of the data from the queue within the transmit side of the first stage of queues. The flow control signal is associated with a first control loop including the path and differing from a second control loop that excludes the first stage of queues.

## Claims

### Claim 1

A method, comprising:
receiving at a receive side of a physical link a request to suspend transmission of data from a queue within a transmit side of a first stage of queues and to suspend transmission via a path including the physical link, a portion of the first stage of queues, and a portion of a second stage of queues; and
sending, in response to the request, a flow control signal to a flow control module configured to schedule transmission of the data from the queue within the transmit side of the first stage of queues, the flow control signal being associated with a first control loop including the path and differing from a second control loop that excludes the first stage of queues.

### Claim 2 (depends on 1)

The method of claim 1, wherein the second flow control loop is a priority-based flow control loop.

### Claim 3 (depends on 1)

The method of claim 1, wherein the physical link is included in a third flow control loop different than the first flow control loop and different than the second flow control loop.

### Claim 4 (depends on 1)

The method of claim 1, wherein the data is queued at the queue within the transmit side of the first stage of queues, the request to suspend transmission includes an identifier associated with the queue within the transmit side of the first stage of queues.

### Claim 5 (depends on 1)

The method of claim 1, wherein the queue within the transmit side of the first stage of queues is included in a plurality of transmit queues included in the first stage of queues, the portion of the second stage of queues includes a transmit queue, the plurality of transmit queues included in the first stage of queues fans into the transmit queue included in the second stage of queues.

### Claim 6 (depends on 1)

The method of claim 1, wherein the request is a first request, the data is a first data,
the method farther comprising:
receiving, before the sending, a second request to suspend transmission of a second data via the path, the sending being in response to the first request and the second request.

### Claim 7 (depends on 1)

The method of claim 1, wherein the data is a first data queued at the queue within the transmit side of the first stage of queues,
the method further comprising:
receiving a second request to suspend transmission of at least a portion of a second data queued at the queue within the transmit side of the first stage of queues; and
defining a suspension time value based on the first request and based on the second request, the suspension time value representing a period of time for suspending transmission of the first data and the second data from the queue within the transmit side of the first stage of queues, the flow control signal includes the suspension time value.

### Claim 8 (depends on 1)

The method of claim 1, wherein the data is queued at the queue within the transmit side of the first stage of queues, the request includes a suspension time value defined based on an availability of a queue within a receive side of the first stage of queues, the flow control signal is defined based on the suspension time value.

### Claim 9 (depends on 1)

The method of claim 1, wherein the queue within the transmit side of the first stage of queues is a virtual queue, the flow control signal includes an identifier associated with the virtual queue.

### Claim 10

A processor-readable medium storing code representing instructions to cause a processor to perform a process, the code comprising code to:
include an identifier of a transmit queue within a data packet received at the transmit queue, the transmit queue being disposed on a transmit side of a physical link;
send the data packet to a receive queue via a transmission path that includes the transmit queue, the physical link, the receive queue, and a pair of queues associated with a flow control priority, the pair of queues being disposed within the transmission path between the receive queue and the transmit queue; and
receive from a receive side of the physical link a flow control signal defined in response to the portion of the data packet being received at the receive queue, the flow control signal including the identifier of the transmit queue.

### Claim 11 (depends on 10)

The processor-readable medium of claim 10, wherein the flow control signal includes a suspension time value associated with the identifier of the transmit queue.

### Claim 12 (depends on 10)

The processor-readable medium of claim 10, wherein the transmit queue and the receive queue are included in a first stage of queues, the pair of queues is included in a second stage of queues mutually exclusive from the first stage of queues.

### Claim 13 (depends on 10)

The processor-readable medium of claim 10, wherein the transmit queue and the receive queue are included in a first stage of queues, the pair of queues is included in a second stage of queues mutually exclusive from the first stage of queues, the flow control priority is included in a first plurality of flow control priorities associated with the second stage of queues, the first stage of queues is associated with a second plurality of flow control priorities different than the first plurality of flow control priorities.

### Claim 14 (depends on 10)

The processor-readable medium of claim 10, wherein the transmit queue is included in a plurality of transmit queues that fan into a queue from the pair of queues, the flow control signal is configured to trigger suspension of data transmissions from less than all transmit queues included in the plurality of transmit queues.

### Claim 15

A method, comprising:
receiving a first request to suspend transmission of a first data queued at a first stage of queues, the request associated with the first data being defined based on an availability of a first receive queue included in the first stage of queues, the first data being queued for transmission via a transmission path including a physical link and a portion of a second stage of queues disposed within the transmission path between the physical link and the first stage of queues;
receiving a second request to suspend transmission of a second data queued at the first stage of queues, the request associated with the second data being defined based an availability of a second receive queue included in the first stage of queues, the second data being queued for transmission via the transmission path; and
defining a flow control signal based on the first request and based on the second request.

### Claim 16 (depends on 15)

The method of claim 15, wherein the portion of the second stage of queues includes a transmit queue, the flow control signal is configured to trigger suspension of transmission of at least one of the first data or the second data such that data flow via the transmit queue included in the second stage is modified.

### Claim 17 (depends on 15)

The method of claim 15, wherein the first data is queued at a transmit queue included in the first stage of queues, the second data is queued at the transmit queue, the defining includes defining a suspension time value for the transmit queue based on the first request and based on the second request.

### Claim 18 (depends on 15)

The method of claim 15, wherein the defining includes defining a suspension time value, the suspension time value is encoded in the flow control signal based on a layer-2 protocol.

### Claim 19 (depends on 15)

The method of claim 15, wherein the first request includes a first suspension time value, the second request includes a second suspension time value different than the first suspension time value, the defining being performed in response to a condition associated with a comparison of the first suspension time value and the second suspension time value being satisfied.

### Claim 20 (depends on 15)

The method of claim 15, wherein the second stage of queues is a flow-controllable stage of queues, the physical link is a flow-controllable link.
