Various fixes and improvements for the dpaa2 net driver and fslmc bus.

Patches 1-2, 4-5 fix resource leaks on port close and in error paths.

Patch 3 fixes a misleading Rx descriptor limit warning.

Patches 6-7 replace getenv-based configuration with proper devargs
for taildrop and data stashing options. There are still 8 remaining getenv
calls in the driver that should be converted to devargs.
Note: the taildrop disable path has never been reachable until now
and is untested. NXP maintainers should validate this feature.

Patch 8 fixes link status not updating after port stop/start when
link state change interrupts are enabled.
Patch 9 is a minor cleanup in the same area.

Patches 10-11 fix devargs propagation on DPNI hotplug.

Maxime Leroy (11):
  net/dpaa2: fix queue block memory leak on port close
  net/dpaa2: fix rx error queue memory leak on port close
  net/dpaa2: warn on rx descriptor limit only in high perf buffer mode
  net/dpaa2: fix rx error queue leak in alloc error path
  net/dpaa2: fix resource leak on softparser failure
  net/dpaa2: add devargs to disable Rx taildrop
  net/dpaa2: replace data stashing getenv with devargs
  net/dpaa2: fix link not up after port stop/start
  net/dpaa2: use CHECK_INTERVAL macro in set_link_down
  bus/fslmc: fix devargs not propagated on hotplug
  bus/fslmc: remove dead blocklist check in plug path

 drivers/bus/fslmc/fslmc_bus.c           | 12 ++---
 drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 16 +++---
 drivers/net/dpaa2/dpaa2_ethdev.c        | 69 +++++++++++++++++--------
 drivers/net/dpaa2/dpaa2_ethdev.h        |  3 ++
 drivers/net/dpaa2/mc/fsl_dpni.h         |  6 +++
 5 files changed, 71 insertions(+), 35 deletions(-)

-- 
2.43.0

Reply via email to