| 54f17843 | 01-Nov-2021 |
Mattias Rönnblom <[email protected]> |
eventdev: add port maintenance API
Extend Eventdev API to allow for event devices which require various forms of internal processing to happen, even when events are not enqueued to or dequeued from
eventdev: add port maintenance API
Extend Eventdev API to allow for event devices which require various forms of internal processing to happen, even when events are not enqueued to or dequeued from a port.
Signed-off-by: Mattias Rönnblom <[email protected]> Acked-by: Jerin Jacob <[email protected]> Tested-by: Richard Eklycke <[email protected]> Tested-by: Liron Himi <[email protected]>
show more ...
|
| 9e583185 | 28-Oct-2021 |
Naga Harish K S V <[email protected]> |
eventdev/eth_rx: support telemetry
Added telemetry support for rxa_queue_stats and rxa_queue_stats_reset to get and reset rx queue stats respectively.
Signed-off-by: Naga Harish K S V <s.v.naga.har
eventdev/eth_rx: support telemetry
Added telemetry support for rxa_queue_stats and rxa_queue_stats_reset to get and reset rx queue stats respectively.
Signed-off-by: Naga Harish K S V <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]>
show more ...
|
| 995b150c | 28-Oct-2021 |
Naga Harish K S V <[email protected]> |
eventdev/eth_rx: add queue stats API
This patch adds new api ``rte_event_eth_rx_adapter_queue_stats_get`` to retrieve queue stats. The queue stats are in the format ``struct rte_event_eth_rx_adapter
eventdev/eth_rx: add queue stats API
This patch adds new api ``rte_event_eth_rx_adapter_queue_stats_get`` to retrieve queue stats. The queue stats are in the format ``struct rte_event_eth_rx_adapter_queue_stats``.
For resetting the queue stats, ``rte_event_eth_rx_adapter_queue_stats_reset`` api is added.
The adapter stats_get and stats_reset apis are also updated to handle queue level event buffer use case.
Signed-off-by: Naga Harish K S V <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]>
show more ...
|
| daa02b5c | 15-Oct-2021 |
Olivier Matz <[email protected]> |
mbuf: add namespace to offload flags
Fix the mbuf offload flags namespace by adding an RTE_ prefix to the name. The old flags remain usable, but a deprecation warning is issued at compilation.
Sign
mbuf: add namespace to offload flags
Fix the mbuf offload flags namespace by adding an RTE_ prefix to the name. The old flags remain usable, but a deprecation warning is issued at compilation.
Signed-off-by: Olivier Matz <[email protected]> Acked-by: Andrew Rybchenko <[email protected]> Acked-by: Ajit Khaparde <[email protected]> Acked-by: Somnath Kotur <[email protected]>
show more ...
|
| b1094939 | 20-Oct-2021 |
Bruce Richardson <[email protected]> |
build/windows: remove separate list of libs
Rather than maintaining a separate list of libraries which are to be built on windows, use the standard library list and explicitly add to each library th
build/windows: remove separate list of libs
Rather than maintaining a separate list of libraries which are to be built on windows, use the standard library list and explicitly add to each library that is not to be built a check for windows and disable the library at that per-lib level. As well as shortening the main lib/meson.build file, this also leads to the build summary at the end of the meson config run correctly listing the libraries which are not to be built.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
| 97632958 | 14-Oct-2021 |
Harry van Haaren <[email protected]> |
eventdev: add usage hints to port configure API
This commit introduces 3 flags to the port configuration flags. These flags allow the application to indicate what type of work is expected to be perf
eventdev: add usage hints to port configure API
This commit introduces 3 flags to the port configuration flags. These flags allow the application to indicate what type of work is expected to be performed by an eventdev port.
The three new flags are - RTE_EVENT_PORT_CFG_HINT_PRODUCER (mostly RTE_EVENT_OP_NEW events) - RTE_EVENT_PORT_CFG_HINT_CONSUMER (mostly RTE_EVENT_OP_RELEASE events) - RTE_EVENT_PORT_CFG_HINT_WORKER (mostly RTE_EVENT_OP_FORWARD events)
These flags are only hints, and the PMDs must operate under the assumption that any port can enqueue an event with any type of op.
Signed-off-by: Harry van Haaren <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 81da8a5f | 18-Oct-2021 |
Naga Harish K S V <[email protected]> |
eventdev/eth_rx: fix WRR buffer overrun
When a poll queue is removed from a rx_adapter instance, the WRR poll array is recomputed. The wrr array length is reduced in this case. The next wrr position
eventdev/eth_rx: fix WRR buffer overrun
When a poll queue is removed from a rx_adapter instance, the WRR poll array is recomputed. The wrr array length is reduced in this case. The next wrr position to poll is stored in wrr_pos variable of rx_adapter instance. This wrr_pos can become invalid in some cases after wrr is recomputed. Using this variable to get the next queue and device pair may leed to wrr buffer overruns.
Resetting the wrr_pos to zero after recomputation of wrr array fixes the buffer overrun issue.
Fixes: 9c38b704d280 ("eventdev: add eth Rx adapter implementation") Cc: [email protected]
Signed-off-by: Naga Harish K S V <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]>
show more ...
|
| fcf78205 | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev: mark trace variables as internal
Mark rte_trace global variables as internal i.e. remove them from experimental section of version map. Some of them are used in inline APIs, mark those as
eventdev: mark trace variables as internal
Mark rte_trace global variables as internal i.e. remove them from experimental section of version map. Some of them are used in inline APIs, mark those as global.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Ray Kinsella <[email protected]>
show more ...
|
| f26f2ca6 | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev: make trace API internal
Slowpath trace APIs are only used in rte_eventdev.c so make them as internal.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Jay Jayatheerthan
eventdev: make trace API internal
Slowpath trace APIs are only used in rte_eventdev.c so make them as internal.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]> Acked-by: Abhinandan Gujjar <[email protected]>
show more ...
|
| 68e9668a | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev: promote event vector API to stable
Promote event vector configuration APIs to stable.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Jay Jayatheerthan <jay.jayatheert
eventdev: promote event vector API to stable
Promote event vector configuration APIs to stable.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]> Acked-by: Ray Kinsella <[email protected]>
show more ...
|
| f3f3a917 | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev/timer: move adapters memory to hugepage
Move memory used by timer adapters to hugepage. Allocate memory on the first adapter create or lookup to address both primary and secondary process u
eventdev/timer: move adapters memory to hugepage
Move memory used by timer adapters to hugepage. Allocate memory on the first adapter create or lookup to address both primary and secondary process usecases. This will prevent TLB misses if any and aligns to memory structure of other subsystems.
Signed-off-by: Pavan Nikhilesh <[email protected]>
show more ...
|
| 1dcd67ba | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev/timer: rearrange struct fields
Rearrange fields in rte_event_timer data structure to remove holes. Also, remove use of volatile from rte_event_timer.
Signed-off-by: Pavan Nikhilesh <pbhaga
eventdev/timer: rearrange struct fields
Rearrange fields in rte_event_timer data structure to remove holes. Also, remove use of volatile from rte_event_timer.
Signed-off-by: Pavan Nikhilesh <[email protected]>
show more ...
|
| a256a743 | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev: remove rte prefix for internal structs
Remove rte_ prefix from rte_eth_event_enqueue_buffer, rte_event_eth_rx_adapter and rte_event_crypto_adapter as they are only used in rte_event_eth_rx
eventdev: remove rte prefix for internal structs
Remove rte_ prefix from rte_eth_event_enqueue_buffer, rte_event_eth_rx_adapter and rte_event_crypto_adapter as they are only used in rte_event_eth_rx_adapter.c and rte_event_crypto_adapter.c
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]> Acked-by: Abhinandan Gujjar <[email protected]>
show more ...
|
| 53548ad3 | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev: hide timer adapter PMD file
Hide rte_event_timer_adapter_pmd.h file as it is an internal file. Remove rte_ prefix from rte_event_timer_adapter_ops structure.
Signed-off-by: Pavan Nikhiles
eventdev: hide timer adapter PMD file
Hide rte_event_timer_adapter_pmd.h file as it is an internal file. Remove rte_ prefix from rte_event_timer_adapter_ops structure.
Signed-off-by: Pavan Nikhilesh <[email protected]>
show more ...
|
| 295c053f | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev: hide event device related structures
Move rte_eventdev, rte_eventdev_data structures to eventdev_pmd.h.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Harman Kalra <h
eventdev: hide event device related structures
Move rte_eventdev, rte_eventdev_data structures to eventdev_pmd.h.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Harman Kalra <[email protected]>
show more ...
|
| 052e25d9 | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev: use new API for inline functions
Use new driver interface for the fastpath enqueue/dequeue inline functions.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Jay Jayath
eventdev: use new API for inline functions
Use new driver interface for the fastpath enqueue/dequeue inline functions.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]> Acked-by: Abhinandan Gujjar <[email protected]>
show more ...
|
| d35e6132 | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev: move inline APIs into separate structure
Move fastpath inline function pointers from rte_eventdev into a separate structure accessed via a flat array. The intention is to make rte_eventdev
eventdev: move inline APIs into separate structure
Move fastpath inline function pointers from rte_eventdev into a separate structure accessed via a flat array. The intention is to make rte_eventdev and related structures private to avoid future API/ABI breakages.`
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Ray Kinsella <[email protected]>
show more ...
|
| 9c67fcbf | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev: allocate max space for internal arrays
Allocate max space for internal port, port config, queue config and link map arrays. Introduce new macro RTE_EVENT_MAX_PORTS_PER_DEV and set it to ma
eventdev: allocate max space for internal arrays
Allocate max space for internal port, port config, queue config and link map arrays. Introduce new macro RTE_EVENT_MAX_PORTS_PER_DEV and set it to max possible value. This simplifies the port and queue reconfigure scenarios and will also allow inline functions to refer pointer to internal port data without extra checking of current number of configured queues.
Signed-off-by: Pavan Nikhilesh <[email protected]>
show more ...
|
| 26f14535 | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev: separate internal structures
Create rte_eventdev_core.h and move all the internal data structures to this file. These structures are mostly used by drivers, but they need to be in the publ
eventdev: separate internal structures
Create rte_eventdev_core.h and move all the internal data structures to this file. These structures are mostly used by drivers, but they need to be in the public header file as they are accessed by datapath inline functions for performance reasons. The accessibility of these data structures is not changed.
Signed-off-by: Pavan Nikhilesh <[email protected]>
show more ...
|
| 23d06e37 | 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
eventdev: make driver interface as internal
Mark all the driver specific functions as internal, remove `rte` prefix from `struct rte_eventdev_ops`. Remove experimental tag from internal functions. R
eventdev: make driver interface as internal
Mark all the driver specific functions as internal, remove `rte` prefix from `struct rte_eventdev_ops`. Remove experimental tag from internal functions. Remove `eventdev_pmd.h` from non-internal header files.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| 814d0170 | 13-Oct-2021 |
Ganapati Kundapura <[email protected]> |
eventdev/eth_rx: support telemetry
Added telemetry callbacks to get Rx adapter stats, reset stats and to get Rx queue config information.
Signed-off-by: Ganapati Kundapura <ganapati.kundapura@intel
eventdev/eth_rx: support telemetry
Added telemetry callbacks to get Rx adapter stats, reset stats and to get Rx queue config information.
Signed-off-by: Ganapati Kundapura <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]> Acked-by: Naga Harish K S V <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| b06bca69 | 06-Oct-2021 |
Naga Harish K S V <[email protected]> |
eventdev/eth_rx: add per-queue event buffer
Added per queue buffer. To configure per queue event buffer size, application sets rte_event_eth_rx_adapter_params::use_queue_event_buf flag as true while
eventdev/eth_rx: add per-queue event buffer
Added per queue buffer. To configure per queue event buffer size, application sets rte_event_eth_rx_adapter_params::use_queue_event_buf flag as true while using rte_event_eth_rx_adapter_create_with_params().
The per queue event buffer size is populated in rte_event_eth_rx_adapter_queue_conf::event_buf_size and passed to rte_event_eth_rx_adapter_queue_add().
Signed-off-by: Naga Harish K S V <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]>
show more ...
|
| bc0df25c | 06-Oct-2021 |
Naga Harish K S V <[email protected]> |
eventdev/eth_rx: add event buffer size configurability
Currently event buffer is static array with a default size defined internally.
To configure event buffer size from application, rte_event_eth_
eventdev/eth_rx: add event buffer size configurability
Currently event buffer is static array with a default size defined internally.
To configure event buffer size from application, rte_event_eth_rx_adapter_create_with_params() API is added which takes struct rte_event_eth_rx_adapter_params to configure event buffer size in addition other params. The event buffer size is rounded up for better buffer utilization and performance. In case of NULL params argument, default event buffer size is used.
Signed-off-by: Naga Harish K S V <[email protected]> Signed-off-by: Ganapati Kundapura <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| da781e64 | 16-Sep-2021 |
Ganapati Kundapura <[email protected]> |
eventdev/eth_rx: support Rx queue config get
Added rte_event_eth_rx_adapter_queue_conf_get() API to get rx queue information - event queue identifier, flags for handling received packets, scheduler
eventdev/eth_rx: support Rx queue config get
Added rte_event_eth_rx_adapter_queue_conf_get() API to get rx queue information - event queue identifier, flags for handling received packets, scheduler type, event priority, polling frequency of the receive queue and flow identifier in rte_event_eth_rx_adapter_queue_conf structure
Signed-off-by: Ganapati Kundapura <[email protected]> Acked-by: Jay Jayatheerthan <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| 83ab470d | 28-Sep-2021 |
Ganapati Kundapura <[email protected]> |
eventdev/eth_rx: use timestamp as dynamic mbuf field
Add support to register timestamp dynamic field in mbuf.
Update the timestamp in mbuf for each packet before enqueuing to event device if the ti
eventdev/eth_rx: use timestamp as dynamic mbuf field
Add support to register timestamp dynamic field in mbuf.
Update the timestamp in mbuf for each packet before enqueuing to event device if the timestamp is not already set.
Adding the timestamp in Rx adapter avoids additional latency due to the event device.
Signed-off-by: Ganapati Kundapura <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|