|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3 |
|
| #
bd991897 |
| 10-Nov-2021 |
Mattias Rönnblom <[email protected]> |
eventdev: negate maintenance capability flag
Replace RTE_EVENT_DEV_CAP_REQUIRES_MAINT, which signaled the need for the application to call rte_event_maintain(), with RTE_EVENT_DEV_CAP_MAINTENANCE_FR
eventdev: negate maintenance capability flag
Replace RTE_EVENT_DEV_CAP_REQUIRES_MAINT, which signaled the need for the application to call rte_event_maintain(), with RTE_EVENT_DEV_CAP_MAINTENANCE_FREE, which does the opposite (i.e., signifies that the event device does not require maintenance).
This approach is more in line with how other eventdev hardware and/or software limitations are handled in the Eventdev API.
Signed-off-by: Mattias Rönnblom <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc2, v21.11-rc1 |
|
| #
92cb1309 |
| 20-Oct-2021 |
Akhil Goyal <[email protected]> |
cryptodev: move device-specific structures
The device specific structures - rte_cryptodev and rte_cryptodev_data are moved to cryptodev_pmd.h to hide it from the applications.
Signed-off-by: Akhil
cryptodev: move device-specific structures
The device specific structures - rte_cryptodev and rte_cryptodev_data are moved to cryptodev_pmd.h to hide it from the applications.
Signed-off-by: Akhil Goyal <[email protected]> Tested-by: Rebecca Troy <[email protected]> Acked-by: Fan Zhang <[email protected]> Acked-by: Konstantin Ananyev <[email protected]>
show more ...
|
| #
85be9971 |
| 18-Oct-2021 |
Pavan Nikhilesh <[email protected]> |
drivers/event: invoke probing finish function
Invoke event_dev_probing_finish() function at the end of probing, this function sets the function pointers in the fp_ops flat array.
Signed-off-by: Pav
drivers/event: invoke probing finish function
Invoke event_dev_probing_finish() function at the end of probing, this function sets the function pointers in the fp_ops flat array.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Hemant Agrawal <[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 ...
|
|
Revision tags: v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2 |
|
| #
eeded204 |
| 26-Apr-2021 |
David Marchand <[email protected]> |
log: register with standardized names
Let's try to enforce the convention where most drivers use a pmd. logtype with their class reflected in it, and libraries use a lib. logtype.
Introduce two new
log: register with standardized names
Let's try to enforce the convention where most drivers use a pmd. logtype with their class reflected in it, and libraries use a lib. logtype.
Introduce two new macros: - RTE_LOG_REGISTER_DEFAULT can be used when a single logtype is used in a component. It is associated to the default name provided by the build system, - RTE_LOG_REGISTER_SUFFIX can be used when multiple logtypes are used, and then the passed name is appended to the default name,
RTE_LOG_REGISTER is left untouched for existing external users and for components that do not comply with the convention.
There is a new Meson variable log_prefix to adapt the default name for baseband (pmd.bb.), bus (no pmd.) and mempool (no pmd.) classes.
Note: achieved with below commands + reverted change on net/bonding + edits on crypto/virtio, compress/mlx5, regex/mlx5
$ git grep -l RTE_LOG_REGISTER drivers/ | while read file; do pattern=${file##drivers/}; class=${pattern%%/*}; pattern=${pattern#$class/}; drv=${pattern%%/*}; case "$class" in baseband) pattern=pmd.bb.$drv;; bus) pattern=bus.$drv;; mempool) pattern=mempool.$drv;; *) pattern=pmd.$class.$drv;; esac sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern',/RTE_LOG_REGISTER_DEFAULT(\1,/' $file; sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern'\.\(.*\),/RTE_LOG_REGISTER_SUFFIX(\1, \2,/' $file; done
$ git grep -l RTE_LOG_REGISTER lib/ | while read file; do pattern=${file##lib/}; pattern=lib.${pattern%%/*}; sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern',/RTE_LOG_REGISTER_DEFAULT(\1,/' $file; sed -i -e 's/RTE_LOG_REGISTER(\(.*\), '$pattern'\.\(.*\),/RTE_LOG_REGISTER_SUFFIX(\1, \2,/' $file; done
Signed-off-by: David Marchand <[email protected]> Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2 |
|
| #
25187042 |
| 29-Jan-2021 |
Bruce Richardson <[email protected]> |
eventdev: make driver-only headers private
The rte_eventdev_pmd*.h files are for drivers only and should be private to DPDK, and not installed for app use.
Signed-off-by: Bruce Richardson <bruce.ri
eventdev: make driver-only headers private
The rte_eventdev_pmd*.h files are for drivers only and should be private to DPDK, and not installed for app use.
Signed-off-by: Bruce Richardson <[email protected]>
show more ...
|
|
Revision tags: v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2 |
|
| #
c9a1c2e5 |
| 28-Oct-2020 |
David Marchand <[email protected]> |
bus/dpaa: switch sequence number to dynamic mbuf field
The dpaa drivers have been hacking the deprecated field seqn for internal features. It is moved to a dynamic mbuf field in order to allow remov
bus/dpaa: switch sequence number to dynamic mbuf field
The dpaa drivers have been hacking the deprecated field seqn for internal features. It is moved to a dynamic mbuf field in order to allow removal of seqn.
Signed-off-by: David Marchand <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc1 |
|
| #
75d11313 |
| 15-Oct-2020 |
Timothy McDaniel <[email protected]> |
eventdev: express DLB/DLB2 PMD constraints
This commit implements the eventdev ABI changes required by the DLB/DLB2 PMDs. Several data structures and constants are modified or added in this patch,
eventdev: express DLB/DLB2 PMD constraints
This commit implements the eventdev ABI changes required by the DLB/DLB2 PMDs. Several data structures and constants are modified or added in this patch, thereby requiring modifications to the dependent apps and examples.
The DLB/DLB2 hardware does not conform exactly to the eventdev interface. 1) It has a limit on the number of queues that may be linked to a port. 2) Some ports a further restricted to a maximum of 1 linked queue. 3) DLB does not have the ability to carry the flow_id as part of the event (QE) payload. Note that the DLB2 hardware is capable of carrying the flow_id.
Following is a detailed description of the changes that have been made.
1) Add new fields to the rte_event_dev_info struct. These fields allow the device to advertise its capabilities so that applications can take the appropriate actions based on those capabilities.
struct rte_event_dev_info { uint32_t max_event_port_links; /**< Maximum number of queues that can be linked to a single event * port by this device. */
uint8_t max_single_link_event_port_queue_pairs; /**< Maximum number of event ports and queues that are optimized for * (and only capable of) single-link configurations supported by this * device. These ports and queues are not accounted for in * max_event_ports or max_event_queues. */ }
2) Add a new field to the rte_event_dev_config struct. This field allows the application to specify how many of its ports are limited to a single link, or will be used in single link mode.
/** Event device configuration structure */ struct rte_event_dev_config { uint8_t nb_single_link_event_port_queues; /**< Number of event ports and queues that will be singly-linked to * each other. These are a subset of the overall event ports and * queues; this value cannot exceed *nb_event_ports* or * *nb_event_queues*. If the device has ports and queues that are * optimized for single-link usage, this field is a hint for how many * to allocate; otherwise, regular event ports and queues can be used. */ }
3) Replace the dedicated implicit_release_disabled field with a bit field of explicit port capabilities. The implicit_release_disable functionality is assigned to one bit, and a port-is-single-link-only attribute is assigned to other, with the remaining bits available for future assignment.
* Event port configuration bitmap flags */ #define RTE_EVENT_PORT_CFG_DISABLE_IMPL_REL (1ULL << 0) /**< Configure the port not to release outstanding events in * rte_event_dev_dequeue_burst(). If set, all events received through * the port must be explicitly released with RTE_EVENT_OP_RELEASE or * RTE_EVENT_OP_FORWARD. Must be unset if the device is not * RTE_EVENT_DEV_CAP_IMPLICIT_RELEASE_DISABLE capable. */ #define RTE_EVENT_PORT_CFG_SINGLE_LINK (1ULL << 1)
/**< This event port links only to a single event queue. * * @see rte_event_port_setup(), rte_event_port_link() */
#define RTE_EVENT_PORT_ATTR_IMPLICIT_RELEASE_DISABLE 3 /** * The implicit release disable attribute of the port */
struct rte_event_port_conf { uint32_t event_port_cfg; /**< Port cfg flags(EVENT_PORT_CFG_) */ }
This patch also removes the depreciation notice and announce the new eventdev ABI changes in release note.
Signed-off-by: Timothy McDaniel <[email protected]> Acked-by: Harry van Haaren <[email protected]> Acked-by: Pavan Nikhilesh <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2 |
|
| #
fea67874 |
| 17-Jul-2020 |
Yunjian Wang <[email protected]> |
event/dpaa: remove dead code
Fix logical dead code.
Coverity issue: 323495 Fixes: 77b5311d0ece ("event/dpaa: support select based event") Cc: [email protected]
Signed-off-by: Yunjian Wang <wangyunji
event/dpaa: remove dead code
Fix logical dead code.
Coverity issue: 323495 Fixes: 77b5311d0ece ("event/dpaa: support select based event") Cc: [email protected]
Signed-off-by: Yunjian Wang <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v20.08-rc1 |
|
| #
e5872221 |
| 07-Jul-2020 |
Rohit Raj <[email protected]> |
drivers/dpaa: optimize thread local storage
Minimize the number of different thread variables
Add all the thread specific variables in dpaa_portal structure to optimize TLS Usage.
Signed-off-by: R
drivers/dpaa: optimize thread local storage
Minimize the number of different thread variables
Add all the thread specific variables in dpaa_portal structure to optimize TLS Usage.
Signed-off-by: Rohit Raj <[email protected]> Acked-by: Akhil Goyal <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
9c99878a |
| 01-Jul-2020 |
Jerin Jacob <[email protected]> |
log: introduce logtype register macro
Introduce the RTE_LOG_REGISTER macro to avoid the code duplication in the logtype registration process.
It is a wrapper macro for declaring the logtype, regist
log: introduce logtype register macro
Introduce the RTE_LOG_REGISTER macro to avoid the code duplication in the logtype registration process.
It is a wrapper macro for declaring the logtype, registering it and setting its level in the constructor context.
Signed-off-by: Jerin Jacob <[email protected]> Acked-by: Adam Dybkowski <[email protected]> Acked-by: Sachin Saxena <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v20.05, v20.05-rc4, v20.05-rc3 |
|
| #
df80d4f8 |
| 15-May-2020 |
Hemant Agrawal <[email protected]> |
bus/dpaa: move log types to NXP drivers
This is to reduce the number of variables getting exposed from the dpaa bus. They are not required to be in bus.
Signed-off-by: Hemant Agrawal <hemant.agrawa
bus/dpaa: move log types to NXP drivers
This is to reduce the number of variables getting exposed from the dpaa bus. They are not required to be in bus.
Signed-off-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2 |
|
| #
f513f620 |
| 06-Nov-2019 |
Sachin Saxena <[email protected]> |
drivers: update copyright for NXP files
Signed-off-by: Sachin Saxena <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
|
|
Revision tags: v19.11-rc1 |
|
| #
ba6c1aa2 |
| 11-Oct-2019 |
Nipun Gupta <[email protected]> |
event/dpaa: support Tx adapter
This patch adds the support of Tx adapter for DPAA1 platform
Signed-off-by: Nipun Gupta <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
|
| #
c37421a2 |
| 11-Oct-2019 |
Nipun Gupta <[email protected]> |
event/dpaa: fix number of supported atomic flows
The number of atomic flows supported was not returned correctly for DPAA driver. This patch fixes the same.
Fixes: b08dc6430abd ("event/dpaa: add qu
event/dpaa: fix number of supported atomic flows
The number of atomic flows supported was not returned correctly for DPAA driver. This patch fixes the same.
Fixes: b08dc6430abd ("event/dpaa: add queue config get/set") Cc: [email protected]
Signed-off-by: Nipun Gupta <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
b0f66a68 |
| 04-Oct-2019 |
Akhil Goyal <[email protected]> |
event/dpaa: support crypto adapter
event dpaa device support both ethernet as well as crypto queues to be attached to it. eth_rx_adapter provide infrastructure to attach ethernet queues and crypto_a
event/dpaa: support crypto adapter
event dpaa device support both ethernet as well as crypto queues to be attached to it. eth_rx_adapter provide infrastructure to attach ethernet queues and crypto_adapter provide support for crypto queues.
This patch add support for dpaa_eventdev to attach dpaa_sec queues.
Signed-off-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1, v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1, v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2, v18.11-rc1 |
|
| #
77b5311d |
| 25-Sep-2018 |
Hemant Agrawal <[email protected]> |
event/dpaa: support select based event
This patch add support to use select call with qman portal fd for timeout based dequeue request for eventdev.
If there is a event available qman portal fd wil
event/dpaa: support select based event
This patch add support to use select call with qman portal fd for timeout based dequeue request for eventdev.
If there is a event available qman portal fd will be set and the function will be awakened. If no event is available, it will only wait till the given timeout value.
In case of interrupt the timeout ticks are used as usecs.
Signed-off-by: Hemant Agrawal <[email protected]>
show more ...
|
| #
e7bbddb8 |
| 25-Sep-2018 |
Hemant Agrawal <[email protected]> |
event/dpaa: remove duplicate log macros
align and cleanup the debug log prints
Signed-off-by: Hemant Agrawal <[email protected]>
|
|
Revision tags: v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1, v18.05, v18.05-rc6, v18.05-rc5, v18.05-rc4, v18.05-rc3, v18.05-rc2, v18.05-rc1 |
|
| #
d593a817 |
| 02-Apr-2018 |
Gage Eads <[email protected]> |
eventdev: add device stop flush callback
When an event device is stopped, it drains all event queues and ports. These events may contain pointers, so to prevent memory leaks eventdev now supports a
eventdev: add device stop flush callback
When an event device is stopped, it drains all event queues and ports. These events may contain pointers, so to prevent memory leaks eventdev now supports a user-provided flush callback that is called during the queue drain process. This callback is stored in process memory, so the callback must be registered by any process that may call rte_event_dev_stop().
This commit also clarifies the behavior of rte_event_dev_stop().
This follows this mailing list discussion: http://dpdk.org/ml/archives/dev/2018-January/087484.html
Signed-off-by: Gage Eads <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| #
89cf9584 |
| 14-Mar-2018 |
Hemant Agrawal <[email protected]> |
event/dpaa: fix header include
rte_cycles.h shall be included instead of rte_cycles_64.h
dpaa_eventdev.c:32:27: fatal error: rte_cycles_64.h: No such file or directory
Fixes: 9caac5dd1e7f ("event/
event/dpaa: fix header include
rte_cycles.h shall be included instead of rte_cycles_64.h
dpaa_eventdev.c:32:27: fatal error: rte_cycles_64.h: No such file or directory
Fixes: 9caac5dd1e7f ("event/dpaa: introduce PMD") Cc: [email protected]
Signed-off-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v18.02, v18.02-rc4, v18.02-rc3 |
|
| #
5b852644 |
| 05-Feb-2018 |
Nipun Gupta <[email protected]> |
event/dpaa: fix portal allocation
Checking if portal has been allocated is now required at the caller of rte_dpaa_portal_init() API. This patch adds check in the dpaa eventdev driver.
Fixes: 5d9445
event/dpaa: fix portal allocation
Checking if portal has been allocated is now required at the caller of rte_dpaa_portal_init() API. This patch adds check in the dpaa eventdev driver.
Fixes: 5d944582d028 ("bus/dpaa: check portal presence in the caller function")
Signed-off-by: Nipun Gupta <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
show more ...
|
|
Revision tags: v18.02-rc2, v18.02-rc1 |
|
| #
0ee17f79 |
| 16-Jan-2018 |
Sunil Kumar Kori <[email protected]> |
event/dpaa: add enqueue/dequeue
Signed-off-by: Sunil Kumar Kori <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
|
| #
4ed80e63 |
| 16-Jan-2018 |
Sunil Kumar Kori <[email protected]> |
event/dpaa: add eth Rx adapter queue config
Signed-off-by: Sunil Kumar Kori <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
|
| #
1d99bc35 |
| 16-Jan-2018 |
Sunil Kumar Kori <[email protected]> |
event/dpaa: add port config get/set
Signed-off-by: Sunil Kumar Kori <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
|
| #
b08dc643 |
| 16-Jan-2018 |
Sunil Kumar Kori <[email protected]> |
event/dpaa: add queue config get/set
Signed-off-by: Sunil Kumar Kori <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
|