bus/fslmc: add QBMAN driver to bus
authorHemant Agrawal <hemant.agrawal@nxp.com>
Tue, 11 Apr 2017 13:37:09 +0000 (19:07 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 19 Apr 2017 13:37:37 +0000 (15:37 +0200)
commit531b17a780dc5f486e8be8d82d1ccd077ea25f14
tree1ab633f847693b2ccc7fbea3a35825c391760981
parent7e7df6d0a41d715d468f8627da3c6d8501589b51
bus/fslmc: add QBMAN driver to bus

QBMAN, is a hardware block which interfaces with the other
accelerating hardware blocks (For e.g., WRIOP) on NXP's DPAA2
SoC for queue, buffer and packet scheduling.

This patch introduces a userspace driver for interfacing with
the QBMAN hw block.

The qbman-portal component provides APIs to do the low level
hardware bit twiddling for operations such as:
  -initializing Qman software portals
  -building and sending portal commands
  -portal interrupt configuration and processing

This same/similar code is used in kernel and compat file is used
to make it working in user space.

Signed-off-by: Geoff Thorpe <geoff.thorpe@nxp.com>
Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/Makefile
drivers/bus/fslmc/qbman/include/compat.h [new file with mode: 0644]
drivers/bus/fslmc/qbman/include/fsl_qbman_base.h [new file with mode: 0644]
drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h [new file with mode: 0644]
drivers/bus/fslmc/qbman/qbman_portal.c [new file with mode: 0644]
drivers/bus/fslmc/qbman/qbman_portal.h [new file with mode: 0644]
drivers/bus/fslmc/qbman/qbman_private.h [new file with mode: 0644]
drivers/bus/fslmc/qbman/qbman_sys.h [new file with mode: 0644]
drivers/bus/fslmc/qbman/qbman_sys_decl.h [new file with mode: 0644]
drivers/bus/fslmc/rte_bus_fslmc_version.map