summaryrefslogtreecommitdiff
path: root/drivers/soc/fsl/qbman/Kconfig
blob: bdecb86bb6562aa8201e2eb7c7f3341d2374797d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# SPDX-License-Identifier: GPL-2.0-only
menuconfig FSL_DPAA
	bool "QorIQ DPAA1 framework support"
	depends on ((FSL_SOC_BOOKE || ARCH_LAYERSCAPE) && ARCH_DMA_ADDR_T_64BIT)
	select GENERIC_ALLOCATOR
	help
	  The Freescale Data Path Acceleration Architecture (DPAA) is a set of
	  hardware components on specific QorIQ multicore processors.
	  This architecture provides the infrastructure to support simplified
	  sharing of networking interfaces and accelerators by multiple CPUs.
	  The major h/w blocks composing DPAA are BMan and QMan.

	  The Buffer Manager (BMan) is a hardware buffer pool management block
	  that allows software and accelerators on the datapath to acquire and
	  release buffers in order to build frames.

	  The Queue Manager (QMan) is a hardware queue management block
	  that allows software and accelerators on the datapath to enqueue and
	  dequeue frames in order to communicate.

if FSL_DPAA

config FSL_DPAA_CHECKING
	bool "Additional driver checking"
	help
	  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).

config FSL_QMAN_TEST
	tristate "QMan self-tests"
	help
	  Compile self-test code for QMan.

config FSL_QMAN_TEST_API
	bool "QMan high-level self-test"
	depends on FSL_QMAN_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).

config FSL_QMAN_TEST_STASH
	bool "QMan 'hot potato' data-stashing self-test"
	depends on FSL_QMAN_TEST
	default y
	help
	  This performs a "hot potato" style test enqueuing/dequeuing a frame
	  across a series of FQs scheduled to different portals (and cpus), with
	  DQRR, data and context stashing always on.

endif # FSL_DPAA