Multi-source credit management
AssigneeHewlett Packard Enterprise Development LP
InventorKaitlyn Margaret-Marie Walker
Life of this patent
Estimating the term…
Abstract
Examples herein involve managing credit returns in a multi-source credit managed communication system. In examples herein, a first amount of slots of a credit managed destination are allocated for a credit managed source and a second amount of slots of the credit managed destination are allocated for a secondary source. Credit returns are controlled to the credit managed source based on the second amount of slots and in response to a value of a counter that tracks an amount of data sent from the secondary source to the credit managed destination, an amount of data sent from the credit managed destination, the credit returns providing an ability for the first source to send data to the credit managed destination.
Claims17
A method to manage credits in a multi-source credit managed communication system, performed by a multi-source credit manager, the method comprising:
- allocating a first amount of slots of a credit managed destination for a credit managed source and a second amount of slots of the credit managed destination for a secondary source;
- responsive to a pop of data from the secondary source to the credit managed destination, incrementing a counter, wherein:
- the counter remains unchanged responsive to a pop of data from the credit managed source to the credit managed destination, and
- the counter indicates when the credit managed source or the secondary source can send data to the credit managed destination;
- and
- responsive to a pop of data from the credit managed destination, the pop indicating that the credit managed destination has released data:
- if the counter is zero, returning a credit to the credit managed source regardless of whether the popped data originated at the credit managed source or at the secondary source;
- and
- if the counter is greater than zero, decrementing the counter regardless of whether the popped data originated at the credit managed source or at the secondary source.
The method as defined in 1, further comprising:
- if the counter is less than the second amount of slots, setting a ready signal to indicate that the secondary source is able to send additional data to the credit managed destination;
- and
- if the counter is equal to the second amount of slots, setting the ready signal to indicate that the secondary source is unable to send additional data to the credit managed destination.
A non-transitory computer readable storage medium comprising instructions that, when executed, cause a machine to at least:
- in response to a pop signal received from a credit managed destination, adjust a counter of a credit managed communication system regardless of whether the pop signal corresponds to data originated at a credit managed source or at a secondary source, wherein the pop signal from the credit managed destination indicates that the credit managed destination has released data;
- in response to a pop signal received from the secondary source of the credit managed destination, adjust the counter, wherein the pop signal from the secondary source indicates that data was sent from the secondary source to the credit managed destination;
- in response to a pop signal received from the credit managed source, the counter remaining unchanged;
- and
- control credit returns to the credit managed source based on a value of the counter when the pop signal is received from the credit managed destination.
An apparatus to control credit returns in a credit managed communication system, the apparatus comprising:
- a processor;
- a memory storing code instructing that the processor execute:
- allocate an amount of slots of a credit managed destination for data received from a secondary source of the credit managed destination, the credit managed destination to receive data from a credit managed source and the secondary source;
- provide credit returns to the credit managed source based on a counter that tracks data sent from the secondary source to the credit managed destination in the credit managed communication system;
- and
- increment the counter when data is sent from the secondary source to the credit managed destination and decrement the counter when data is released from the credit managed destination regardless of whether the data originated at the credit managed source or at the secondary source.
Dependencies are inferred from the claim text.