Skip to content

Cleanup rte_dpaa2_device

David Marchand dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 6 repliesIn review
  2. v15 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5crypto/dpaa2_sec: remove crypto device in bus devicedrivers/bus/fslmc/bus_fslmc_driver.h drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c+5 -43 replies
2/5dma/dpaa2: remove DMA device in bus devicedrivers/bus/fslmc/bus_fslmc_driver.h drivers/dma/dpaa2/dpaa2_qdma.c+5 -50 replies
3/5net/dpaa2: remove dead code in loopback modedrivers/net/dpaa2/dpaa2_ethdev.h drivers/net/dpaa2/dpaa2_recycle.c+0 -560 replies
4/5net/dpaa2: remove ethdev device in bus devicedrivers/bus/fslmc/bus_fslmc_driver.h drivers/net/dpaa2/dpaa2_ethdev.c+1 -31 reply
5/5bus/fslmc: remove raw device in bus devicedrivers/bus/fslmc/bus_fslmc_driver.h+0 -30 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchHemant Agrawal
SeriesSeries-Tested-by
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] Cleanup rte_dpaa2_device

The rte_dpaa2_device object keeps track of a device class object (cryptodev, dmadev, ethdev, rawdev) 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.

Signature · 23 lines
David Marchand

Changes since v1:
- removed (wrong) attempt at fixing a double close bug in patch 4,


David Marchand (5):
  crypto/dpaa2_sec: remove crypto device in bus device
  dma/dpaa2: remove DMA device in bus device
  net/dpaa2: remove dead code in loopback mode
  net/dpaa2: remove ethdev device in bus device
  bus/fslmc: remove raw device in bus device

 drivers/bus/fslmc/bus_fslmc_driver.h        |  6 ---
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c |  8 ++--
 drivers/dma/dpaa2/dpaa2_qdma.c              |  9 ++--
 drivers/net/dpaa2/dpaa2_ethdev.c            |  3 +-
 drivers/net/dpaa2/dpaa2_ethdev.h            |  6 ---
 drivers/net/dpaa2/dpaa2_recycle.c           | 50 ---------------------
 6 files changed, 11 insertions(+), 71 deletions(-)

-- 
2.51.0