A method and apparatus to allocate resource capacity within an
interconnect device in accordance with a resource allocation table (e.g.,
a priority list) facilitate identification of a resource consumer to be
allocated a portion of the resource capacity in an efficient manner. The
resource allocation table stores a number of allocation entries
indicating an allocation of the resource capacity to a number of resource
consumers (e.g., virtual lanes). A ranking vector corresponding to a
first allocation entry within the allocation table is retrieved. A
pending request vector, indicating for which of the plurality of resource
consumers a resource request is pending, is generated. A selected
resource consumer to consume at least a portion of the resource capacity
is selected, the selection being performed utilizing the ranking vector
and the pending request vector. The ranking vector is derived from the
resource allocation table and comprises a list of resource consumers of
the plurality of resource consumers, the list being ordered in accordance
to an order of appearance of a first allocation entry for a respective
resource consumer within the resource allocation table.