app/test: remove large IPv4 LPM data file
authorWei Dai <wei.dai@intel.com>
Tue, 27 Sep 2016 17:38:27 +0000 (01:38 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 13 Oct 2016 13:40:43 +0000 (15:40 +0200)
commit17d60f5b5eea64ed7402f12d0025d95260defa28
tree3d0f3bbfcb3b46583b28e5d3692620dda6d35314
parent4f117ebda0061b6182366eda5abfb740a6d3fc36
app/test: remove large IPv4 LPM data file

remove the large file app/test/test_lpm_routes.h and add codes to
auto-generate similar large route rule table which keeps same depth
and IP class distribution as previous one in test_lpm_routes.h .
With the rule table auto-generated at run time, the performance
of looking up keep similar to that from pervious constant table.

Signed-off-by: Wei Dai <wei.dai@intel.com>
app/test/test_lpm.c
app/test/test_lpm_perf.c
app/test/test_lpm_routes.h [deleted file]