bus/fslmc: rework portal allocation to per-thread basis
authorNipun Gupta <nipun.gupta@nxp.com>
Tue, 7 Jul 2020 09:22:20 +0000 (14:52 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:52 +0000 (06:18 +0200)
commitf7350292da018c22218940ff14f29ba05dce6eb4
tree54fd9c75ed5f97b692ced9bda23d2b586b8d1ea5
parent6b9faf650ed4ca975dc8538d4ce30d3b8328dfde
bus/fslmc: rework portal allocation to per-thread basis

The patch reworks the portal allocation which was previously
being done on per lcore basis to a per thread basis.
Now user can also create its own threads and use DPAA2 portals
for packet I/O.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/Makefile
drivers/bus/fslmc/portal/dpaa2_hw_dpio.c
drivers/bus/fslmc/portal/dpaa2_hw_dpio.h