| e904fd77 | 22-Feb-2022 |
Thomas Monjalon <[email protected]> |
dmadev: add missing header include
When checking C++ compatibility of SDK headers, an error is detected by the compiler:
lib/dmadev/rte_dmadev_pmd.h:95:23: error: ‘RTE_DEV_NAME_MAX_LEN’ undeclared
dmadev: add missing header include
When checking C++ compatibility of SDK headers, an error is detected by the compiler:
lib/dmadev/rte_dmadev_pmd.h:95:23: error: ‘RTE_DEV_NAME_MAX_LEN’ undeclared here (not in a function)
The header file rte_dev.h must be included.
Fixes: b36970f2e13e ("dmadev: introduce DMA device library") Cc: [email protected]
Signed-off-by: Thomas Monjalon <[email protected]> Acked-by: Bruce Richardson <[email protected]> Acked-by: Conor Walsh <[email protected]>
show more ...
|
| 2e348d8f | 13-Oct-2021 |
Bruce Richardson <[email protected]> |
dmadev: add flag for error handling support
Due to HW or driver limitations, not all dmadevs may support full error handling e.g. safely managing and reporting an invalid address to a copy operation
dmadev: add flag for error handling support
Due to HW or driver limitations, not all dmadevs may support full error handling e.g. safely managing and reporting an invalid address to a copy operation. The skeleton dmadev, for example, being pure software will always seg-fault if passed an invalid address. To indicate the availability of safe error handling by a device, we add a capability flag for it.
Signed-off-by: Bruce Richardson <[email protected]> Reviewed-by: Conor Walsh <[email protected]> Reviewed-by: Kevin Laatz <[email protected]>
show more ...
|
| ea8cf0f8 | 13-Oct-2021 |
Kevin Laatz <[email protected]> |
dmadev: add burst capacity API
Add a burst capacity check API to the dmadev library. This API is useful to applications which need to how many descriptors can be enqueued in the current batch. For e
dmadev: add burst capacity API
Add a burst capacity check API to the dmadev library. This API is useful to applications which need to how many descriptors can be enqueued in the current batch. For example, it could be used to determine whether all segments of a multi-segment packet can be enqueued in the same batch or not (to avoid half-offload of the packet).
Signed-off-by: Kevin Laatz <[email protected]> Reviewed-by: Conor Walsh <[email protected]>
show more ...
|