diff options
author | Claudiu Manoil <claudiu.manoil@nxp.com> | 2016-09-22 18:04:10 +0300 |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-09-25 10:38:59 +0300 |
commit | 97e0d385b13998980252ff63123d8ebc4138db0a (patch) | |
tree | 9aa499c32bf5284c471669395e171a1fca21460a /drivers/soc/fsl/qbman/Kconfig | |
parent | c535e923bb97a4b361e89a6383693482057f8b0c (diff) | |
download | linux-97e0d385b13998980252ff63123d8ebc4138db0a.tar.xz |
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/Kconfig | 16 |
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 |