Patent ID: 9699095
Date: 2017-07-04
CPC Classifications: H04L

Claim:
1. Communication apparatus, comprising: multiple ports configured for connection to a packet data network; a memory coupled to the ports and configured to contain, for each port, a respective first, fixed headroom allocation to hold packets received from the network through the port and to contain a shared headroom buffer, which is available to be shared among a plurality of the ports; and flow-control logic, which is configured to allocate to each of the ports, within the shared headroom buffer, a respective second, variable headroom allocation, which varies responsively to fill levels of the respective first headroom allocation and of the shared headroom buffer, thereby defining, for each of the ports, a respective total headroom allocation comprising the respective first and second headroom allocations, and which is configured to apply flow-control operations in response to the packets received from the network through each port responsively to a size of and a total fill level of the respective total headroom allocation of the port.