Invention Grant
- Patent Title: Methods and apparatus for memory resource management in a network device
-
Application No.: US16105185Application Date: 2018-08-20
-
Publication No.: US10594631B1Publication Date: 2020-03-17
- Inventor: Aviran Kadosh
- Applicant: Marvell Israel (M.I.S.L) Ltd.
- Applicant Address: IL Yokneam
- Assignee: Marvell Israel (M.I.S.L) Ltd.
- Current Assignee: Marvell Israel (M.I.S.L) Ltd.
- Current Assignee Address: IL Yokneam
- Main IPC: H04L12/28
- IPC: H04L12/28 ; H04L12/861

Abstract:
Packets that are to be transmitted via a plurality of egress interfaces of a network device are stored in a memory of the network device. The packets are stored in a plurality of queues that respectively correspond to the egress interfaces. The network device determines a set of queues, from among the plurality of queues, for which packet dropping is enabled. The network device determines whether a utilization level of the memory meets a threshold. In response to determining that the utilization level of the memory meets the threshold: the network device randomly or pseudorandomly selects a first queue from the set of queues for which packet dropping is enabled, dequeues a first packet from the selected first queue, and deletes the first packet that was dequeued from the selected first queue.
Information query