]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
fib_trie: Add key vector to root, return parent key_vector in resize
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Fri, 6 Mar 2015 17:54:52 +0000 (09:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2015 20:49:28 +0000 (15:49 -0500)
commit88bae7149a5e980dc5a7488fba2fcb41286fd82e
tree0f4c58af217dd6e3603b68e744671b74f73c8a40
parentf23e59fbd77054d9e555ef398bb918320f9319e2
fib_trie: Add key vector to root, return parent key_vector in resize

This change makes it so that the root of the trie contains a key_vector, by
doing this we make room to essentially collapse the entire trie by at least
one cache line as we can store the information about the tnode or leaf that
is pointed to in the root.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c