CSNP cache for efficient periodic CSNP in a router
First Claim
1. A networking device for use in a network, the network device comprising:
- a link-state database storing a plurality of link state entries;
a cache, operatively coupled with the link-state database, the cache storing entries relating to the link state entries of the link-state database; and
at least one processor operatively coupled with the cache to;
determine a change to the link-state database;
coalesce the plurality of cache entries in response to said change to the link-state database, such that the cache has fewer cache entries after the coalescing;
update the cache entries in the cache;
determine that a complete range of possible link-state identifications is not represented in the cache entries;
add a new invalid entry into the cache; and
set a Protocol Data Unit (PDU) field of the new invalid entry to zero, and set a valid flag of the cache entry to true.
1 Assignment
0 Petitions
Accused Products
Abstract
A networking device such as a router may include, in one embodiment, a database storing a plurality of link state entries, and a cache operatively coupled with the database, the cache storing entries relating to the link state entries of the database. The networking device may also include a module for sending, over a network, packets including link state data, the module operatively coupled with the cache. In one example, the module accesses the cache to create one or more packets including link state data. Embodiments of the invention may be used for forming CSNP packets (complete sequence number packets) without the need for having to repeatedly walking a link state database in order to form the CNSP packets.
-
Citations
18 Claims
-
1. A networking device for use in a network, the network device comprising:
-
a link-state database storing a plurality of link state entries; a cache, operatively coupled with the link-state database, the cache storing entries relating to the link state entries of the link-state database; and at least one processor operatively coupled with the cache to; determine a change to the link-state database; coalesce the plurality of cache entries in response to said change to the link-state database, such that the cache has fewer cache entries after the coalescing; update the cache entries in the cache; determine that a complete range of possible link-state identifications is not represented in the cache entries; add a new invalid entry into the cache; and set a Protocol Data Unit (PDU) field of the new invalid entry to zero, and set a valid flag of the cache entry to true. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. An apparatus comprising:
-
at least one processor; and a non-transitory computer usable medium in communication with the at least one processor, the computer usable medium having stored therein computer readable code for execution and when executed operable to; determine a change to a link-state database which stores a plurality of link state entries which are related to a plurality of cache entries in a cache operatively coupled with the link-state database; coalesce the plurality of cache entries in response to said change to the link-state database, such that the cache has fewer cache entries after the coalescing; update the cache entries in the cache; determine that a complete range of possible link-state identifications is not represented in the cache entries; add a new invalid entry into the cache; and set a Protocol Data Unit (PDU) field of the new invalid entry to zero, and set a valid flag of the cache entry to true. - View Dependent Claims (14, 15, 16)
-
-
17. An apparatus comprising:
-
at least one processor; and a non-transitory computer usable medium in communication with the at least one processor, the computer usable medium having stored therein computer readable code for execution and when executed operable to; determine a change to a link-state database which stores a plurality of link state entries which are related to a plurality of cache entries in a cache operatively coupled with the link-state database; coalesce the plurality of cache entries in response to said change to the link-state database, such that the cache has fewer cache entries after the coalescing; update the cache entries in the cache; determine that a number of Link-State Packets (LSPs) for a cache entry exceeds a number of possible LSPs for that cache entry; and subdivide the cache entry into multiple cache entries to accommodate the LSPs. - View Dependent Claims (18)
-
Specification