[PATCH 0/3] Cleanup rte_dpaa_device
David Marchand
david.marchand at redhat.com
Thu Jun 25 13:23:05 CEST 2026
On Thu, 11 Jun 2026 at 15:08, David Marchand <david.marchand at redhat.com> wrote:
>
> Similar to the cleanup on the FSLMC bus, the DPAA bus device can
> be cleaned.
>
> The rte_dpaa_device object keeps track of a device class object
> (cryptodev, dmadev, ethdev) which is a layer violation.
>
> Make use of the device class respective infrastructure and remove those
> back references.
>
> Disclaimer: this series is untested as I don't have the hardware.
> I only based those changes on look at the code and other drivers.
>
>
> --
> David Marchand
>
> David Marchand (3):
> crypto/dpaa_sec: remove cryptodev pointer from bus device
> dma/dpaa: remove dmadev pointer from bus device
> net/dpaa: remove ethdev pointer from bus device
>
> drivers/bus/dpaa/bus_dpaa_driver.h | 5 ----
> drivers/crypto/dpaa_sec/dpaa_sec.c | 8 ++----
> drivers/dma/dpaa/dpaa_qdma.c | 39 +++++++++++++++---------------
> drivers/net/dpaa/dpaa_ethdev.c | 3 +--
> 4 files changed, 22 insertions(+), 33 deletions(-)
>
Series applied.
--
David Marchand
More information about the dev
mailing list