lpm: add a new config structure for IPv4
authorMichal Kobylinski <michalx.kobylinski@intel.com>
Wed, 9 Mar 2016 16:57:16 +0000 (17:57 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 9 Mar 2016 22:05:05 +0000 (23:05 +0100)
commitf1f7261838b38f57fb1b3e62d1f97164439d017d
treedc9d154d184f192397c9b62e797056f7c57a6190
parentdc81ebbacaeb87d9dab302576ab676564c78557e
lpm: add a new config structure for IPv4

A new rte_lpm_config structure is used so LPM library will allocate
exactly the amount of memory which is necessary to hold application’s
rules.

Signed-off-by: Michal Kobylinski <michalx.kobylinski@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
17 files changed:
app/test/test_func_reentrancy.c
app/test/test_lpm.c
app/test/test_mp_secondary.c
app/test/test_table_combined.c
app/test/test_table_tables.c
doc/guides/rel_notes/release_16_04.rst
examples/ip_fragmentation/main.c
examples/ip_reassembly/main.c
examples/l3fwd-power/main.c
examples/l3fwd-vf/main.c
examples/l3fwd/l3fwd_lpm.c
examples/load_balancer/init.c
examples/performance-thread/l3fwd-thread/main.c
lib/librte_lpm/rte_lpm.c
lib/librte_lpm/rte_lpm.h
lib/librte_table/rte_table_lpm.c
lib/librte_table/rte_table_lpm.h