aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/abi-default/event.h
AgeCommit message (Collapse)Author
2022-03-18api: event: split header filePetri Savolainen
Split event.h API file into separate files for types and functions. This avoids circular dependency between event and packet headers. While updating dependencies from event.h to event_types.h, simplify API header file dependencies: - API files depend mostly on type headers of other APIs - move header includes from include/odp/api header files to spec files Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
2021-12-09api: event: add DMA completion event typePetri Savolainen
Added new event type ODP_EVENT_DMA_COMPL for DMA transfer completion events. Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
2021-03-31api: event: introduce packet Tx completion eventNithin Dabilpuram
Introduce packet Tx completion event which indicates a packet's Tx completion. It also holds a user defined context pointer. This patch also adds odp_packet_tx_compl_t type handling functions to free the compl to platform, and to get user context pointer from odp_packet_tx_compl_t event. Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2020-11-19api: event: introduce packet vector eventJerin Jacob
Introduce packet vector events which hold an array of odp_packet_t. This patch also introduce the odp_packet_vector_from_event() and odp_packet_vector_to_event() event conversion APIs. In order to build the linux-generic in --disable-abi-compat mode, A dummy definition of odp_packet_vector_t has been added. Signed-off-by: Matias Elo <matias.elo@nokia.com> Signed-off-by: Jerin Jacob <jerinj@marvell.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2020-09-03abi: event: fixup typedefs for doxygenStanislaw Kardach
Newer doxygen (1.8.17) is treating enum <name> and typedef ... <name> as different definitions and therefore warns about undocumented enumerations. Therefore eliminate the unused enumeration names as only the typedef definition exists in the API and therefore the only valid variable definition is: odp_event_type_t foo; Not: enum odp_event_type_t foo; Signed-off-by: Stanislaw Kardach <skardach@marvell.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jerin Jacob <jerinj@marvell.com> Reviewed-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
2018-12-26api: event: define ODP_EVENT_PACKET_COMPDmitry 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>
2018-02-26update Linaro Copyrights to 2018 yearMaxim Uvarov
Using simple commands: find . -not -path .git -type f -exec \ sed -i -E 's/ (201[0-9]), Linaro/ \1-2018, Linaro/g' {} + find . -not -path .git -type f -exec \ sed -i -E 's/ (201[0-9])(-201[0-9]), Linaro/ \1-2018, Linaro/g' {} + Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
2018-02-05linux-gen: packet: inline conversions between packet and eventPetri Savolainen
Inline implementation of packet_from_event and packet_to_event functions. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-01-18include: move default ABI headersDmitry Eremin-Solenikov
Reduce amount of directory levels by moving default ABI headers to odp/api/abi-default. 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>