# US 2017/0289066 A1 · Facilitating communication of data packets using credit-based flow control

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

- Number: US 2017/0289066 A1
- Document ID: US20170289066A1
- Status: Published application
- Kind: A1
- Application number: 15/086,990
- Filed: 2016-03-31
- Published: 2017-10-05
- Earliest claimed: 2016-03-31
- Assignees: Mellanox Technologies Tlv Ltd.
- Applicants: Mellanox Technologies TLV Ltd.
- Inventors: Zachy Haramaty; Ran Ravid; Oded Wertheim
- Web page: https://patentgrep.com/patent/US20170289066A1

## CPC

- H04L 49/552: by ensuring the integrity of packets received through redundant connections
- H04L 47/263: Rate modification at the source after receiving feedback
- H04L 47/27: Evaluation or update of window size, e.g. using information derived from acknowledged [ACK] packets
- H04L 47/30: in combination with information about buffer occupancy at either end or at transit nodes
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Apparatuses and methods are described that provide for credit based flow control in a network in which a public buffer is supported at a receiver node, where a transmitter node can control the use of the public buffer. In particular, the transmitter node determines a buffer credit value (TCRi) for each virtual lane of the transmitter node. The buffer credit value (TCRi) is negative (e.g., less than 0) in an instance in which a respective virtual lane private buffer is fully used and thus reflects a loan of credits from the public buffer. In addition, the transmitter node knows the needed buffer size per virtual lane for transmitting a packet in advance based on the round trip time (RTT) and maximum transmission unit (MTU) for the packet and is precluded from consuming more space on the public buffer than required to meet RTT.

## Claims

### Claim 1

An apparatus for managing flow control of data between a transmitter node and a receiver node, the apparatus comprising:
a transmitter node configured to determine a buffer credit value (TCRi) for each virtual lane of the transmitter node,
wherein the buffer credit value (TCRi) is negative in an instance in which a respective virtual lane private buffer is fully used and at least a portion of a public buffer of the corresponding receiver node is used by the respective virtual lane.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the transmitter node is further configured to calculate a loan of buffer credit from the corresponding receiver node with respect to the public buffer based on an absolute value of a sum of negative buffer credit values (TCRi) for each virtual lane of the transmitter node.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the transmitter node is configured to determine the amount of the public buffer remaining by subtracting the loan of buffer credit required from a buffer size of the public buffer.

### Claim 4 (depends on 1)

The apparatus of claim 1, wherein the transmitter node is configured to allow transmission of a packet over a corresponding virtual lane if the buffer credit value (TCRi) for the corresponding virtual lane plus an amount of the public buffer remaining is greater than 0.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the transmitter node is configured to determine the buffer credit value (TCRi) for each virtual lane of the transmitter node by subtracting a Flow Control Total Blocks Sent (FCTBS) from a flow control credit limit (FCCL).

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the transmitter node is configured allow transmission of the packet only if the buffer credit value (TCRi) required for transmitting the packet via the corresponding virtual lane plus the amount of data to be buffered over a round trip time (RTT) of transmission of the packet is greater than zero.

### Claim 7

A method of managing flow control of data between a transmitter node and a receiver node, the method comprising:
determining, in a transmitter node, a buffer credit value (TCRi) for each virtual lane of the transmitter node,
wherein the buffer credit value (TCRi) is negative in an instance in which a respective virtual lane private buffer is fully used and at least a portion of a public buffer of the corresponding receiver node is used by the respective virtual lane.

### Claim 8 (depends on 7)

The method of claim 7 further comprising calculating, in the transmitter node, a loan of buffer credit from the corresponding receiver node with respect to the public buffer based on an absolute value of a sum of negative buffer credit values (TCRi) for each virtual lane of the transmitter node.

### Claim 9 (depends on 8)

The method of claim 8 further comprising determining, in the transmitter node, the amount of the public buffer remaining by subtracting the loan of buffer credit required from a buffer size of the public buffer.

### Claim 10 (depends on 7)

The method of claim 7 further comprising allowing transmission of a packet over a corresponding virtual lane if the buffer credit value (TCRi) for the corresponding virtual lane plus an amount of the public buffer remaining is greater than 0.

### Claim 11 (depends on 7)

The method of claim 7, wherein determining the buffer credit value (TCRi) for each virtual lane of the transmitter node comprises subtracting a Flow Control Total Blocks Sent (FCTBS) from a flow control credit limit (FCCL).

### Claim 12 (depends on 7)

The method of claim 7, wherein calculating the loan of buffer credit available from the corresponding receiver node comprises determining, in the transmitter node, whether a loan was made to each respective virtual lane from a public buffer, wherein a loan is determined to have been made in an instance in which the buffer credit value for the respective virtual lane (TCRi) is less than 0.

### Claim 13 (depends on 7)

The method of claim 7, wherein transmission of the packet is allowed only if the buffer credit value (TCRi) required for transmitting the packet via the corresponding virtual lane plus the amount of data to be buffered over a round trip time (RTT) of transmission of the packet is greater than zero.

### Claim 14 (depends on 7)

The method of claim 7, wherein each virtual lane is allotted a predetermined portion of the public buffer, and wherein transmission of the packet via a particular virtual lane is precluded in an instance in which the buffer credit value (TCRi) for the particular virtual lane is negative and the particular virtual lane has used a respective predetermined portion of the public buffer allotted to the particular virtual lane.

### Claim 15

An apparatus for managing flow control of data between a transmitter node and a receiver node, the apparatus comprising:
means for determining, in a transmitter node, a buffer credit value (TCRi) for each virtual lane of the transmitter node,
wherein the buffer credit value (TCRi) is negative in an instance in which a respective virtual lane private buffer is fully used and at least a portion of a public buffer of the corresponding receiver node is used by the respective virtual lane.

### Claim 16 (depends on 15)

The apparatus of claim 15 further comprising means for calculating a loan of buffer credit from the corresponding receiver node with respect to the public buffer based on an absolute value of a sum of negative buffer credit values (TCRi) for each virtual lane of the transmitter node.

### Claim 17 (depends on 16)

The apparatus of claim 16 further comprising means for determining the amount of the public buffer remaining by subtracting the loan of buffer credit required from a buffer size of the public buffer.

### Claim 18 (depends on 15)

The apparatus of claim 15 further comprising program code instructions for allowing transmission of a packet over a corresponding virtual lane if the buffer credit value (TCRi) for the corresponding virtual lane plus an amount of the public buffer remaining is greater than 0.

### Claim 19 (depends on 15)

The apparatus of claim 15, wherein the buffer credit value (TCRi) for each virtual lane of the transmitter node is determined by subtracting a Flow Control Total Blocks Sent (FCTBS) from a flow control credit limit (FCCL).

### Claim 20 (depends on 15)

The apparatus of claim 15, wherein transmission of the packet is allowed only if the buffer credit value (TCRi) required for transmitting the packet via the corresponding virtual lane plus the amount of data to be buffered over a round trip time (RTT) of transmission of the packet is greater than zero.
