blob: 58c5f2d52b65a5cea4550bb460489996abcbdbd9 (
plain)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
|
config FSL_PME2
bool "Freescale Datapath Pattern Matcher support"
depends on FSL_QMAN
menu "Freescale Datapath PME options"
depends on FSL_PME2
config FSL_PME2_CTRL
bool "Freescale PME2 (p4080, etc) device control"
default y
---help---
This compiles device support for the Freescale PME2 pattern matching
part contained in datapath-enabled SoCs (ie. accessed via Qman and
Bman portal functionality). At least one guest operating system must
have this driver support, together with the appropriate device-tree
entry, for PME2 functionality to be available. It is responsible for
allocating system memory to the device and configuring it for
operation. For this reason, it must be built into the kernel and will
initialise during early kernel boot.
config FSL_PME2_PDSRSIZE
int "Pattern Description and Stateful Rule default table size"
depends on FSL_PME2_CTRL
range 74240 1048573
default 131072
help
Select the default size of the Pattern Description and Stateful Rule
table as the number of 128 byte entries. This only takes effect if
the device tree node doesn't have the 'fsl,pme-pdsr' property.
range 74240-1048573 (9.5MB-134MB)
default 131072 (16MB)
if FSL_PME2_CTRL
comment "Statefule Rule Engine"
endif
config FSL_PME2_SRESIZE
int "SRE Session Context Entries table default table size"
depends on FSL_PME2_CTRL
range 0 134217727
default 327680
help
Select the default size of the SRE Context Table as the number of 32
byte entries. This only takes effect if the device tree node doesn't
have the 'fsl,pme-sre' property.
range 0-134217727 (0-4GB)
default 327680 (10MB)
config FSL_PME2_SRE_AIM
bool "Alternate Inconclusive Mode"
depends on FSL_PME2_CTRL
default n
help
Select the inconclusive match mode treatment. When true the
“alternate” inconclusive mode is used. When false the “default”
inconclusive mode is used.
config FSL_PME2_SRE_ESR
bool "End of SUI Simple Report"
depends on FSL_PME2_CTRL
default n
help
Select if an End of SUI will produce a Simple End of SUI report.
config FSL_PME2_SRE_CTX_SIZE_PER_SESSION
int "Default SRE Context Size per Session (16 => 64KB, 17 => 128KB)"
depends on FSL_PME2_CTRL
range 5 17
default 17
help
Select SRE context size per session as a power of 2.
range 5-17
Examples:
5 => 32 B
6 => 64 B
7 => 128 B
8 => 256 B
9 => 512 B
10 => 1 KB
11 => 2 KB
12 => 4 KB
13 => 8 KB
14 => 16 KB
15 => 32 KB
16 => 64 KB
17 => 128 KB
config FSL_PME2_SRE_CNR
int "Configured Number of Stateful Rules as a multiple of 256 (128 => 32768 )"
depends on FSL_PME2_CTRL
range 0 128
default 128
help
Select number of stateful rules as a multiple of 256.
range 0-128
Examples:
0 => 0
1 => 256
2 => 512
...
127 => 32512
128 => 32768
config FSL_PME2_SRE_MAX_INSTRUCTION_LIMIT
int "Maximum number of SRE instructions to be executed per reaction."
depends on FSL_PME2_CTRL
range 0 65535
default 65535
help
Select the maximum number of SRE instructions to be executed per
reaction.
range 0 65535
config FSL_PME2_SRE_MAX_BLOCK_NUMBER
int "Maximum number of Reaction Head blocks to be traversed per pattern match event"
depends on FSL_PME2_CTRL
range 0 32767
default 32767
help
Select the maximum number of reaction head blocks to be traversed per
pattern match event (e.g. a matched pattern or an End of SUI event).
range 0-32767
config FSL_PME2_PORTAL
tristate "Freescale PME2 (p4080, etc) device usage"
default y
---help---
This compiles I/O support for the Freescale PME2 pattern matching
part contained in datapath-enabled SoCs (ie. accessed via Qman and
Bman portal functionality).
if FSL_PME2_PORTAL
config FSL_PME2_TEST_HIGH
tristate "PME2 high-level self-test"
default n
---help---
This uses the high-level Qman driver (and the cpu-affine portals it
manages) to perform high-level PME2 API testing with it.
config FSL_PME2_TEST_SCAN
tristate "PME2 scan self-test"
depends on FSL_PME2_CTRL
default n
---help---
This uses the high-level Qman driver (and the cpu-affine portals it
manages) to perform scan PME2 API testing with it.
config FSL_PME2_TEST_SCAN_WITH_BPID
bool "PME2 scan self-test with buffer pool"
depends on FSL_PME2_TEST_SCAN && FSL_BMAN
default y
---help---
This uses a buffer pool id for scan test
config FSL_PME2_TEST_SCAN_WITH_BPID_SIZE
int "Buffer Pool size."
depends on FSL_PME2_TEST_SCAN_WITH_BPID
range 0 11
default 3
---help---
This uses the specified buffer pool size.
config FSL_PME2_DB
tristate "PME2 Database support"
depends on FSL_PME2_CTRL
default y
---help---
This compiles the database driver for PME2.
config FSL_PME2_DB_QOSOUT_PRIORITY
int "PME DB output frame queue priority."
depends on FSL_PME2_DB
range 0 7
default 2
---help---
The PME DB has a scheduled output frame queue. The qos priority level is configurable.
range 0-7
0 => High Priority 0
1 => High Priority 1
2 => Medium Priority
3 => Medium Priority
4 => Medium Priority
5 => Low Priority
6 => Low Priority
7 => Low Priority
config FSL_PME2_SCAN
tristate "PME2 Scan support"
default y
---help---
This compiles the scan driver for PME2.
config FSL_PME2_SCAN_DEBUG
bool "Debug Statements"
default n
depends on FSL_PME2_SCAN
---help---
The PME2_SCAN driver can optionally trace with more verbosity
of verbosity.
config FSL_PME_BUG_4K_SCAN_REV_2_1_4
bool "workaround for errata in PME version 2.1.4"
default y
---help---
If this option is selected, the driver will be compiled with a
workaround for this errata. This prevents scans of SUIs greater
than 4095 - 127 bytes when this revision of HW is detected.
If in doubt, say Y.
endif
config FSL_PME2_STAT_ACCUMULATOR_UPDATE_INTERVAL
int "Configure the pme2 statistics update interval in milliseconds"
depends on FSL_PME2_CTRL
range 0 10000
default 3400
help
The pme accumulator reads the current device statistics and add it
to a running counter. The frequency of these updates may be
controlled. If 0 is specified, no automatic updates is done.
range 0-10000
endmenu
|