distributor: switch over to new API
authorDavid Hunt <david.hunt@intel.com>
Mon, 20 Mar 2017 10:08:30 +0000 (10:08 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 29 Mar 2017 14:46:57 +0000 (16:46 +0200)
commitc0de0eb82e40a6c97decffd5328bd2761b05f300
tree7763bcffe2d100e6ac8f198a06f40130d9e1c9ab
parent063b8867012173015abd3e1f5dddddcad8ec382e
distributor: switch over to new API

This is the main switch over between the legacy API and the new
burst API. We rename all the functions in rte_distributor.c to remove
the _v1705, and we add in _v20 in the rte_distributor_v20.c

We also rename the rte_distributor_next.h as rte_distributor.h, as
this is now the public header.

At the same time, we need the autotests and sample app to compile
properly, hence those changes are in this patch also.

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
12 files changed:
examples/distributor/main.c
lib/librte_distributor/Makefile
lib/librte_distributor/rte_distributor.c
lib/librte_distributor/rte_distributor.h
lib/librte_distributor/rte_distributor_match_generic.c
lib/librte_distributor/rte_distributor_match_sse.c
lib/librte_distributor/rte_distributor_next.h [deleted file]
lib/librte_distributor/rte_distributor_private.h
lib/librte_distributor/rte_distributor_v20.c
lib/librte_distributor/rte_distributor_v20.h
test/test/test_distributor.c
test/test/test_distributor_perf.c