fib: add DIR24-8 dataplane algorithm
authorVladimir Medvedkin <vladimir.medvedkin@intel.com>
Fri, 1 Nov 2019 15:21:40 +0000 (15:21 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 5 Nov 2019 23:11:44 +0000 (00:11 +0100)
commit7dc7868b200d76e0990c9640f053d38b91426cd1
treebc011ec9705451888b234efcb59300ee1638de84
parent40d41a8a7b342f2cb77ceb500dacea87421b9d49
fib: add DIR24-8 dataplane algorithm

Add fib implementation for DIR24_8 algorithm for IPv4.
Implementation is similar to current LPM implementation but has
few enhancements:
faster control plane operations
more bits for userdata in table entries
configurable userdata size

Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
lib/librte_fib/Makefile
lib/librte_fib/dir24_8.c [new file with mode: 0644]
lib/librte_fib/dir24_8.h [new file with mode: 0644]
lib/librte_fib/meson.build
lib/librte_fib/rte_fib.c
lib/librte_fib/rte_fib.h