aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/include/odp_packet_internal.h
AgeCommit message (Collapse)Author
2022-06-20Port 75260118d "linux-gen: packet: add missing subtype metadata to ↵Matias Elo
_odp_packet_copy_md()" 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-06-20Port 11f963aed "linux-gen: packet: put crypto and ipsec results in a union ↵Matias Elo
in packet hdr" 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 ae347d563 "linux-gen: pktio: always call *_packet_parse_common()"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 0316d4fab "linux-gen: parse: prefix non-static 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 3924507d7 "linux-gen: packet: move parse functions to new source files"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-22Port 8391b3548 "linux-gen: packet: add common packet metadata copy 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>
2022-04-22Port 4074942b2 "linux-gen: packet: remove unnecessary fields from ↵Matias Elo
_odp_packet_copy_cls_md()" 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 321f334eb "linux-gen: packet: rename internal classifier metadata copy ↵Matias Elo
function" 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 aba723f78 "linux-gen: packet: remove internal parser metadata copy ↵Matias Elo
function" 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 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-03-01Port 0ca93faa7 "linux-gen: packet: move user area pointer to packet header"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-03-01Port f7f7d94ea "linux-gen: packet: move user context pointer to packet header"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-12-17Port 1ad2f380e "linux-gen: packet: use common event header"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-12linux-dpdk: config: sync packet config defines with linux-genericMatias Elo
Sync packet config define names and values with linux-generic to enable LTO code reuse. 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-01-15Port e185f5343 "linux-gen: rename some global symbols in the static library"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 3b6b60a5c "linux-gen: classification: copy cos index into packet headers"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-04-09linux-dpdk: include only necessary dpdk headersMatias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2019-12-20linux-dpdk: pktio: optimize rx functionMatias Elo
Simplify rx function structure and minimize number of if-clauses on the fast path. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2019-12-02Port de6ad3f90 "linux-gen: pktio: reset all flags on packet input"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2019-01-29Port 884903373 "linux-gen: comp: add deflate/zlib implementation based on miniz"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
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 cd7c7b28 "linux-gen: packet: support SCTP packet insertion"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-09-11Port 0cf079bb "linux-gen: queue: remove internal queue handle conversions"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-07-11Port 68f26e2a "linux-gen: queue: remove abstract internal queue type"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-07-10Port 933a5991 "linux-gen: packet: add IPv4 checksum validation"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-05-15Port 49c671e8, 11207ff1, 3abbe8b7, f49289a7v1.19.0.1_DPDK_17.1Petri Savolainen
Fix build issues from the latest merge. These commits needed porting: 49c671e8 odp: pktio: add pcapng capture capabilities 11207ff1 linux-gen: use inlined event type function 3abbe8b7 linux-gen: event: inline event_type function f49289a7 linux-gen: buffer: remove buffer_inlines header file Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>i Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-04-26Port 79f5c10 "linux-gen: packet: l4 checksum insertion support"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-04-26Port 2c99a9d "linux-gen: packet: IPv4 checksum insertion"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-04-26Port 72febba "linux-gen: pktio: dpdk: accept UDPv4 packets with all-zero csum"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-04-25linux-dpdk: crypto: support AEAD en/decryptionDmitry Eremin-Solenikov
Add framework to support AEAD algorithms in odp_crypto. For now only AES-GCM is supported, because DPDK's AES-CCM API has additional requirements on AAD format. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Reviewed-and-tested-by: Matias Elo <matias.elo@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-04-25linux-dpdk: major rewrite of crypto moduleDmitry Eremin-Solenikov
Rewrite crypto module, simplifying operations, making them actually work. For now there is no support for AEAD modes (GCM, CCM), they will be supported later. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Reviewed-and-tested-by: Matias Elo <matias.elo@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-04-05linux-dpdk: fix various style problemsMatias Elo
Fix various checkpatch style warnings and errors. Signed-off-by: Matias Elo <matias.elo@nokia.com>
2018-04-03linux-dpdk: add missing rte_config includesDmitry Eremin-Solenikov
DPDK 17.11 requires inclusion of rte_config.h before including other DPDK headers. Add missing include directive. Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Reviewed-and-tested-by: Matias Elo <matias.elo@nokia.com> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-03-22Port 5e01519 "linux-gen: packet: clean up error and output flags"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-03-22Port 733ab61 "update Linaro Copyrights to 2018 year"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-03-22Port ea529e1 "linux-gen: packet: remove duplicate conversion"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-03-22Port 2f8d049 "linux-gen: packet: remove unused function"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-03-22Port 637a332 "linux-gen: packet: remove odp_packet_hdr function"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-03-22Port linux-gen, include: switch X.h to api+abi patchesMatias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-02-26linux-dpdk: clean type conversionsMatias Elo
Use type conversion inline functions instead of casts. Fixes clang errors about increased alignment requirements. Signed-off-by: Matias Elo <matias.elo@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-02-19Port c203135 "linux-gen: packet: add L3/L4 checksum validation flags"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-02-19Port bdcea40 "linux-gen: adapt to odp_pktio_parser_layer_t removal"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-02-19Port ecfb870 "linux-gen: don't include odp_ipsec_internal.h in ↵Matias Elo
odp_packet_internal.h" Signed-off-by: Matias Elo <matias.elo@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
2018-02-19Port 4ed1ca5 "linux-gen: event: move event subtype to packet header"Matias Elo
Signed-off-by: Matias Elo <matias.elo@nokia.com> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>