app/test: reduce IPv6 LPM data size
authorWei Dai <wei.dai@intel.com>
Thu, 29 Sep 2016 18:11:33 +0000 (02:11 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 13 Oct 2016 13:40:58 +0000 (15:40 +0200)
commit5450a8671bf38f56276ce7fb1dc97b55689270d3
treeab2bbb1dbedc4ec9f251c2f719e38ce7184b30ad
parent17d60f5b5eea64ed7402f12d0025d95260defa28
app/test: reduce IPv6 LPM data size

copy app/test/test_lpm6_routes.h to app/test/test_lpm6_data.h .
and then delete app/test/test_lpm6_routes.h and clear the
large_ips_table[ ] to make LPM6 test case size much smaller than
before. Also add codes in app/test/test_lpm6_data.h to generate test
data in large_ips_table[ ] at run time.

Signed-off-by: Wei Dai <wei.dai@intel.com>
app/test/test_lpm6.c
app/test/test_lpm6_data.h [new file with mode: 0644]
app/test/test_lpm6_perf.c
app/test/test_lpm6_routes.h [deleted file]