aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-dpdk/include/odp/api
AgeCommit message (Collapse)Author
2024-06-05linux-dpdk: packet: inline odp_packet_reset_max_len() implementationMatias Elo
Inline implementation of odp_packet_reset_max_len() function. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2024-06-05Port 36019aa2b "linux-gen: update copyright format"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>
2024-03-11Port 187680b44 "linux-gen: event: move subtype into event header"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>
2024-01-29linux-dpdk: timer: inline odp_timer_ns_to_tick() implementationMatias Elo
Inline implementation of odp_timer_ns_to_tick() function. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2024-01-29linux-dpdk: timer: inline odp_timer_tick_to_ns() implementationMatias Elo
Inline implementation of odp_timer_tick_to_ns() function. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2024-01-29Port 063e2f067 "linux-gen: timer: inline odp_timer_current_tick()"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>
2024-01-29Port d2588efa5 "linux-gen: time: change to non-zero startup time"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>
2024-01-29Port ce3674603 "linux-gen: time: implement odp_time_add_ns()"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>
2024-01-12linux-dpdk: buffer: ignore array bounds warnings from emmintrin.hJere Leppänen
When compiling with GCC 13, there are many warnings from emmintrin.h: /usr/lib/gcc/x86_64-redhat-linux/13/include/emmintrin.h:706:10: warning: array subscript 5 is outside array bounds of ‘struct rte_mbuf *[10]’ [-Warray-bounds=] These are warnings from call chains involving rte_memcpy(). They're false positives, where GCC 13 is apparently unable to figure out that subscripts are in fact within bounds. Ignore the warnings by using pragmas. Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
2023-11-06Port 926a4cbc0 "linux-gen: packet: add fields for TX completion poll mode"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>
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>