[PATCH 0/3] Cleanup rte_dpaa_device

David Marchand david.marchand at redhat.com
Thu Jun 11 15:07:34 CEST 2026


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(-)

-- 
2.53.0



More information about the dev mailing list