xref: /openbmc/linux/drivers/soc/fsl/qbman/Kconfig (revision 31af04cd)
1menuconfig FSL_DPAA
2	bool "QorIQ DPAA1 framework support"
3	depends on ((FSL_SOC_BOOKE || ARCH_LAYERSCAPE) && ARCH_DMA_ADDR_T_64BIT)
4	select GENERIC_ALLOCATOR
5	help
6	  The Freescale Data Path Acceleration Architecture (DPAA) is a set of
7	  hardware components on specific QorIQ multicore processors.
8	  This architecture provides the infrastructure to support simplified
9	  sharing of networking interfaces and accelerators by multiple CPUs.
10	  The major h/w blocks composing DPAA are BMan and QMan.
11
12	  The Buffer Manager (BMan) is a hardware buffer pool management block
13	  that allows software and accelerators on the datapath to acquire and
14	  release buffers in order to build frames.
15
16	  The Queue Manager (QMan) is a hardware queue management block
17	  that allows software and accelerators on the datapath to enqueue and
18	  dequeue frames in order to communicate.
19
20if FSL_DPAA
21
22config FSL_DPAA_CHECKING
23	bool "Additional driver checking"
24	help
25	  Compiles in additional checks, to sanity-check the drivers and
26	  any use of the exported API. Not recommended for performance.
27
28config FSL_BMAN_TEST
29	tristate "BMan self-tests"
30	help
31	  Compile the BMan self-test code. These tests will
32	  exercise the BMan APIs to confirm functionality
33	  of both the software drivers and hardware device.
34
35config FSL_BMAN_TEST_API
36	bool "High-level API self-test"
37	depends on FSL_BMAN_TEST
38	default y
39	help
40	  This requires the presence of cpu-affine portals, and performs
41	  high-level API testing with them (whichever portal(s) are affine
42	  to the cpu(s) the test executes on).
43
44config FSL_QMAN_TEST
45	tristate "QMan self-tests"
46	help
47	  Compile self-test code for QMan.
48
49config FSL_QMAN_TEST_API
50	bool "QMan high-level self-test"
51	depends on FSL_QMAN_TEST
52	default y
53	help
54	  This requires the presence of cpu-affine portals, and performs
55	  high-level API testing with them (whichever portal(s) are affine to
56	  the cpu(s) the test executes on).
57
58config FSL_QMAN_TEST_STASH
59	bool "QMan 'hot potato' data-stashing self-test"
60	depends on FSL_QMAN_TEST
61	default y
62	help
63	  This performs a "hot potato" style test enqueuing/dequeuing a frame
64	  across a series of FQs scheduled to different portals (and cpus), with
65	  DQRR, data and context stashing always on.
66
67endif # FSL_DPAA
68