|
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 |
|
| #
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, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, 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, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, 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, v19.11-rc1, 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, 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 ...
|
|
Revision tags: v18.02, v18.02-rc4, v18.02-rc3, v18.02-rc2, v18.02-rc1 |
|
| #
ec36d881 |
| 11-Dec-2017 |
Gage Eads <[email protected]> |
eventdev: add implicit release disable capability
This commit introduces a capability for disabling the "implicit" release functionality for a port, which prevents the eventdev PMD from issuing outs
eventdev: add implicit release disable capability
This commit introduces a capability for disabling the "implicit" release functionality for a port, which prevents the eventdev PMD from issuing outstanding releases for previously dequeued events when dequeuing a new batch of events.
If a PMD does not support this capability, the application will receive an error if it attempts to setup a port with implicit releases disabled. Otherwise, if the port is configured with implicit releases disabled, the application must release each dequeued event by invoking rte_event_enqueue_burst() with RTE_EVENT_OP_RELEASE or RTE_EVENT_OP_FORWARD.
Signed-off-by: Gage Eads <[email protected]> Acked-by: Harry van Haaren <[email protected]>
show more ...
|
| #
aaf4363e |
| 08-Jan-2018 |
Jerin Jacob <[email protected]> |
drivers: use SPDX tag for Cavium copyright files
Signed-off-by: Jerin Jacob <[email protected]> Acked-by: Hemant Agrawal <[email protected]>
|
|
Revision tags: v17.11, v17.11-rc4, v17.11-rc3 |
|
| #
d4a586d2 |
| 07-Nov-2017 |
Jianfeng Tan <[email protected]> |
bus/vdev: move code from EAL into a new driver
Move the vdev bus from lib/librte_eal to drivers/bus.
As the crypto vdev helper function refers to data structure in rte_vdev.h, so we move those help
bus/vdev: move code from EAL into a new driver
Move the vdev bus from lib/librte_eal to drivers/bus.
As the crypto vdev helper function refers to data structure in rte_vdev.h, so we move those helper function into drivers/bus too.
Signed-off-by: Jianfeng Tan <[email protected]>
show more ...
|
| #
4c00cfdc |
| 04-Nov-2017 |
Thomas Monjalon <[email protected]> |
remove useless memzone includes
The memzone header is often included without good reason.
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Bruce Richardson <[email protected]>
|
|
Revision tags: v17.11-rc2 |
|
| #
9f9fad8f |
| 25-Oct-2017 |
Pavan Nikhilesh <[email protected]> |
eventdev: remove schedule API
remove eventdev schedule api and enforce sw driver to use service core feature for event scheduling.
Signed-off-by: Pavan Nikhilesh <[email protected]> A
eventdev: remove schedule API
remove eventdev schedule api and enforce sw driver to use service core feature for event scheduling.
Signed-off-by: Pavan Nikhilesh <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
|
Revision tags: v17.11-rc1, v17.08, v17.08-rc4, v17.08-rc3, v17.08-rc2, v17.08-rc1 |
|
| #
3abcd29f |
| 08-Jul-2017 |
Jerin Jacob <[email protected]> |
update Cavium Inc copyright headers
Replace the incorrect reference to "Cavium Networks", "Cavium Ltd" company name with correct the "Cavium, Inc" company name in copyright headers.
Signed-off-by:
update Cavium Inc copyright headers
Replace the incorrect reference to "Cavium Networks", "Cavium Ltd" company name with correct the "Cavium, Inc" company name in copyright headers.
Signed-off-by: Jerin Jacob <[email protected]>
show more ...
|
| #
d0b61f6d |
| 20-Jun-2017 |
Jerin Jacob <[email protected]> |
event/skeleton: advertise the burst mode capability
Signed-off-by: Jerin Jacob <[email protected]>
|
| #
9a8269d5 |
| 09-Jun-2017 |
Jerin Jacob <[email protected]> |
eventdev: make PCI probe and remove functions optional
Made libeventdev library independent of PCI bus by moving pci pmd specific function to rte_eventdev_pmd_pci.h header file. Eventdev PCI PMD can
eventdev: make PCI probe and remove functions optional
Made libeventdev library independent of PCI bus by moving pci pmd specific function to rte_eventdev_pmd_pci.h header file. Eventdev PCI PMD can include that for generic eventdev PCI probe and remove function enablement.
Signed-off-by: Jerin Jacob <[email protected]>
show more ...
|
| #
7214438d |
| 09-Jun-2017 |
Jerin Jacob <[email protected]> |
eventdev: remove PCI dependency from generic structures
Remove the PCI dependency from generic data structures and moved the PCI specific code to rte_event_pmd_pci*
Signed-off-by: Jerin Jacob <jeri
eventdev: remove PCI dependency from generic structures
Remove the PCI dependency from generic data structures and moved the PCI specific code to rte_event_pmd_pci*
Signed-off-by: Jerin Jacob <[email protected]>
show more ...
|
|
Revision tags: v17.05, v17.05-rc4, v17.05-rc3, v17.05-rc2 |
|
| #
5d2aa461 |
| 11-Apr-2017 |
Jan Blunck <[email protected]> |
vdev: use generic vdev struct for probe and remove
This is a preparation to embed the generic rte_device into the rte_eth_dev also for virtual devices.
Signed-off-by: Jan Blunck <jblunck@infradead.
vdev: use generic vdev struct for probe and remove
This is a preparation to embed the generic rte_device into the rte_eth_dev also for virtual devices.
Signed-off-by: Jan Blunck <[email protected]> Signed-off-by: Gaetan Rivet <[email protected]>
show more ...
|
|
Revision tags: v17.05-rc1 |
|
| #
361e7336 |
| 10-Mar-2017 |
Harry van Haaren <[email protected]> |
eventdev: remove default queue overriding
PMDs that only do a specific type of scheduling cannot provide CFG_ALL_TYPES, so the Eventdev infrastructure should not demand that every PMD supports CFG_A
eventdev: remove default queue overriding
PMDs that only do a specific type of scheduling cannot provide CFG_ALL_TYPES, so the Eventdev infrastructure should not demand that every PMD supports CFG_ALL_TYPES.
By not overriding the default configuration of the queue as suggested by the PMD, the eventdev_common unit tests can pass on all PMDs, regardless of their capabilities.
RTE_EVENT_QUEUE_CFG_DEFAULT is no longer used by the eventdev layer it can be removed now. Applications should use CFG_ALL_TYPES if they require enqueue of all types a queue, or specify which type of queue they require.
The CFG_DEFAULT value is changed to CFG_ALL_TYPES in event/skeleton, to not break the compile.
A capability flag is added that indicates if the underlying PMD supports creating queues of ALL_TYPES.
Signed-off-by: Harry van Haaren <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
| #
836a9ddc |
| 03-Mar-2017 |
Jerin Jacob <[email protected]> |
eventdev: return code in dequeue timeout conversion
eventdev driver may return error on dequeue timeout tick conversion. Change the pmd callback interface to address the same.
Signed-off-by: Jerin
eventdev: return code in dequeue timeout conversion
eventdev driver may return error on dequeue timeout tick conversion. Change the pmd callback interface to address the same.
Signed-off-by: Jerin Jacob <[email protected]> Acked-by: Harry van Haaren <[email protected]>
show more ...
|
| #
c1632199 |
| 03-Mar-2017 |
Nipun Gupta <[email protected]> |
eventdev: use generic device holder
rte_device is a generic device which is available to the applications and EAL. This patch replaces rte_pci_device in 'struct rte_eventdev' and in 'struct rte_even
eventdev: use generic device holder
rte_device is a generic device which is available to the applications and EAL. This patch replaces rte_pci_device in 'struct rte_eventdev' and in 'struct rte_event_dev_info' with common rte_device.
Signed-off-by: Nipun Gupta <[email protected]> Acked-by: Shreyansh Jain <[email protected]>
show more ...
|
|
Revision tags: v17.02, v17.02-rc3 |
|
| #
e3368ca9 |
| 06-Feb-2017 |
Jerin Jacob <[email protected]> |
event/skeleton: support vdev uninit
Removed global index based device name generation as vdev uninit needs the exact driver name used vdev init.
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetwor
event/skeleton: support vdev uninit
Removed global index based device name generation as vdev uninit needs the exact driver name used vdev init.
Signed-off-by: Jerin Jacob <[email protected]> Acked-by: Harry van Haaren <[email protected]>
show more ...
|
| #
d3e281a5 |
| 06-Feb-2017 |
Nipun Gupta <[email protected]> |
eventdev: update event port link and unlink callbacks
Added a pointer to the rte_eventdev type in the event port link and unlink callbacks. This device shall be used by some of the event drivers to
eventdev: update event port link and unlink callbacks
Added a pointer to the rte_eventdev type in the event port link and unlink callbacks. This device shall be used by some of the event drivers to fetch queue related information.
Also, update the skeleton eventdev driver with corresponding changes.
Signed-off-by: Nipun Gupta <[email protected]> Acked-by: Jerin Jacob <[email protected]>
show more ...
|
|
Revision tags: v17.02-rc2, v17.02-rc1 |
|
| #
bbbb929d |
| 18-Nov-2016 |
Jerin Jacob <[email protected]> |
event/skeleton: add skeleton eventdev driver
The skeleton driver facilitates, bootstrapping the new eventdev driver and creates a platform to verify the northbound eventdev common code.
The driver
event/skeleton: add skeleton eventdev driver
The skeleton driver facilitates, bootstrapping the new eventdev driver and creates a platform to verify the northbound eventdev common code.
The driver supports both VDEV and PCI based eventdev devices.
Signed-off-by: Jerin Jacob <[email protected]> Acked-by: Bruce Richardson <[email protected]>
show more ...
|