Patent ID: 11902170
Assignee: nan
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method for managing a switch buffer, comprising:
establishing, for the switch, a hierarchical accounting structure to determine utilizations of different elements of the buffer on the switch, wherein the hierarchical accounting structure comprises one or more parent elements, and wherein each parent element is associated with one or more child elements;
determining a base utilization of a child element based on an amount of buffer space allocated to the child element and an amount of buffer space used by the child element;
determining an adaptive utilization of the child element based at least on the base utilization of the child element and a congestion state of a corresponding parent element, wherein determining the adaptive utilization of the child element comprises performing a table lookup operation; and
storing a packet associated with the child element in the buffer in response to the adaptive utilization of the child element being less than a predetermined threshold.