Method for packet flow control using credit parameters with a plurality of limits
AssigneeMarvell International Ltd.
InventorJakob Carlström
Life of this patent
Estimating the term…
Abstract
The present invention relates to a processor and a method for processing a data packet, the method including steps of decreasing a value of a first credit parameter when the data packet is admitted to a processor at least partly based on the value of the first credit parameter and a first limit of the first credit parameter, and increasing the value of the first credit parameter, in dependence on a data storage level in a buffer in which the data packet is stored before being admitted to the processor, the value of the first credit parameter not being increased, so as to become larger than a second limit of the first credit parameter, when the buffer is empty.
Claims20
A method for processing a data packet, the method comprising:
- decreasing a value of a first credit parameter when the data packet is admitted to a processor at least partly based on the value of the first credit parameter;
- and
- increasing the value of the first credit parameter, in dependence on a data storage level in a buffer in which the data packet is stored before being admitted to the processor, the value of the first credit parameter not being increased, so as to become larger than a limit of the first credit parameter, when the buffer is empty.
A processor comprising:
- a first resource associated with a first credit parameter;
- and
- a second resource associated with a second credit parameter, the processor being configured to:
- decrease a value of the first credit parameter when a data packet is admitted to the processor at least partly based on the value of the first credit parameter;
- increase the value of the first credit parameter, in dependence on a value of the second credit parameter, the data packet being admitted to the processor based on the second credit parameter;
- and
- compare the value of the first credit parameter to a limit of the first credit parameter, and not increase the value of the first credit parameter, so as to become larger that than the limit of the first credit parameter when a value of the second credit parameter is below a limit of the second credit parameter.
A processor system comprising a processor, the processor configured to:
- decrease a value of a first credit parameter when a data packet is admitted to the processor at least partly based on the value of the first credit parameter;
- and
- increase the value of the first credit parameter, in dependence on a data storage level in a buffer configured to store the data packet before being admitted to the processor, the processor further configured to not increase the value of the first credit parameter, so as to become larger than a limit of the first credit parameter, when the buffer is empty.
Dependencies are inferred from the claim text.