bbdev: add device info on queue topology
Added more options in the API to expose the number of queues exposed and related priority. Signed-off-by: Nicolas Chautru <nicolas.chautru@intel.com> Acked-by: Maxime Coquelin <maxime.coquelin@redhat.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
This commit is contained in:
parent
1be86f2e94
commit
53115a4e5d
@ -96,9 +96,6 @@ Deprecation Notices
|
||||
|
||||
* bbdev: Will extend API to support new operation type ``RTE_BBDEV_OP_FFT`` as per
|
||||
this `RFC <https://patches.dpdk.org/project/dpdk/list/?series=22111>`__.
|
||||
New members will be added in ``rte_bbdev_driver_info`` to expose
|
||||
PMD queue topology inspired by
|
||||
this `RFC <https://patches.dpdk.org/project/dpdk/list/?series=22076>`__.
|
||||
This should be updated in DPDK 22.11.
|
||||
|
||||
* cryptodev: The function ``rte_cryptodev_cb_fn`` will be updated
|
||||
|
@ -433,7 +433,7 @@ ABI Changes
|
||||
macro is added.
|
||||
|
||||
* bbdev: Structure ``rte_bbdev_driver_info`` was updated to add new parameters
|
||||
for device status using ``rte_bbdev_device_status``.
|
||||
for queue topology, device status using ``rte_bbdev_device_status``.
|
||||
|
||||
* eventdev: Added ``evtim_drop_count`` field
|
||||
to ``rte_event_timer_adapter_stats`` structure.
|
||||
|
@ -289,6 +289,10 @@ struct rte_bbdev_driver_info {
|
||||
|
||||
/** Maximum number of queues supported by the device */
|
||||
unsigned int max_num_queues;
|
||||
/** Maximum number of queues supported per operation type */
|
||||
unsigned int num_queues[RTE_BBDEV_OP_TYPE_SIZE_MAX];
|
||||
/** Priority level supported per operation type */
|
||||
unsigned int queue_priority[RTE_BBDEV_OP_TYPE_SIZE_MAX];
|
||||
/** Queue size limit (queue size must also be power of 2) */
|
||||
uint32_t queue_size_lim;
|
||||
/** Set if device off-loads operation to hardware */
|
||||
|
Loading…
Reference in New Issue
Block a user