aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/include/odp
AgeCommit message (Collapse)Author
2022-06-30Port 13d89b506 "linux-gen: spinlock_recursive: inline implementation"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2022-06-30Port 91446aa2f "linux-gen: spinlock: inline implementation"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2022-06-30Port ad5f8b2c6 "linux-gen: event: move event header inline accessor offsets"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2022-06-20Port 12d3afa2d "linux_gen: remove crypto error from packet error flags"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2022-05-25Port 9e464f4ce "linux-gen: time: inline odp_time_diff_ns() function"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2022-05-25Port 346e832be "linux-gen: packet_flags: inline has error functions"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2022-05-25Port 65b9e351d "linux-gen: packet: inline packet getter functions"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2022-05-25Port bf79d7ede "linux-gen: packet_flags: inline input flags getter functions"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2022-05-25Port 9c4f7863c "linux-gen: packet: implement packet aging API"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2022-05-25Port b81e13439 "linux-gen: timer: inline small timer functions"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2022-05-25Port 4eee6de84 "api: event: split header file"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2022-04-22linux-dpdk: byteorder: add missing includeMatias Elo
Add missing odp/api/abi/byteorder.h include. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2022-04-22Port fb4766cf9 "linux-gen: packet: implement tx completion event APIs"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2022-04-22Port cf0e1c28d "linux-gen: packet: header include clean-up"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2022-04-22Port db63b1a9e "linux-gen: pktio: rename packet io source files"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2022-01-31linux-dpdk: packet: implement static references nativelyMatias Elo
Add support for native DPDK static packet references using inlined functions. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2021-11-11linux-dpdk: pool: move user area from buffer to shmJere Leppänen
Instead of storing the user area directly in each buffer, reserve a shared memory area for this purpose for each pool, and store only a pointer in each buffer. This is similar to linux-gen. Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
2021-10-04linux-dpdk: remove unused symbolic linksMatias Elo
Remove symbolic links to nonexistent files. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2021-08-19Port 9796d17e0 "api: std: rename std_clib module to std"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
2021-08-19Port b9649f99b "api: packet: add separate header for type definitions"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
2021-07-07Port 0cab1a61a "linux-gen: time: implement strict time stamp read functions"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2021-05-24linux-dpdk: packet_flags: fix implicit type conversionMatias Elo
Fix warning (-Wconversion) caused by an implicit cast in odp_packet_has_flow_hash() return value. The return value could be altered due to an implicit uint64_t to int conversion. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2021-03-12Port 2749003ce "linux-gen: packet: implement LSO related metadata APIs"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2021-03-12Port d07a44c6e "linux-gen: hash: prepare for arch specific implementations"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2021-01-15linux-dpdk: packet_vector: fix build on ppc64Matias Elo
DPDK ppc64 code may define 'vector' internally through altivec.h. Undef 'vector' after DPDK includes to avoid compilation failures with the new vector APIs, which use the same word. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2021-01-15Port f4dfaee6d "linux-gen: ipsec: revert usage of ipsec error flag"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2021-01-15Port 4027c43f0 "linux-gen: packet_vector: implement fast path functions"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2021-01-15Port 41f0150ee "linux-gen: packet_vector: implement event conversion functions"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2020-12-23Port d5b65d406 "linux-gen: unify ODP_ALIGNED usage"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2020-12-23Port bc416c655 "linux-gen: packet: implement odp_packet_ts_request() function"Matias Elo
Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2020-10-30Port 5c3b590dc "linux-gen: packet: add cls mark metadata"Matias Elo
Add classifier mark into packet metadata. odp_packet_hdr_t has been reorganized to make room for cls_mark. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2020-07-03Port 74f6abf3f "linux-gen: time: implement time stamp in nanoseconds"Matias Elo
Port commit from ODP linux-generic repository. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2020-07-03Port c4000434a "linux-gen: time: inline odp_time_to_ns"Matias Elo
Port commit from ODP linux-generic repository. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2020-04-09linux-dpdk: fix bool type overwrite on ppc64Matias Elo
Including rte_memcpy.h (directly or undirectly) may overwrite 'bool' type with incompatible non-standard type on ppc64 platforms. Error example: error: incompatible types when assigning to type '__vector __bool int {aka __vector(4) __bool int}' from type 'int' Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2019-11-21Port f21fc8050 "linux-gen: buffer: inline odp_buffer_addr()"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2019-11-21Port c9e8517c4 "linux-gen: buffer: inline event handle conversions"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2019-11-21linux-dpdk: packet: replace unnecessary _odp_pkt_get() calls with castsMatias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2019-11-21linux-dpdk: packet: inline packet seg data functionsMatias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2019-11-21linux-dpdk: packet: inline packet free functionsMatias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2018-12-20linux-dpdk: undef compiler for clangMaxim Uvarov
/usr/include/aarch64-linux-gnu/dpdk/rte_vect.h has neon intrisics which are not defined in gcc but are defined in clang. That is because rte_config.h has #define RTE_TOOLCHAIN_GCC 1 which is set there on compilation time. Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Matias Elo <matias.elo@nokia.com>
2018-12-13Port 2411cd30b "linux-gen: packet: implementation subtype api"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-09-17Port 4c797e84 "linux-gen: packet: parse SCTP packets and verify checksum"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-07-27linux-dpdk: byteorder: implement using dpdk functionsv1.19.0.2_DPDK_17.11Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-07-27linux-dpdk: packet: optimize odp_packet_copy_from_mem()Matias Elo
Sync implementation with linux-generic and use rte_memcpy. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-07-27linux-dpdk: packet: optimize odp_packet_copy_to_mem()Matias Elo
Sync implementation with linux-generic and use rte_memcpy. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-07-13Port 678c2a14 "linux-gen: time: inline diff, sum and cmp"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-07-13Port c6cc6d3a "linux-gen: time: inline arch cpu time on x86"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-07-11Port 2a9d3323 "linux-gen: queue: inline queue context"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-07-11Port f4f4dcee "linux-gen: cpu: inline cpu cycle functions on x86"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-07-11Port ec41adee "linux-gen: use inlined atomic functions everywhere"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>