Default route coding
First Claim
1. A method comprising:
- searching a plurality of mappers for a search result based on a search key, wherein at least one mapper comprises a first default route memory configured to store at least one value from a set of values comprising an inherit code and a default route index associated with a set of one or more entries corresponding to a set of one or more subtree nodes in a search tree, wherein the inherit code indicates that a default route index corresponding to the set of one or more subtree nodes is a default route index stored in a second default route memory associated with a root node corresponding to the set of one or more subtree nodes; and
returning the default route index stored in the second default route memory if the search key corresponds to an entry in the set of one or more entries corresponding to the set of one or more subtree nodes, the corresponding entry comprises a use default route indicator, and an inherit code is stored in the first default route memory.
3 Assignments
0 Petitions
Accused Products
Abstract
A multi-level lookup table includes a plurality of search levels with each search level including a plurality of subtrees, each subtree representing a plurality of nodes. A search of the multi-level lookup table for an entry corresponding to a search key results in a value stored in an entry associated with the node in a subtree. A default value is associated with the root of the subtree. Multiple entries for the subtree can store the default value. To minimize route update time, the default value associated with the subtree is stored in a single location. Instead of storing the default value in multiple entries, each entry stores a use default indicator to indicate that the default value stored in the single location is to be used. To further reduce the number of locations to modify to update the default route, the single location can store an inherit indicator to indicate that the default value for the subtree is inherited from another subtree.
-
Citations
26 Claims
-
1. A method comprising:
-
searching a plurality of mappers for a search result based on a search key, wherein at least one mapper comprises a first default route memory configured to store at least one value from a set of values comprising an inherit code and a default route index associated with a set of one or more entries corresponding to a set of one or more subtree nodes in a search tree, wherein the inherit code indicates that a default route index corresponding to the set of one or more subtree nodes is a default route index stored in a second default route memory associated with a root node corresponding to the set of one or more subtree nodes; and returning the default route index stored in the second default route memory if the search key corresponds to an entry in the set of one or more entries corresponding to the set of one or more subtree nodes, the corresponding entry comprises a use default route indicator, and an inherit code is stored in the first default route memory. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system comprising:
a plurality of mappers configured to return a search result in response to a search based on a search key, wherein a first mapper comprises a first default route memory configured to store at least one value from a set of values comprising an inherit code and a default route index associated with a set of one or more entries corresponding to a set of one or more subtree nodes in a search tree, wherein the inherit code indicates that a default route index for the set of one or more subtree nodes is a default route index stored in a second default route memory associated with a root node corresponding to the set of one or more subtree nodes, and wherein the plurality of mappers is configured to return the default route index stored in the second default route memory if the search key corresponds to an entry in the set of one or more entries corresponding to the set of one or more subtree nodes, the corresponding entry comprises a use default route indicator, and an inherit code is stored in the first default route memory. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
19. A system comprising:
means for returning a search result in response to a search based on a search key, wherein the means for returning a search result comprises a first means for storing entries, wherein the first means for storing entries comprises a first default route memory configured to store at least one value from a set of values comprising an inherit code and a default route index associated with a set of one or more entries corresponding to a set of one or more subtree nodes in a search tree, wherein the inherit code indicates that a default route index for the set of one or more subtree nodes is a default route index stored in a second default route memory associated with a root node corresponding to the set of one or more subtree nodes, and wherein the means for returning a search result returns the default route index stored in the second default route memory if the search key corresponds to an entry in the set of one or more entries corresponding to the set of one or more subtree nodes, the corresponding entry comprises a default route indicator, and an inherit code is stored in the first default route memory. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26)
Specification