aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/include/odp
AgeCommit message (Collapse)Author
2023-08-17linux-dpdk: time: refactor implementationMatias Elo
Simplify and optimize performance of time implementation by supporting only DPDK time API. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2023-08-17Port 009ee2e68 "linux-gen: timer: implement odp_timeout_from_event_multi() ↵Matias Elo
function" Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2023-08-17Port d158bbd99 "linux-gen: dma: inline completion event conversion 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>
2023-08-08Port 1780ca316 "linux-gen: packet: implement free control 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>
2023-08-08Port 875d5bb72 "api: time: split header 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>
2023-02-24Port a735a7131 "linux-gen: event: add event validation support"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>
2023-02-24Port 579d81057 "api: buffer: split header 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>
2023-02-24Port 76e996322 "linux-gen: crypto: inline odp_crypto_result() 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>
2023-02-24Port e2eb952cc "linux-gen: crypto: inline event conversion 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-12-13Port 19bcb9061 "linux-gen: buffer: implement multi variants of event ↵Matias Elo
conversion functions" Port original commit from linux-generic. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2022-12-13Port c0871ea33 "linux-gen: move inline offset variable declarations"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-12-13Port 4a3bb9ca4 "linux-gen: ipsec: inline odp_ipsec_result() 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-12-13Port 0a8460c27 "linux-gen: ipsec: inline event conversion 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-11-17Port 75e922c70 "linux-gen: packet: inline odp_packet_ts_set() implementation"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-11-17linux-dpdk: buffer: inline odp_buffer_is_valid() implementationMatias Elo
Inline implementation of odp_buffer_is_valid() function. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2022-11-17Port 5fb9fc0af "linux-gen: buffer: inline odp_buffer_user_area() implementation"Matias Elo
Port original commit from linux-generic. Unused internal _odp_buffer_type functions have been removed. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2022-11-17Port 30fba5dd7 "linux-gen: event: add debug type checks to event conversion ↵Matias Elo
functions" 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-11-17Port 4c59e3d73 "linux-gen: packet: inline odp_packet_ts_request() ↵Matias Elo
implementation" 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-11-17Port c18cb9380 "linux-gen: packet: inline odp_packet_user_ptr_set() ↵Matias Elo
implementation" 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-11-17Port 3997b8ee6 "linux-gen: packet: inline layer offset set 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>
2022-11-17Port 9ff94c287 "linux-gen: packet: inline checksum insert 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>
2022-11-17Port e92317acf "linux-gen: packet: inline checksum status 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>
2022-11-17Port 4d801d45b “linux-gen: packet: inline packet protocol type 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>
2022-11-17Port 3eb6d1a8e "linux-gen: packet: inline odp_packet_cls_mark() implementation"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-11-17Port 1d0bdb7bb "linux-gen: sched: inline fast path api 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>
2022-11-17Port c368aeebf "linux-gen: rwlock: inline recursive reader/writer lock ↵Matias Elo
implementation" 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-11-17Port d936ea858 "linux-gen: rwlock: inline reader/writer lock implementation"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-11-17Port 96e86e6f9 "linux-gen: debug: enable debug function usage in inline 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>
2022-11-17Port c9abb944a “linux-gen: thread: move inline types into a separate 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-10-28Port 9fde80a00 "linux-gen: packet: inline odp_packet_buf_from_head() ↵Matias Elo
implementation" 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-10-28Port 414827cd9 "linux-gen: packet: inline odp_packet_buf_data_set() ↵Matias Elo
implementation" 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-10-28Port 117e155bf "linux-gen: packet: inline odp_packet_buf_data_offset() ↵Matias Elo
implementation" 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-10-28Port 29f112c6a "linux-gen: packet: inline odp_packet_buf_head() implementation"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-10-28Port 2838c738b "linux-gen: packet: inline odp_packet_buf_size() implementation"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-10-28Port 8238d7e42 "linux-gen: packet: inline odp_packet_buf_data_len() ↵Matias Elo
implementation" 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-10-28Port 79ae35bde "linux-gen: packet: inline odp_packet_input_set() implementation"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-10-28Port b45f4814f "linux-gen: packet: implement user flag 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>
2022-10-28Port e9126fe57 "linux-gen: timer: implement new user area"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-10-11linux-dpdk: packet: optimize odp_packet_free_multi() implementationMatias Elo
Implement odp_packet_free_multi() function using new rte_pktmbuf_free_bulk() API. The API is still marked as experimental in DPDK 19.11 and 20.11 releases, but there are no changes in the official version available in 21.11. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2022-10-11linux-dpdk: buffer: optimize buffer free function implementationsMatias Elo
Use minimal rte_mempool_put() and rte_mempool_put_bulk() functions to implement buffer free functions. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
2022-09-23linux-dpdk: buffer: inline odp_buffer_size() implementationMatias Elo
Inline implementation of odp_buffer_size() function. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2022-09-23linux-dpdk: buffer: inline buffer free functionsMatias Elo
Inline implementations of odp_buffer_free() and odp_buffer_free_multi() functions. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2022-09-23linux-dpdk: packet: inline odp_packet_buf_len() implementationMatias Elo
Inline implementation of odp_packet_buf_len() function. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
2022-09-23Port 086cc5a07 "linux-gen: buffer: inline odp_buffer_pool()"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-09-23Port c497105d9 "linux-gen: pool: inline odp_pool_index()"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-09-23Port fa265bfb5 "linux-gen: pool: use pool entry pointer as pool handle"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-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>