Reviewed-and-tested-by: Brian Brooks <brian.bro...@linaro.org>
On 01/23 14:46:04, Mike Holmes wrote: > Greatly reduce the proliferation of helper includes that every app needs > Make the public helper API very obvious > Fix recent inclusion of table APIs that were not in the helper include dir and > were not exported during install. > > Mike Holmes (4): > helper: add odph_api.h for existing exported headers > helper: use odph_api.h for test include for unexported files > test: use odph_api.h > examples: use odph_api.h > > example/classifier/odp_classifier.c | 4 +-- > example/generator/odp_generator.c | 6 +--- > example/ipsec/odp_ipsec.c | 6 +--- > example/ipsec/odp_ipsec_fwd_db.h | 1 - > example/ipsec/odp_ipsec_loop_db.h | 1 - > example/ipsec/odp_ipsec_misc.h | 4 +-- > example/ipsec/odp_ipsec_stream.c | 4 +-- > example/l2fwd_simple/odp_l2fwd_simple.c | 4 +-- > example/l3fwd/odp_l3fwd.c | 6 +--- > example/l3fwd/odp_l3fwd_db.h | 2 +- > example/packet/odp_pktio.c | 4 +-- > example/switch/odp_switch.c | 4 +-- > example/time/time_global_test.c | 2 +- > example/timer/odp_timer_test.c | 2 +- > helper/Makefile.am | 11 +++--- > helper/cuckootable.c | 2 +- > helper/hashtable.c | 2 +- > helper/include/odp/helper/odph_api.h | 39 > ++++++++++++++++++++++ > helper/{ => include/odp/helper}/odph_cuckootable.h | 0 > helper/{ => include/odp/helper}/odph_hashtable.h | 0 > .../{ => include/odp/helper}/odph_iplookuptable.h | 0 > helper/{ => include/odp/helper}/odph_lineartable.h | 0 > helper/iplookuptable.c | 2 +- > helper/lineartable.c | 2 +- > helper/test/chksum.c | 4 +-- > helper/test/cuckootable.c | 2 +- > helper/test/iplookuptable.c | 2 +- > helper/test/odpthreads.c | 2 +- > helper/test/parse.c | 3 +- > helper/test/table.c | 3 +- > test/common_plat/common/odp_cunit_common.c | 2 +- > test/common_plat/performance/odp_crypto.c | 2 +- > test/common_plat/performance/odp_l2fwd.c | 4 +-- > test/common_plat/performance/odp_pktio_perf.c | 5 +-- > test/common_plat/performance/odp_sched_latency.c | 2 +- > test/common_plat/performance/odp_scheduling.c | 2 +- > .../api/classification/odp_classification_common.c | 4 --- > .../classification/odp_classification_test_pmr.c | 4 --- > .../api/classification/odp_classification_tests.c | 4 --- > .../classification/odp_classification_testsuites.h | 1 + > test/common_plat/validation/api/pktio/pktio.c | 4 +-- > test/common_plat/validation/api/timer/timer.c | 2 +- > .../validation/api/traffic_mngr/traffic_mngr.c | 6 +--- > test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c | 4 +-- > test/linux-generic/pktio_ipc/ipc_common.h | 5 +-- > test/linux-generic/ring/ring_stress.c | 2 +- > 46 files changed, 80 insertions(+), 97 deletions(-) > create mode 100644 helper/include/odp/helper/odph_api.h > rename helper/{ => include/odp/helper}/odph_cuckootable.h (100%) > rename helper/{ => include/odp/helper}/odph_hashtable.h (100%) > rename helper/{ => include/odp/helper}/odph_iplookuptable.h (100%) > rename helper/{ => include/odp/helper}/odph_lineartable.h (100%) > > -- > 2.9.3