summaryrefslogtreecommitdiff
path: root/drivers/soc/fsl/qbman/Kconfig
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@nxp.com>2016-09-22 18:04:10 +0300
committerScott Wood <oss@buserror.net>2016-09-25 02:38:59 -0500
commit97e0d385b13998980252ff63123d8ebc4138db0a (patch)
tree9aa499c32bf5284c471669395e171a1fca21460a /drivers/soc/fsl/qbman/Kconfig
parentc535e923bb97a4b361e89a6383693482057f8b0c (diff)
soc/bman: Add self-test for BMan driver
Add a self test for the DPAA 1.x Buffer Manager driver. This test ensures that the driver can properly acquire and release buffers using the BMan portal infrastructure. Signed-off-by: Roy Pledge <roy.pledge@nxp.com> Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com> Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'drivers/soc/fsl/qbman/Kconfig')
-rw-r--r--drivers/soc/fsl/qbman/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/soc/fsl/qbman/Kconfig b/drivers/soc/fsl/qbman/Kconfig
index 8f2df64224bf..e6da6a2f396d 100644
--- a/drivers/soc/fsl/qbman/Kconfig
+++ b/drivers/soc/fsl/qbman/Kconfig
@@ -25,4 +25,20 @@ config FSL_DPAA_CHECKING
Compiles in additional checks, to sanity-check the drivers and
any use of the exported API. Not recommended for performance.
+config FSL_BMAN_TEST
+ tristate "BMan self-tests"
+ help
+ Compile the BMan self-test code. These tests will
+ exercise the BMan APIs to confirm functionality
+ of both the software drivers and hardware device.
+
+config FSL_BMAN_TEST_API
+ bool "High-level API self-test"
+ depends on FSL_BMAN_TEST
+ default y
+ help
+ This requires the presence of cpu-affine portals, and performs
+ high-level API testing with them (whichever portal(s) are affine
+ to the cpu(s) the test executes on).
+
endif # FSL_DPAA