> -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, September 26, 2016 5:56 PM > To: Dai, Wei <wei.dai at intel.com> > Cc: dev at dpdk.org; Richardson, Bruce <bruce.richardson at intel.com> > Subject: Re: [dpdk-dev] [PATCH] app/test: remove large lpm test head file > > 2016-09-26 17:37, Wei Dai: > > remove the large file app/test/test_lpm_routes.h and add codes to > > auto-generate similar large route rule talbe 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 talbe. > > > > Signed-off-by: Wei Dai <wei.dai at intel.com> > > --- > > app/test/test_lpm.c | 2 +- > > app/test/test_lpm_perf.c | 268 +- > > app/test/test_lpm_routes.h | 1076861 > > ----------------------------------------- > > 3 files changed, 266 insertions(+), 1076865 deletions(-) delete mode > > 100644 app/test/test_lpm_routes.h > > Whaouh! Good news :) > This file is 21 MB. It should help to reduce the size of a tarball. > Are you working also on the IPv6 flavour? (7 MB to save)
Yes, I am designing an algorithm to auto-generate LPM IPv6 test route rule and test input data. As the number of next table to be checked during a looking-up varies much more and depends on the pre-injected rule sets, to keep the similar performance for looking-up is more difficult than IPv4. Regards /Wei