fib6: add lookup runtime selection
authorVladimir Medvedkin <vladimir.medvedkin@intel.com>
Tue, 27 Oct 2020 15:11:27 +0000 (15:11 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 28 Oct 2020 20:29:11 +0000 (21:29 +0100)
commit6f53fcc7b2b3f62ec82adbca281cea6f851c9a8d
tree12e6ba3a236084460db82d64d80681eb0c3c1d16
parentb3509fa3653e940902a88044e6e1f24cb7bdea8d
fib6: add lookup runtime selection

Add type argument to trie_get_lookup_fn()
Now it only supports RTE_FIB6_LOOKUP_TRIE_SCALAR

Add new rte_fib6_select_lookup() - user can change lookup
function type runtime.

Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_fib/rte_fib6.c
lib/librte_fib/rte_fib6.h
lib/librte_fib/trie.c
lib/librte_fib/trie.h
lib/librte_fib/version.map