aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
AgeCommit message (Collapse)Author
2019-11-21linux-gen: include only ODP defines in autogenerated header filesMatias Elo
The config.h file has been split into three parts: autoheader_build.h: should NOT be included by ANY source file autoheader_external.h: can be included by any source file, including public headers autoheader_internal.h: can be included by any internal source file, but NOT by public headers autoheader_external.h and autoheader_internal.h are generated based on matching template files (*.in) and include only ODP defines. autoheader_build.h includes all build defines and should not be included by any source file. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2019-11-21gitignore: fix stamp-h1 pathMatias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2019-11-21linux-gen: include config.h header in install directoryMatias Elo
Previously, config.h header was not included in install dir. This caused a compilation failure when an application tried to include ODP helper headers. config.h has been moved to include/odp subdirectory to avoid naming conflicts and unnecessary includes have been removed. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Reported-by: Mikko Parpala <mikko.parpala@nokia.com>
2017-12-21test: build: enable cunit output to xmlMaxim Uvarov
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
2017-12-07gitignore add gcov filesMaxim Uvarov
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
2017-10-21.gitinore: ignore moved .pc filesDmitry Eremin-Solenikov
pkg-config files were moved, but I forgot to update .gitignore files. Update them now. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2017-10-16.gitignore: ignore only libtool m4 filesDmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2017-08-25configure: move configure header to include dirDmitry Eremin-Solenikov
It does not make sense to have config.h just in helper tree. It should be also used by the rest of the code. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2017-05-02.gitignore: add perf.dataBrian Brooks
Signed-off-by: Brian Brooks <brian.brooks@arm.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-10-24configure: the version cannot use a scriptMike Holmes
Use of a script in the autotools breaks github CI Define the API version in configure and reuse it in the code Benefits: removes dependence on scripts to build removes scripts and the make file from odp/scripts removes generated .scmversion file places api versioning right next to lib versioning in the configure.ac allows github to auto build odp repos Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-by: Brian Brooks <brian.brooks@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2016-04-01scripts: add builddpdkMaxim Uvarov
Add script to quickly build odp with dpdk pktio support. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Mike Holmes <mike.holmes@linaro.org>
2016-03-30gitignore: add .deb is .tar.gzMaxim Uvarov
Add generated by builddeb script .deb and .tar.gz files. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
2015-08-25scripts/git_hash: fix build from tar sourceAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-07-24gitignore: add ar-libMaxim Uvarov
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-07-23validation: use convenience libs rather than static libsStuart Haslam
Convert libraries used under test/validation to libtool convenience libraries (.la files) rather than regular static libraries. These are used elsewhere in the tree and allow for dependencies to be tracked automatically. Change-Id: I1dba179ce9151d277bd311f4c5430f85ecfe4b4f Signed-off-by: Stuart Haslam <stuart.haslam@linaro.org> Reviewed-by: Christophe Milard <christophe.milard@linaro.org>
2015-07-23gitignore: alphabetical sortMaxim Uvarov
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Mike Holmes <mike.holmes@linaro.org>
2015-07-23gitignore: add vims swap file and .libsMaxim Uvarov
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Mike Holmes <mike.holmes@linaro.org>
2015-07-09helper: convert to a libraryMike Holmes
Remove the need to build helper source files into the linux-generic library by converting helpers to be their own library. This removes the need for all other platforms to also build in the helpers which are optional just to run the tests. Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-by: Christophe Milard <christophe.milard@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2015-03-24gitignore: ignore TAGSAnders Roxell
gitignore when using ctags generated by make Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-12-23doc: move Makefile structure into doc dirAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-and-Tested-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-12-04.gitignore: ignore gcov output filesStuart Haslam
When generating coverage info gcov creates .gcda and .gcno files alongside each object file. Signed-off-by: Stuart Haslam <stuart.haslam@arm.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-11-26.gitignore: distribute the ignore file to sub dirsMike Holmes
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-by: Taras Kondratiuk <taras.kondratiuk@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-11-20test: rename cunit dir to validationMike Holmes
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-11-20cunit : add tests for crypto APIsAlexandru Badicioiu
This patch adds a suite for sync and async inplace mode of crypto APIs. Correctness of crypto operation output is verified with known test vectors. Various options and functionalities like use session IV or operation IV for ciphering are exercised for both modes. For async mode there are options to use input packet buffer or a separate buffer as the completion event and to set and retrieve the context associated with an operation from the completion event. Signed-off-by: Alexandru Badicioiu <alexandru.badicioiu@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-11-15gitignore: add the unit test odp_queueMike Holmes
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-11-11gitignore: hide log and tsr files in cunit dirAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-and-Tested-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-11-08gitignore: ignore test-driverAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-10-27gitignore: remove odp_packet_netmapAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-by: Ciprian Barbu <ciprian.barbu@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-10-08Add cunit test for APIs in odp_init.hMike Holmes
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-09-10Add IPsec example app to build environmentRobbie King
Signed-off-by: Robbie King <robking@cisco.com> Tested-by: Alexandru Badicioiu <alexandru.badicioiu@linaro.org> Reviewed-and Tested-by: Taras Kondratiuk <taras.kondratiuk@linaro.org> Reviewed-by: Bala Manoharan <bala.manoharan@linaro.org> Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-09-02move helper functions and rename to prefix to odph_Anders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Acked-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Stuart Haslam <stuart.haslam@arm.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-07-29api_test/Makefile.am: name exe after src fileMike Holmes
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Reviewed-by: Anders Roxell <anders.roxell@linaro.org>
2014-07-25Move ODP examples from under testsMike Holmes
The expectations of example code vs testing code is significantly different. This difference is more easily managed if tests and examples have their own root directory especially as the number of validation tests is increased for the ODP 1.0 release. For example test cases may be significantly more complex than a good example might be expected to be. In addition tests are not expected to have Doxygen documentation and tests will not be expected to be coherent, they will test isolated APIs and to do so may perform illegal combinations of calls making them poor examples. Signed-off-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-and-Tested-by: Ciprian Barbu <ciprian.barbu@linaro.org>
2014-07-04gitignore: updated .gitignore to handle autotoolise build artifactsJerin Jacob
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Reviewed-by: Anders Roxell <anders.roxell@linaro.org>
2014-06-09add odp prefix to l2fwdMaxim Uvarov
All odp applications have odp_ prefix. Adding the same prefix to l2fwd. Reviewed-by: Anders Roxell <anders.roxell@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-05-21gitignore: add test/l2fwd/l2fwdAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-05-08Add a test program: odp_generatorWeilong Chen
odp_generator can send/receive udp packets, or works like ping. Work mode: 1.send udp packets odp_generator -I eth0 --srcmac fe:0f:97:c9:e0:44 --dstmac 32:cb:9b:27:2f:1a --srcip 192.168.0.1 --dstip 192.168.0.2 -m u 2.receive udp packets odp_generator -I eth0 -m r 3.work likes ping odp_generator -I eth0 --srcmac fe:0f:97:c9:e0:44 --dstmac 32:cb:9b:27:2f:1a --srcip 192.168.0.1 --dstip 192.168.0.2 -m p Mandatory OPTIONS: -I, --interface Eth interfaces (comma-separated, no spaces) -a, --srcmac src mac address -b, --dstmac dst mac address -c, --srcip src ip address -d, --dstip dst ip address -s, --packetsize payload length of the packets -m, --mode work mode: send udp(u), receive(r), send icmp(p) -n, --count the number of packets to be send -t, --timeout only for ping mode, wait ICMP reply timeout seconds -i, --interval wait interval ms between sending each packet default is 1000ms. 0 for flood mode Signed-off-by: Weilong Chen <weilong.chen@linaro.org>
2014-04-28gitignore: add test/timer/odp_timer_testAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-04-18Revert "test: add libpcap example"Maxim Uvarov
This reverts commit 1aa4620f789d572a08441ce85ad4e39420d76fff. ODP libpcap support will be in separate git tree: git://git.linaro.org/lng/odp-apps.git as well as others 3-rh party applications. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Conflicts: .gitignore
2014-04-16gitignore: add test/api_test/odp_timerAnders Roxell
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
2014-04-10netmap cleanup and update to changes in socket exampleCiprian Barbu
Reworked the netmap pktio example to support any number of threads of execution and multiple interfaces to work on. The threads are no longer associated with pktios because of using odp_schedule that gets packets from any pktio. General cleanup changes were made, setting hardcoded values to defines, renaming some variables, modifying some comments. Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org>
2014-03-21test: add libpcap exampleVincent Hsu
Signed-off-by: Vincent Hsu <vincent.hsu@linaro.org>
2014-02-25update gitignore to not add patch filesMaxim Uvarov
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-02-17add build/ and tags to .gitignoreMaxim Uvarov
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2014-02-12Netmap pktio exampleCiprian Barbu
Signed-off-by: Ciprian Barbu <ciprian.barbu@linaro.org>
2014-01-29Git ignore: Ignore binary file test/api_test/odp_ringCarl Wallen
Signed-off-by: Carl Wallen <carl.wallen@linaro.org>
2013-12-23Connected packet IO and ODP queuesCarl Wallen
ODP queues can now be used to directly send and receive packets in the application. Currently only support using one default queue for receive and one default queue for transmit for each packet IO resource. The application needs to create the input queue and associate the queue with the packet IO resource (handle) by calling: input_queue = odp_queue_create(name, ODP_QUEUE_TYPE_PKTIN, param); odp_pktio_inq_setdef(pktio_handle, input_queue); Receive packets by calling: /* Use schedule to get buf from any input queue */ buf = odp_schedule_poll(); OR /* Dequeue from a specific input queue */ buf = odp_queue_deq(input_queue); Each packet IO resource is by default associated with one default output queue so the application only needs to query which queue to use to send packets: output_queue = odp_pktio_outq_getdef(pktio_handle); Transmit packets by calling: odp_queue_enq(output_queue, buf); An example is included in odp/test/packet/odp_example_packet.c: $> sudo ./packet/odp_packet -ieth2,eth5,eth6,eth7 -m 1 ... ... print number of packets received by each application thread ... Help: Usage: odp_packet OPTIONS E.g. odp_packet -i eth1,eth2,eth3 -m 0 OpenDataPlane example application. Mandatory OPTIONS: -i, --interface Eth interfaces (comma-separated, no spaces) -m, --mode 0: Burst send&receive packets (no queues) 1: Send&receive packets through ODP queues. Optional OPTIONS -h, --help Display help and exit. Signed-off-by: Carl Wallen <carl.wallen@linaro.org>
2013-12-17Initial ODP packet IO functionalityCarl Wallen
Added new ODP APIs for setting up basic packet IO: odp_pktio_t odp_pktio_open(char *dev, odp_buffer_pool_t pool) int odp_pktio_close(odp_pktio_t id) int odp_pktio_recv(odp_pktio_t id, odp_packet_t pkt_table[], unsigned len) int odp_pktio_send(odp_pktio_t id, odp_packet_t pkt_table[], unsigned len) An example using the API is located in odp/test/packet/odp_example_pktio.c Compile with the provided packet/Makefile and run with root privileges: $> sudo ./odp_packet -i eth0,eth1,eth2,eth3 The underlying implementation of ODP packet IO for linux-generic is based on linux raw packet sockets. The user can choose the socket 'mode' from one of the following (odp_packet_socket.c): #define ODP_PACKET_SOCKET_BASIC 0 /** use recv()/send() */ #define ODP_PACKET_SOCKET_MMSG 1 /** use recvmmsg()/sendmmsg() */ #define ODP_PACKET_SOCKET_MMAP 2 /** use PACKET_MMAP */ /** Choose one from the alternatives above */ #define ODP_PACKET_SOCKET_MODE (ODP_PACKET_SOCKET_MMAP) Signed-off-by: Carl Wallen <carl.wallen@linaro.org>