# US 2017/0257328 A1 · Methods and apparatus for flow control associated with a switch fabric

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

- Number: US 2017/0257328 A1
- Document ID: US20170257328A1
- Status: Published application
- Kind: A1
- Application number: 15/601,519
- Filed: 2017-05-22
- Published: 2017-09-07
- Earliest claimed: 2010-12-01
- Assignees: Juniper Networks, Inc.
- Applicants: Juniper Networks, Inc.
- Inventors: Prashant Anand; Gunes Aybay; Arijit Sarcar; Hardik Bhalala
- Web page: https://patentgrep.com/patent/US20170257328A1

## CPC

- H04L 49/506: Backpressure
- H04L 47/26: using explicit feedback to the source, e.g. choke packets
- H04L 47/29: {using a combination of thresholds}
- H04L 49/1515: Non-blocking multistage, e.g. Clos
- H04L 49/254: {Centralised controller, i.e. arbitration or scheduling}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In some embodiments, an apparatus includes a flow control module configured to receive a first data packet from an output queue of a stage of a multi-stage switch at a first rate when an available capacity of the output queue crosses a first threshold. The flow control module is configured to receive a second data packet from the output queue of the stage of the multi-stage switch at a second rate when the available capacity of the output queue crosses a second threshold. The flow control module configured to send a flow control signal to an edge device of the multi-stage switch from which the first data packet or the second data packet entered the multi-stage switch.

## Claims

### Claim 1

An apparatus, comprising:
a memory; and
a processor operatively coupled to the memory, the processor configured to:
receive an indicator of an available capacity of an output queue of a stage of a multi-stage switch,
send a data packet sampling request to the multi-stage switch if the indicator of the available capacity of the output queue satisfies a condition,
receive, in response to the data packet sampling request, a data packet from the stage of the multi-stage switch,
determine, based on the data packet, an identifier of a source edge device of the data packet, and
send a first flow control signal to the source edge device of the data packet using a first flow control protocol such that the source edge device sends a second flow control signal to a source peripheral processing device operatively coupled to the source edge device using a second flow control protocol, the first flow control signal being different from the second flow control signal, the first flow control protocol being different from the second flow control protocol.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein:
the condition is a first condition, the indicator of the available capacity of the output queue satisfying the first condition when the available capacity of the output queue is less than a first threshold and greater than a second threshold,
the processor is configured to receive a first plurality of data packets including the data packet at a first rate when the indicator of the available capacity of the output queue satisfies the first condition,
the processor is configured to receive a second plurality of data packets excluding the data packet at a second rate when the available capacity of the output queue is less than the second threshold, the second rate being greater than the first rate.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the source peripheral processing device is configured to suspend data transmission to the source edge device, in response to receiving the second flow control signal from the source edge device.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the source edge device is configured to suspend data transmission to the multi-stage switch, in response to receiving the first flow control signal from the processor.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to send the first flow control signal to the source edge device via an out-of-band control plane connection.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to send the first flow control signal to the source edge within a data plane, via which the data packet is sent to the stage of the multi-stage switch.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein:
the first flow control signal includes a severity identifier indicating a congestion level at the output queue of the stage of the multi-stage switch, and
the processor is configured to send the first flow control signal such that the source edge device suspends data transmission to the multi-stage switch, based on the severity identifier in the first flow control signal.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to receive the data packet randomly from a plurality of data packets stored at the output queue of the stage of the multi-stage switch.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to receive the data packet that is received by the multi-stage switch substantially immediately after the processor sends the data packet sampling request to the multi-stage switch.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the processor is configured to receive the data packet that is stored at the output queue of the stage of the multi-stage switch before the processor sends the data packet sampling request to the multi-stage switch.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein the first flow control protocol is Ethernet pause, priority pause, quantized congestion notification, or quantum flow control.

### Claim 12

A method, comprising:
receiving an indicator of an available capacity of an output queue of a multi-stage switch;
when the available capacity of the output queue is less than a first threshold and greater than a second threshold, receiving a first plurality of data packets from the multi-stage switch at a first rate;
when the available capacity of the output queue is less than the second threshold, receiving a second plurality of data packets from the multi-stage switch at a second rate greater than the first rate; and
sending a flow control signal to a source edge device from which the first plurality of data packets or the second plurality of data packets entered the multi-stage switch such that the source edge device suspends data transmission to the multi-stage switch to increase the available capacity of the output queue.

### Claim 13 (depends on 12)

The method of claim 12, wherein the multi-stage switch is a Clos network.

### Claim 14 (depends on 12)

The method of claim 12, wherein the flow control signal is sent via an out-of-band control plane connection.

### Claim 15 (depends on 12)

The method of claim 12, wherein the flow control signal is sent within a data plane, via which the first plurality of data packets is sent to the multi-stage switch.

### Claim 16 (depends on 12)

The method of claim 12, wherein:
the flow control signal includes a severity identifier indicating a congestion level at the output queue of the stage of the multi-stage switch, and
the sending the flow control signal to the source edge device includes sending the flow control signal to the source edge device such that the source edge device suspends data transmission to the multi-stage switch, based on the severity identifier in the flow control signal.

### Claim 17

An apparatus, comprising:
a memory; and
a processor operatively coupled to the memory, the processor is configured to:
send, from an edge device of a multi-stage switch and to an output queue of a stage of the multi-stage switch, a data packet originated from a source peripheral processing device,
receive a first flow control signal including a first severity value when an available capacity of the output queue meets a first threshold, the first severity value indicating a first level of congestion at the output queue,
receive a second flow control signal including a second severity value when the available capacity of the output queue meets a second threshold, the second severity value indicating a second level of congestion at the output queue,
the available capacity of the output queue being greater at the first threshold than at the second threshold, and
send, to the source peripheral processing device, a third flow control signal based on the first flow control signal or the second flow control signal such that the source peripheral processing device suspends data transmission to the edge device.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the processor is configured to:
receive the first flow control signal in a first flow control protocol, and
send, to the source peripheral processing device, the third flow control signal in a second flow control protocol different from the first flow control protocol.

### Claim 19 (depends on 17)

The apparatus of claim 17, wherein the processor is configured to receive the first flow control signal via an out-of-band control plane connection.

### Claim 20 (depends on 17)

The apparatus of claim 17, wherein the multi-stage switch is a Clos network.
