Skip to content

Commit

Permalink
fib_trie: Rename tnode to key_vector
Browse files Browse the repository at this point in the history
Rename the tnode to key_vector.  The key_vector will be the eventual
container for all of the information needed by either a leaf or a tnode.
The final result should be much smaller than the 40 bytes currently needed
for either one.

This also updates the trie struct so that it contains an array of size 1 of
tnode pointers.  This is to bring the structure more inline with how an
actual tnode itself is configured.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Alexander Duyck authored and David S. Miller committed Mar 6, 2015
1 parent 8d8e810 commit 35c6eda
Showing 1 changed file with 128 additions and 119 deletions.
Loading

0 comments on commit 35c6eda

Please sign in to comment.