# US 2021/0176161 A1 · System and method of processing in-place adjacency updates

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0176161 A1
- Document ID: US20210176161A1
- Status: Published application
- Kind: A1
- Application number: 17/148,727
- Filed: 2021-01-14
- Published: 2021-06-10
- Earliest claimed: 2015-02-19
- Assignees: Arista Networks, Inc.
- Applicants: Arista Networks, Inc.
- Inventors: Venkitraman Kasiviswanathan; Sriram Sellappa; Asang Kamalakar Dani
- Web page: https://patentgrep.com/patent/US20210176161A1

## CPC

- H04L 45/02: Topology update or discovery
- H04L 45/74: Address processing for routing
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method and apparatus of a network element that processes changes to forwarding information is described. In an exemplary embodiment, the network element receives an indication of a change to a network topology of the network. The network element forwarding information includes a first plurality of prefixes and a plurality of adjacencies and each of the first plurality of prefixes references one of the plurality of adjacencies. In addition, in response to receiving the indication of the change to the network topology, the network element identifies a change to the plurality of adjacencies. Furthermore, the network element updates, in-place, the plurality of adjacencies in-place with the change to the plurality adjacencies.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A non-transitory machine-readable medium having executable instructions to cause one or more processing units to perform a method to in-place update adjacencies stored by a first network element in a forwarding information base, the method comprising:
storing in memory a first next hop list associated with a plurality of network routes and comprising a plurality of identifiers of network elements each of which advertised, to the first network element, the plurality of network routes associated with the first next hop list;
detecting a route advertisement, received from a network element not in the first next hop list, changing next hops for a route associated with the first next hop list and, without modifying the adjacencies stored by the forwarding information base:
associating the network route advertised by the advertisement with a second next hop list, stored in the memory, different from the first next hop list; and
storing a link from the first next hop list to the second next hop list;
determining from the first and second next hop lists whether the network routes associated with each next hop list have converged;
recursively resolving a set of next hops based on the second next hop list; and
responsive to determining the network routes associated with each next hop list have converged, performing the in-place update to the adjacencies stored in the forwarding information base with the recursively-resolved set of next hops.

### Claim 22 (depends on 21)

The non-transitory machine-readable medium of claim 21, wherein:
the first next hop list is associated with an adjacency set entry in the forwarding information base; and
performing the in-place update to the adjacencies comprises identifying adjacencies for the in-place update based on the association of the first next hop list with the adjacency set entry.

### Claim 23 (depends on 21)

The non-transitory machine-readable medium of claim 21, wherein determining whether the network routes associated with each next hop list have converged comprises determining a cardinality of the first next hop list.

### Claim 24 (depends on 21)

The non-transitory machine-readable medium of claim 21, wherein:
storing a link from the first next hop list to the second next hop list comprises:
storing a first number of routes associated with the first next hop list; and
storing a second number of routes associated with the second next hop list; and
determining whether the network routes associated with each next hop list have converged comprises determining whether the first number and second number match.

### Claim 25 (depends on 24)

The non-transitory machine-readable medium of claim 24, wherein determining whether the network routes associated with each next hop list have converged further comprises determining whether the second number is one.

### Claim 26 (depends on 21)

The non-transitory machine-readable medium of claim 21, wherein determining whether the network routes associated with each next hop list have converged comprises determining whether a number of next hop lists linked to the second next hop list is one.

### Claim 27 (depends on 21)

The non-transitory machine-readable medium of claim 21 further comprising:
detecting a route advertisement, received from a network element not in the second next hop list, changing next hops for a route associated with the second next hop list and, without modifying the adjacencies stored by the forwarding information base:
associating the network route advertised by the advertisement with a third next hop list, stored in the memory, different from the first and second next hop lists; and
storing a link from the second next hop list to the third next hop list; and
wherein:
determining from the first and second next hop lists whether the network routes associated with each next hop list have converged comprises determining from the first, second and third next hop lists whether the network routes associated with the first, second, and third next hop lists have converged; and
responsive to determining the network routes associated with the first, second, and third next hop lists have converged, performing the in-place update to the adjacencies stored in the forwarding information base with the recursively-resolved set of next hops.

### Claim 28 (depends on 21)

The non-transitory machine-readable medium of claim 21 wherein:
in response to determining from the first and second next hop lists that the network routes associated with each next hop list are diverged, deferring performing the in-place update to the adjacencies stored in the forwarding information base with the recursively-resolved set of next hops.

### Claim 29 (depends on 28)

The non-transitory machine-readable medium of claim 28 further comprising:
receiving a third plurality of prefixes and redetermining based on the received third plurality of prefixes whether the network routes associated with each next hop list have converged.

### Claim 30 (depends on 28)

The non-transitory machine-readable medium of claim 28 further comprising:
tracking incoming update rate from newly arrived prefixes and continuing to defer performing of the in-place update until the incoming update rate is below a threshold.

### Claim 31

A method to process in-place update adjacencies stored by a first network element in a forwarding information base, the method comprising:
storing in memory a first next hop list associated with a plurality of network routes and comprising a plurality of identifiers of network elements each of which advertised, to the first network element, the plurality of network routes associated with the first next hop list;
detecting a route advertisement, received from a network element not in the first next hop list, changing next hops for a route associated with the first next hop list and, without modifying the adjacencies stored by the forwarding information base:
associating the network route advertised by the advertisement with a second next hop list, stored in the memory, different from the first next hop list; and
storing a link from the first next hop list to the second next hop list;
determining from the first and second next hop lists whether the network routes associated with each next hop list have converged;
recursively resolving a set of next hops based on the second next hop list; and
responsive to determining the network routes associated with each next hop list have converged, performing the in-place update to the adjacencies stored in the forwarding information base with the recursively-resolved set of next hops.

### Claim 32 (depends on 31)

The method of claim 31, wherein:
the first next hop list is associated with an adjacency set entry in the forwarding information base; and
performing the in-place update to the adjacencies comprises identifying adjacencies for the in-place update based on the association of the first next hop list with the adjacency set entry.

### Claim 33 (depends on 31)

The method of claim 31, wherein determining whether the network routes associated with each next hop list have converged comprises determining a cardinality of the first next hop list.

### Claim 34 (depends on 31)

The method of claim 31, wherein:
storing a link from the first next hop list to the second next hop list comprises:
storing a first number of routes associated with the first next hop list; and
storing a second number of routes associated with the second next hop list; and
determining whether the network routes associated with each next hop list have converged comprises determining whether the first number and second number match.

### Claim 35 (depends on 34)

The method of claim 34, wherein determining whether the network routes associated with each next hop list have converged further comprises determining whether the second number is one.

### Claim 36 (depends on 31)

The method of claim 31, wherein determining whether the network routes associated with each next hop list have converged comprises determining whether a number of next hop lists linked to the second next hop list is one.

### Claim 37 (depends on 31)

The method of claim 31 further comprising:
detecting a route advertisement, received from a network element not in the second next hop list, changing next hops for a route associated with the second next hop list and, without modifying the adjacencies stored by the forwarding information base:
associating the network route advertised by the advertisement with a third next hop list, stored in the memory, different from the first and second next hop lists; and
storing a link from the second next hop list to the third next hop list; and
wherein:
determining from the first and second next hop lists whether the network routes associated with each next hop list have converged comprises determining from the first, second and third next hop lists whether the network routes associated with the first, second, and third next hop lists have converged; and
responsive to determining the network routes associated with the first, second, and third next hop lists have converged, performing the in-place update to the adjacencies stored in the forwarding information base with the recursively-resolved set of next hops.

### Claim 38 (depends on 31)

The method of claim 31, wherein:
in response to determining from the first and second next hop lists that the network routes associated with each next hop list are diverged, deferring performing the in-place update to the adjacencies stored in the forwarding information base with the recursively-resolved set of next hops.

### Claim 39 (depends on 38)

The method of claim 38 further comprising:
receiving a third plurality of prefixes and redetermining based on the received third plurality of prefixes whether the network routes associated with each next hop list have converged.

### Claim 40 (depends on 38)

The method of claim 38 further comprising:
tracking incoming update rate from newly arrived prefixes and continuing to defer performing of the in-place update until the incoming update rate is below a threshold.
