Method and apparatus for an incremental update of a longest prefix match lookup table
First Claim
1. A method for updating a lookup table comprising the steps of:
- providing access to a first set of routes and associated first subtree entry stored in a first memory space in the lookup table through a first pointer to the first subtree entry; and
storing a second set of routes and associated second subtree entry in a second memory space in the lookup table; and
switching access to the second set of routes stored in the second memory by replacing the first pointer stored to the first subtree entry with a second pointer to the second subtree entry.
4 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for performing an incremental update of a lookup table while the lookup table is available for searching is presented. To add or delete a route, a second set of routes is stored in a second memory space in the lookup table, while access is provided to the first set of routes stored in a first memory space in the lookup table. Access is provided to the first memory space through a first pointer stored in a subtree entry. After storing the second set of routes in the second memory space, access is switched to the first set of routes in the first memory space by replacing the first pointer stored in the subtree entry with a second pointer to the second memory space.
97 Citations
12 Claims
-
1. A method for updating a lookup table comprising the steps of:
-
providing access to a first set of routes and associated first subtree entry stored in a first memory space in the lookup table through a first pointer to the first subtree entry; and
storing a second set of routes and associated second subtree entry in a second memory space in the lookup table; and
switching access to the second set of routes stored in the second memory by replacing the first pointer stored to the first subtree entry with a second pointer to the second subtree entry. - View Dependent Claims (2, 3, 4)
-
-
5. An apparatus for updating a lookup table comprising:
-
a first pointer to a first subtree entry, the first subtree entry providing access to a first set of routes stored in a first memory space; and
means for storing a second set of routes and associated second subtree entry in a second memory space while access is provided to the first set of routes stored in the first memory space by the first pointer and switching access to the second set of routes by replacing the first pointer with a second pointer to the second subtree entry, the second subtree entry providing access to the second memory space. - View Dependent Claims (6, 7, 8)
-
-
9. An apparatus for updating a lookup table comprising:
-
a first pointer to a first subtree entry, the first subtree entry providing access to a first set of routes stored in the first memory space;
a second memory space for storing a second set of routes and associated second subtree entry while access is provided to the first set of routes stored in the first memory space by the first pointer; and
logic which provides access to the second set of routes by replacing the first pointer with a second pointer to the second subtree entry, the second subtree entry providing access to the second memory space after the second set of routes are stored in the second memory. - View Dependent Claims (10, 11, 12)
-
Specification