1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 21f9c0a77SClaudiu Manoilmenuconfig FSL_DPAA 346252108SLi Yang bool "QorIQ DPAA1 framework support" 406cc5938SRoy Pledge depends on ((FSL_SOC_BOOKE || ARCH_LAYERSCAPE) && ARCH_DMA_ADDR_T_64BIT) 51f9c0a77SClaudiu Manoil select GENERIC_ALLOCATOR 61f9c0a77SClaudiu Manoil help 71f9c0a77SClaudiu Manoil The Freescale Data Path Acceleration Architecture (DPAA) is a set of 81f9c0a77SClaudiu Manoil hardware components on specific QorIQ multicore processors. 91f9c0a77SClaudiu Manoil This architecture provides the infrastructure to support simplified 101f9c0a77SClaudiu Manoil sharing of networking interfaces and accelerators by multiple CPUs. 111f9c0a77SClaudiu Manoil The major h/w blocks composing DPAA are BMan and QMan. 121f9c0a77SClaudiu Manoil 131f9c0a77SClaudiu Manoil The Buffer Manager (BMan) is a hardware buffer pool management block 141f9c0a77SClaudiu Manoil that allows software and accelerators on the datapath to acquire and 151f9c0a77SClaudiu Manoil release buffers in order to build frames. 161f9c0a77SClaudiu Manoil 171f9c0a77SClaudiu Manoil The Queue Manager (QMan) is a hardware queue management block 181f9c0a77SClaudiu Manoil that allows software and accelerators on the datapath to enqueue and 191f9c0a77SClaudiu Manoil dequeue frames in order to communicate. 201f9c0a77SClaudiu Manoil 211f9c0a77SClaudiu Manoilif FSL_DPAA 221f9c0a77SClaudiu Manoil 231f9c0a77SClaudiu Manoilconfig FSL_DPAA_CHECKING 241f9c0a77SClaudiu Manoil bool "Additional driver checking" 251f9c0a77SClaudiu Manoil help 261f9c0a77SClaudiu Manoil Compiles in additional checks, to sanity-check the drivers and 271f9c0a77SClaudiu Manoil any use of the exported API. Not recommended for performance. 281f9c0a77SClaudiu Manoil 2997e0d385SClaudiu Manoilconfig FSL_BMAN_TEST 3097e0d385SClaudiu Manoil tristate "BMan self-tests" 3197e0d385SClaudiu Manoil help 3297e0d385SClaudiu Manoil Compile the BMan self-test code. These tests will 3397e0d385SClaudiu Manoil exercise the BMan APIs to confirm functionality 3497e0d385SClaudiu Manoil of both the software drivers and hardware device. 3597e0d385SClaudiu Manoil 3697e0d385SClaudiu Manoilconfig FSL_BMAN_TEST_API 3797e0d385SClaudiu Manoil bool "High-level API self-test" 3897e0d385SClaudiu Manoil depends on FSL_BMAN_TEST 3997e0d385SClaudiu Manoil default y 4097e0d385SClaudiu Manoil help 4197e0d385SClaudiu Manoil This requires the presence of cpu-affine portals, and performs 4297e0d385SClaudiu Manoil high-level API testing with them (whichever portal(s) are affine 4397e0d385SClaudiu Manoil to the cpu(s) the test executes on). 4497e0d385SClaudiu Manoil 45de775623SClaudiu Manoilconfig FSL_QMAN_TEST 46de775623SClaudiu Manoil tristate "QMan self-tests" 47de775623SClaudiu Manoil help 48de775623SClaudiu Manoil Compile self-test code for QMan. 49de775623SClaudiu Manoil 50de775623SClaudiu Manoilconfig FSL_QMAN_TEST_API 51de775623SClaudiu Manoil bool "QMan high-level self-test" 52de775623SClaudiu Manoil depends on FSL_QMAN_TEST 53de775623SClaudiu Manoil default y 54de775623SClaudiu Manoil help 55de775623SClaudiu Manoil This requires the presence of cpu-affine portals, and performs 56de775623SClaudiu Manoil high-level API testing with them (whichever portal(s) are affine to 57de775623SClaudiu Manoil the cpu(s) the test executes on). 58de775623SClaudiu Manoil 59de775623SClaudiu Manoilconfig FSL_QMAN_TEST_STASH 60de775623SClaudiu Manoil bool "QMan 'hot potato' data-stashing self-test" 61de775623SClaudiu Manoil depends on FSL_QMAN_TEST 62de775623SClaudiu Manoil default y 63de775623SClaudiu Manoil help 64de775623SClaudiu Manoil This performs a "hot potato" style test enqueuing/dequeuing a frame 65de775623SClaudiu Manoil across a series of FQs scheduled to different portals (and cpus), with 66de775623SClaudiu Manoil DQRR, data and context stashing always on. 67de775623SClaudiu Manoil 681f9c0a77SClaudiu Manoilendif # FSL_DPAA 69