US 12,299,317 B2
Write order consistency for asynchronous hardware writes among distributed forwarding and hardware agents with versioned change log
Ashwini Kumar, San Jose, CA (US); Ramakrishna Paduvalli, Saratoga, CA (US); Ramya Edara, Cupertino, CA (US); Sriram Sellappa, San Jose, CA (US); and Suhas Joshi, San Jose, CA (US)
Assigned to Arista Networks, Inc., Santa Clara, CA (US)
Filed by Arista Networks, Inc., Santa Clara, CA (US)
Filed on Apr. 17, 2023, as Appl. No. 18/301,394.
Prior Publication US 2024/0345763 A1, Oct. 17, 2024
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0655 (2013.01) [G06F 3/0604 (2013.01); G06F 3/067 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method for maintaining order consistency for asynchronous writes in a network device, the method comprising:
issuing, by a feature agent of a network device, a plurality of writes to one or more software tables;
for each of the plurality of writes, adding a corresponding log entry to a log associated with the one or more software tables, wherein the corresponding log entry is versioned to identify an order of the write among the plurality of writes;
accessing, by a hardware agent of the network device, the log to select a next one of the corresponding log entries;
accessing, by the hardware agent, the software table to retrieve information from the software table corresponding to the selected one of the corresponding log entries; and
writing, by the hardware agent, the information retrieved from the software table to one or more hardware tables indicated by the write corresponding to the selected one of the corresponding log entries.