driver: fsl-mc: qbman: Add QBMAN 4.1 support
authorPriyanka Jain <priyanka.jain@nxp.com>
Wed, 7 Dec 2016 06:34:05 +0000 (12:04 +0530)
committerYork Sun <york.sun@nxp.com>
Thu, 15 Dec 2016 19:57:05 +0000 (11:57 -0800)
commit8e62f1ee03c82ad285a4e2245e25fc348320749e
treec3b641d318ed92f03158da5deaf41f6907bfcf01
parent4002eab2c2bdbcb730620a12dafab32298c48135
driver: fsl-mc: qbman: Add QBMAN 4.1 support

LS2080A SoC family has QBMAN ver 4.0 whereas newer
SoCs like LS2088A, LS1088A has QBMAN ver 4.1
QBMAN ver 4.0 and ver 4.1 supports dqrr size as 4 and 8 respectively.

Add support of
to check QBMAN version based on SoC SVR
update dqrr_size accordingly
update code to support larger dqrr_size

Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/net/fsl-mc/dpio/qbman_portal.c
drivers/net/fsl-mc/dpio/qbman_portal.h
drivers/net/fsl-mc/dpio/qbman_private.h
drivers/net/fsl-mc/dpio/qbman_sys.h