net/dpaa: support virtual storage profile
authorJun Yang <jun.yang@nxp.com>
Fri, 4 Sep 2020 08:39:28 +0000 (14:09 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:08 +0000 (18:55 +0200)
commite4abd4ff183ca5cd141dae51e761739084ae6912
tree2718399199bccd54e413edade5da7752abd7f58c
parente0718bb2ca95203b70bbf5069956d712d2d9a762
net/dpaa: support virtual storage profile

This patch adds support for Virtual Storage profile (VSP) feature.
With VSP support when memory pool is created, the hw buffer pool id
i.e. bpid is not allocated; the bpid is identified by dpaa flow
create API.
The memory pool of RX queue is attached to specific BMan pool
according to the VSP ID when RX queue is setup.
For fmlib based hash queue, VSP base ID is assigned to each queue.

Signed-off-by: Jun Yang <jun.yang@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/dpaa/include/fsl_qman.h
drivers/net/dpaa/dpaa_ethdev.c
drivers/net/dpaa/dpaa_ethdev.h
drivers/net/dpaa/dpaa_flow.c
drivers/net/dpaa/dpaa_flow.h