Patent ID: 11860861
Assignee: ARISTA NETWORKS, INC.
Field: Digital communication (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 14:
15. A network element that adjusts a size of a shared table that is shared between a writer and a plurality of readers, the network element comprising:
a processor;
a memory coupled to the processor through a bus; and
a process executed from the memory by the processor to cause the processor to receive a first entry to be added to the shared table, in response to receiving the first entry, remap shared table to add a new storage segment to the shared table, add the first entry to the shared table, wherein the first entry is stored in the new storage segment, and update a shared table characteristic to indicate that the shared table has changed,
wherein the process executed from the memory by the process further causes the processor to delete a second entry in the shared table, determine that a number of active entries in the shared table is less than a threshold, determine a delete segment and an active segment in the shared table, copy an active entry from the delete segment to an entry in the active segment, remap the shared table to remove the delete segment, and update the shared table characteristics to indicate that the shared table has changed.