US Patent No. 9,729,460

METHOD AND SYSTEM FOR MANAGING PORT BANDWIDTH IN NETWORK DEVICES


Patent No. 9,729,460
Issue Date August 08, 2017
Title Method And System For Managing Port Bandwidth In Network Devices
Inventorship Muhammad Yousuf, Santa Clara, CA (US)
Assignee Arista Networks, Inc., Santa Clara, CA (US)

Claim of US Patent No. 9,729,460

18. A method for managing port bandwidth in network devices, the method comprising:
processing a first data packet, received by a first ingress port administrated by a first network chip, based on a first weight
assigned to the first network chip and an egress bandwidth, wherein the destination of the first data packet is an egress
port of a third network chip; and

processing a second data packet, received by a second ingress port administrated by the second network chip, based on the
second weight, and the egress bandwidth, wherein the destination of the second data packet is the egress port;

requesting, by the first network chip, a first credit for the first data packet from an egress credit scheduler associated
with the egress port for a virtual output queue (VOQ), wherein a credit balance of the VOQ is below a first threshold;

determining an amount of credits to be returned to the first network chip by the egress credit scheduler associated with the
egress port, wherein the amount of credits is based on the first weight and the egress bandwidth;

sending, by the egress credit scheduler, the amount of credits to the first network chip; and
adding, by the first network chip, the amount of credits to the credit balance of the VOQ.