1 /* SPDX-License-Identifier: GPL-2.0
2  * Marvell OcteonTx2 RVU Admin Function driver
3  *
4  * Copyright (C) 2018 Marvell International Ltd.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 
11 #ifndef NPC_PROFILE_H
12 #define NPC_PROFILE_H
13 
14 #define NPC_ETYPE_IP		0x0800
15 #define NPC_ETYPE_IP6		0x86dd
16 #define NPC_ETYPE_ARP		0x0806
17 #define NPC_ETYPE_RARP		0x8035
18 #define NPC_ETYPE_MPLSU		0x8847
19 #define NPC_ETYPE_MPLSM		0x8848
20 #define NPC_ETYPE_ETAG		0x893f
21 #define NPC_ETYPE_CTAG		0x8100
22 #define NPC_ETYPE_SBTAG		0x88a8
23 #define NPC_ETYPE_ITAG		0x88e7
24 #define NPC_ETYPE_PTP		0x88f7
25 #define NPC_ETYPE_FCOE		0x8906
26 #define NPC_ETYPE_QINQ		0x9100
27 #define NPC_ETYPE_TRANS_ETH_BR	0x6558
28 #define NPC_ETYPE_PPP		0x880b
29 #define NPC_ETYPE_NSH		0x894f
30 
31 #define NPC_IPNH_HOP		0
32 #define NPC_IPNH_ICMP		1
33 #define NPC_IPNH_IGMP		2
34 #define NPC_IPNH_IP		4
35 #define NPC_IPNH_TCP		6
36 #define NPC_IPNH_UDP		17
37 #define NPC_IPNH_IP6		41
38 #define NPC_IPNH_ROUT		43
39 #define NPC_IPNH_FRAG		44
40 #define NPC_IPNH_GRE		47
41 #define NPC_IPNH_ESP		50
42 #define NPC_IPNH_AH		51
43 #define NPC_IPNH_ICMP6		58
44 #define NPC_IPNH_NONH		59
45 #define NPC_IPNH_DEST		60
46 #define NPC_IPNH_SCTP		132
47 #define NPC_IPNH_MPLS		137
48 
49 #define NPC_UDP_PORT_GTPC	2123
50 #define NPC_UDP_PORT_GTPU	2152
51 #define NPC_UDP_PORT_VXLAN	4789
52 #define NPC_UDP_PORT_VXLANGPE	4790
53 #define NPC_UDP_PORT_GENEVE	6081
54 
55 #define NPC_VXLANGPE_NP_IP	0x1
56 #define NPC_VXLANGPE_NP_IP6	0x2
57 #define NPC_VXLANGPE_NP_ETH	0x3
58 #define NPC_VXLANGPE_NP_NSH	0x4
59 #define NPC_VXLANGPE_NP_MPLS	0x5
60 #define NPC_VXLANGPE_NP_GBP	0x6
61 #define NPC_VXLANGPE_NP_VBNG	0x7
62 
63 #define NPC_NSH_NP_IP		0x1
64 #define NPC_NSH_NP_IP6		0x2
65 #define NPC_NSH_NP_ETH		0x3
66 #define NPC_NSH_NP_NSH		0x4
67 #define NPC_NSH_NP_MPLS		0x5
68 
69 #define NPC_TCP_PORT_HTTP	80
70 #define NPC_TCP_PORT_HTTPS	443
71 #define NPC_TCP_PORT_PPTP	1723
72 
73 #define NPC_MPLS_S		0x0100
74 
75 #define NPC_IP_VER_4		0x4000
76 #define NPC_IP_VER_6		0x6000
77 #define NPC_IP_VER_MASK		0xf000
78 #define NPC_IP_HDR_LEN_5	0x0500
79 #define NPC_IP_HDR_LEN_MASK	0x0f00
80 
81 #define NPC_GRE_F_CSUM		(0x1 << 15)
82 #define NPC_GRE_F_ROUTE		(0x1 << 14)
83 #define NPC_GRE_F_KEY		(0x1 << 13)
84 #define NPC_GRE_F_SEQ		(0x1 << 12)
85 #define NPC_GRE_F_ACK		(0x1 << 7)
86 #define NPC_GRE_FLAG_MASK	(NPC_GRE_F_CSUM | NPC_GRE_F_ROUTE | \
87 				 NPC_GRE_F_KEY | NPC_GRE_F_SEQ | NPC_GRE_F_ACK)
88 #define NPC_GRE_VER_MASK	0x0003
89 #define NPC_GRE_VER_1		0x0001
90 
91 #define NPC_VXLAN_I		0x0800
92 
93 #define NPC_VXLANGPE_VER	(0x3 << 12)
94 #define NPC_VXLANGPE_I		(0x1 << 11)
95 #define NPC_VXLANGPE_P		(0x1 << 10)
96 #define NPC_VXLANGPE_B		(0x1 << 9)
97 #define NPC_VXLANGPE_NP_MASK	0x00ff
98 
99 #define NPC_NSH_NP_MASK		0x00ff
100 
101 #define NPC_GENEVE_F_OAM	(0x1 << 7)
102 #define NPC_GENEVE_F_CRI_OPT	(0x1 << 6)
103 
104 #define NPC_GTP_PT_GTP		(0x1 << 12)
105 #define NPC_GTP_PT_MASK		(0x1 << 12)
106 #define NPC_GTP_VER1		(0x1 << 13)
107 #define NPC_GTP_VER_MASK	(0x7 << 13)
108 #define NPC_GTP_MT_G_PDU	0xff
109 #define NPC_GTP_MT_MASK		0xff
110 
111 #define NPC_TCP_DATA_OFFSET_5		0x5000
112 #define NPC_TCP_DATA_OFFSET_MASK	0xf000
113 
114 enum npc_kpu_parser_state {
115 	NPC_S_NA = 0,
116 	NPC_S_KPU1_ETHER,
117 	NPC_S_KPU1_PKI,
118 	NPC_S_KPU2_CTAG,
119 	NPC_S_KPU2_SBTAG,
120 	NPC_S_KPU2_QINQ,
121 	NPC_S_KPU2_ETAG,
122 	NPC_S_KPU2_ITAG,
123 	NPC_S_KPU3_CTAG,
124 	NPC_S_KPU3_STAG,
125 	NPC_S_KPU3_QINQ,
126 	NPC_S_KPU3_ITAG,
127 	NPC_S_KPU4_MPLS,
128 	NPC_S_KPU4_NSH,
129 	NPC_S_KPU5_IP,
130 	NPC_S_KPU5_IP6,
131 	NPC_S_KPU5_ARP,
132 	NPC_S_KPU5_RARP,
133 	NPC_S_KPU5_PTP,
134 	NPC_S_KPU5_FCOE,
135 	NPC_S_KPU5_MPLS,
136 	NPC_S_KPU5_MPLS_PL,
137 	NPC_S_KPU5_NSH,
138 	NPC_S_KPU6_IP6_EXT,
139 	NPC_S_KPU7_IP6_EXT,
140 	NPC_S_KPU8_TCP,
141 	NPC_S_KPU8_UDP,
142 	NPC_S_KPU8_SCTP,
143 	NPC_S_KPU8_ICMP,
144 	NPC_S_KPU8_IGMP,
145 	NPC_S_KPU8_ICMP6,
146 	NPC_S_KPU8_GRE,
147 	NPC_S_KPU8_ESP,
148 	NPC_S_KPU8_AH,
149 	NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN,
150 	NPC_S_KPU9_TU_MPLS,
151 	NPC_S_KPU9_TU_NSH,
152 	NPC_S_KPU10_TU_MPLS_PL,
153 	NPC_S_KPU10_TU_MPLS,
154 	NPC_S_KPU10_TU_NSH,
155 	NPC_S_KPU11_TU_ETHER,
156 	NPC_S_KPU11_TU_PPP,
157 	NPC_S_KPU11_TU_MPLS_IN_NSH,
158 	NPC_S_KPU11_TU_3RD_NSH,
159 	NPC_S_KPU12_TU_IP,
160 	NPC_S_KPU12_TU_IP6,
161 	NPC_S_KPU12_TU_ARP,
162 	NPC_S_KPU13_TU_IP6_EXT,
163 	NPC_S_KPU14_TU_IP6_EXT,
164 	NPC_S_KPU15_TU_TCP,
165 	NPC_S_KPU15_TU_UDP,
166 	NPC_S_KPU15_TU_SCTP,
167 	NPC_S_KPU15_TU_ICMP,
168 	NPC_S_KPU15_TU_IGMP,
169 	NPC_S_KPU15_TU_ICMP6,
170 	NPC_S_KPU15_TU_ESP,
171 	NPC_S_KPU15_TU_AH,
172 	NPC_S_KPU16_HTTP_DATA,
173 	NPC_S_KPU16_HTTPS_DATA,
174 	NPC_S_KPU16_PPTP_DATA,
175 	NPC_S_KPU16_TCP_DATA,
176 	NPC_S_KPU16_UDP_DATA,
177 	NPC_S_LAST /* has to be the last item */
178 };
179 
180 enum npc_kpu_parser_flag {
181 	NPC_F_NA = 0,
182 	NPC_F_PKI,
183 	NPC_F_PKI_VLAN,
184 	NPC_F_PKI_ETAG,
185 	NPC_F_PKI_ITAG,
186 	NPC_F_PKI_MPLS,
187 	NPC_F_PKI_NSH,
188 	NPC_F_ETYPE_UNK,
189 	NPC_F_ETHER_VLAN,
190 	NPC_F_ETHER_ETAG,
191 	NPC_F_ETHER_ITAG,
192 	NPC_F_ETHER_MPLS,
193 	NPC_F_ETHER_NSH,
194 	NPC_F_STAG_CTAG,
195 	NPC_F_STAG_CTAG_UNK,
196 	NPC_F_STAG_STAG_CTAG,
197 	NPC_F_STAG_STAG_STAG,
198 	NPC_F_QINQ_CTAG,
199 	NPC_F_QINQ_CTAG_UNK,
200 	NPC_F_QINQ_QINQ_CTAG,
201 	NPC_F_QINQ_QINQ_QINQ,
202 	NPC_F_BTAG_ITAG,
203 	NPC_F_BTAG_ITAG_STAG,
204 	NPC_F_BTAG_ITAG_CTAG,
205 	NPC_F_BTAG_ITAG_UNK,
206 	NPC_F_ETAG_CTAG,
207 	NPC_F_ETAG_BTAG_ITAG,
208 	NPC_F_ETAG_STAG,
209 	NPC_F_ETAG_QINQ,
210 	NPC_F_ETAG_ITAG,
211 	NPC_F_ETAG_ITAG_STAG,
212 	NPC_F_ETAG_ITAG_CTAG,
213 	NPC_F_ETAG_ITAG_UNK,
214 	NPC_F_ITAG_STAG_CTAG,
215 	NPC_F_ITAG_STAG,
216 	NPC_F_ITAG_CTAG,
217 	NPC_F_MPLS_4_LABELS,
218 	NPC_F_MPLS_3_LABELS,
219 	NPC_F_MPLS_2_LABELS,
220 	NPC_F_IP_HAS_OPTIONS,
221 	NPC_F_IP_IP_IN_IP,
222 	NPC_F_IP_6TO4,
223 	NPC_F_IP_MPLS_IN_IP,
224 	NPC_F_IP_UNK_PROTO,
225 	NPC_F_IP_IP_IN_IP_HAS_OPTIONS,
226 	NPC_F_IP_6TO4_HAS_OPTIONS,
227 	NPC_F_IP_MPLS_IN_IP_HAS_OPTIONS,
228 	NPC_F_IP_UNK_PROTO_HAS_OPTIONS,
229 	NPC_F_IP6_HAS_EXT,
230 	NPC_F_IP6_TUN_IP6,
231 	NPC_F_IP6_MPLS_IN_IP,
232 	NPC_F_TCP_HAS_OPTIONS,
233 	NPC_F_TCP_HTTP,
234 	NPC_F_TCP_HTTPS,
235 	NPC_F_TCP_PPTP,
236 	NPC_F_TCP_UNK_PORT,
237 	NPC_F_TCP_HTTP_HAS_OPTIONS,
238 	NPC_F_TCP_HTTPS_HAS_OPTIONS,
239 	NPC_F_TCP_PPTP_HAS_OPTIONS,
240 	NPC_F_TCP_UNK_PORT_HAS_OPTIONS,
241 	NPC_F_UDP_VXLAN,
242 	NPC_F_UDP_VXLAN_NOVNI,
243 	NPC_F_UDP_VXLAN_NOVNI_NSH,
244 	NPC_F_UDP_VXLANGPE,
245 	NPC_F_UDP_VXLANGPE_NSH,
246 	NPC_F_UDP_VXLANGPE_MPLS,
247 	NPC_F_UDP_VXLANGPE_NOVNI,
248 	NPC_F_UDP_VXLANGPE_NOVNI_NSH,
249 	NPC_F_UDP_VXLANGPE_NOVNI_MPLS,
250 	NPC_F_UDP_VXLANGPE_UNK,
251 	NPC_F_UDP_VXLANGPE_NONP,
252 	NPC_F_UDP_GTP_GTPC,
253 	NPC_F_UDP_GTP_GTPU_G_PDU,
254 	NPC_F_UDP_GTP_GTPU_UNK,
255 	NPC_F_UDP_UNK_PORT,
256 	NPC_F_UDP_GENEVE,
257 	NPC_F_UDP_GENEVE_OAM,
258 	NPC_F_UDP_GENEVE_CRI_OPT,
259 	NPC_F_UDP_GENEVE_OAM_CRI_OPT,
260 	NPC_F_GRE_NVGRE,
261 	NPC_F_GRE_HAS_SRE,
262 	NPC_F_GRE_HAS_CSUM,
263 	NPC_F_GRE_HAS_KEY,
264 	NPC_F_GRE_HAS_SEQ,
265 	NPC_F_GRE_HAS_CSUM_KEY,
266 	NPC_F_GRE_HAS_CSUM_SEQ,
267 	NPC_F_GRE_HAS_KEY_SEQ,
268 	NPC_F_GRE_HAS_CSUM_KEY_SEQ,
269 	NPC_F_GRE_HAS_ROUTE,
270 	NPC_F_GRE_UNK_PROTO,
271 	NPC_F_GRE_VER1,
272 	NPC_F_GRE_VER1_HAS_SEQ,
273 	NPC_F_GRE_VER1_HAS_ACK,
274 	NPC_F_GRE_VER1_HAS_SEQ_ACK,
275 	NPC_F_GRE_VER1_UNK_PROTO,
276 	NPC_F_TU_ETHER_UNK,
277 	NPC_F_TU_ETHER_CTAG,
278 	NPC_F_TU_ETHER_CTAG_UNK,
279 	NPC_F_TU_ETHER_STAG_CTAG,
280 	NPC_F_TU_ETHER_STAG_CTAG_UNK,
281 	NPC_F_TU_ETHER_STAG,
282 	NPC_F_TU_ETHER_STAG_UNK,
283 	NPC_F_TU_ETHER_QINQ_CTAG,
284 	NPC_F_TU_ETHER_QINQ_CTAG_UNK,
285 	NPC_F_TU_ETHER_QINQ,
286 	NPC_F_TU_ETHER_QINQ_UNK,
287 	NPC_F_LAST /* has to be the last item */
288 };
289 
290 enum npc_kpu_err_code {
291 	NPC_EC_NOERR = 0, /* has to be zero */
292 	NPC_EC_UNK,
293 	NPC_EC_L2_K1,
294 	NPC_EC_L2_K2,
295 	NPC_EC_L2_K3,
296 	NPC_EC_L2_K3_ETYPE_UNK,
297 	NPC_EC_L2_MPLS_2MANY,
298 	NPC_EC_L2_K4,
299 	NPC_EC_IP_VER,
300 	NPC_EC_IP6_VER,
301 	NPC_EC_VXLAN,
302 	NPC_EC_NVGRE,
303 	NPC_EC_GRE,
304 	NPC_EC_GRE_VER1,
305 	NPC_EC_L4,
306 	NPC_EC_LAST /* has to be the last item */
307 };
308 
309 enum NPC_ERRLEV_E {
310 	NPC_ERRLEV_RE = 0,
311 	NPC_ERRLEV_LA = 1,
312 	NPC_ERRLEV_LB = 2,
313 	NPC_ERRLEV_LC = 3,
314 	NPC_ERRLEV_LD = 4,
315 	NPC_ERRLEV_LE = 5,
316 	NPC_ERRLEV_LF = 6,
317 	NPC_ERRLEV_LG = 7,
318 	NPC_ERRLEV_LH = 8,
319 	NPC_ERRLEV_R9 = 9,
320 	NPC_ERRLEV_R10 = 10,
321 	NPC_ERRLEV_R11 = 11,
322 	NPC_ERRLEV_R12 = 12,
323 	NPC_ERRLEV_R13 = 13,
324 	NPC_ERRLEV_R14 = 14,
325 	NPC_ERRLEV_NIX = 15,
326 	NPC_ERRLEV_ENUM_LAST = 16,
327 };
328 
329 static struct npc_kpu_profile_action ikpu_action_entries[] = {
330 	{
331 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
332 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
333 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
334 		0, 0,
335 	},
336 	{
337 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
338 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
339 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
340 		0, 0,
341 	},
342 	{
343 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
344 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
345 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
346 		0, 0,
347 	},
348 	{
349 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
350 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
351 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
352 		0, 0,
353 	},
354 	{
355 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
356 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
357 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
358 		0, 0,
359 	},
360 	{
361 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
362 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
363 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
364 		0, 0,
365 	},
366 	{
367 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
368 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
369 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
370 		0, 0,
371 	},
372 	{
373 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
374 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
375 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
376 		0, 0,
377 	},
378 	{
379 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
380 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
381 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
382 		0, 0,
383 	},
384 	{
385 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
386 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
387 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
388 		0, 0,
389 	},
390 	{
391 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
392 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
393 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
394 		0, 0,
395 	},
396 	{
397 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
398 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
399 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
400 		0, 0,
401 	},
402 	{
403 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
404 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
405 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
406 		0, 0,
407 	},
408 	{
409 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
410 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
411 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
412 		0, 0,
413 	},
414 	{
415 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
416 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
417 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
418 		0, 0,
419 	},
420 	{
421 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
422 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
423 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
424 		0, 0,
425 	},
426 	{
427 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
428 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
429 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
430 		0, 0,
431 	},
432 	{
433 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
434 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
435 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
436 		0, 0,
437 	},
438 	{
439 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
440 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
441 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
442 		0, 0,
443 	},
444 	{
445 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
446 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
447 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
448 		0, 0,
449 	},
450 	{
451 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
452 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
453 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
454 		0, 0,
455 	},
456 	{
457 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
458 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
459 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
460 		0, 0,
461 	},
462 	{
463 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
464 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
465 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
466 		0, 0,
467 	},
468 	{
469 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
470 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
471 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
472 		0, 0,
473 	},
474 	{
475 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
476 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
477 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
478 		0, 0,
479 	},
480 	{
481 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
482 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
483 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
484 		0, 0,
485 	},
486 	{
487 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
488 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
489 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
490 		0, 0,
491 	},
492 	{
493 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
494 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
495 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
496 		0, 0,
497 	},
498 	{
499 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
500 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
501 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
502 		0, 0,
503 	},
504 	{
505 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
506 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
507 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
508 		0, 0,
509 	},
510 	{
511 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
512 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
513 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
514 		0, 0,
515 	},
516 	{
517 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
518 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
519 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
520 		0, 0,
521 	},
522 	{
523 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
524 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
525 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
526 		0, 0,
527 	},
528 	{
529 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
530 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
531 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
532 		0, 0,
533 	},
534 	{
535 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
536 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
537 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
538 		0, 0,
539 	},
540 	{
541 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
542 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
543 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
544 		0, 0,
545 	},
546 	{
547 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
548 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
549 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
550 		0, 0,
551 	},
552 	{
553 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
554 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
555 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
556 		0, 0,
557 	},
558 	{
559 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
560 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
561 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
562 		0, 0,
563 	},
564 	{
565 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
566 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
567 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
568 		0, 0,
569 	},
570 	{
571 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
572 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
573 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
574 		0, 0,
575 	},
576 	{
577 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
578 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
579 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
580 		0, 0,
581 	},
582 	{
583 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
584 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
585 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
586 		0, 0,
587 	},
588 	{
589 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
590 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
591 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
592 		0, 0,
593 	},
594 	{
595 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
596 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
597 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
598 		0, 0,
599 	},
600 	{
601 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
602 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
603 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
604 		0, 0,
605 	},
606 	{
607 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
608 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
609 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
610 		0, 0,
611 	},
612 	{
613 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
614 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
615 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
616 		0, 0,
617 	},
618 	{
619 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
620 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
621 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
622 		0, 0,
623 	},
624 	{
625 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
626 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
627 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
628 		0, 0,
629 	},
630 	{
631 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
632 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
633 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
634 		0, 0,
635 	},
636 	{
637 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
638 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
639 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
640 		0, 0,
641 	},
642 	{
643 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
644 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
645 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
646 		0, 0,
647 	},
648 	{
649 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
650 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
651 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
652 		0, 0,
653 	},
654 	{
655 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
656 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
657 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
658 		0, 0,
659 	},
660 	{
661 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
662 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
663 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
664 		0, 0,
665 	},
666 	{
667 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
668 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
669 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
670 		0, 0,
671 	},
672 	{
673 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
674 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
675 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
676 		0, 0,
677 	},
678 	{
679 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
680 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
681 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
682 		0, 0,
683 	},
684 	{
685 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
686 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
687 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
688 		0, 0,
689 	},
690 	{
691 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
692 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
693 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
694 		0, 0,
695 	},
696 	{
697 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
698 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
699 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
700 		0, 0,
701 	},
702 	{
703 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
704 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
705 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
706 		0, 0,
707 	},
708 	{
709 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 14, 16,
710 		0, 0, NPC_S_KPU1_ETHER, 0, 0,
711 		NPC_LID_LA, NPC_LT_NA, 0, 1, 0xff,
712 		0, 0,
713 	},
714 };
715 
716 static struct npc_kpu_profile_cam kpu1_cam_entries[] = {
717 	{
718 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_IP, 0xffff,
719 		0x0000, 0x0000, 0x0000, 0x0000,
720 	},
721 	{
722 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_IP6, 0xffff,
723 		0x0000, 0x0000, 0x0000, 0x0000,
724 	},
725 	{
726 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_ARP, 0xffff,
727 		0x0000, 0x0000, 0x0000, 0x0000,
728 	},
729 	{
730 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_RARP, 0xffff,
731 		0x0000, 0x0000, 0x0000, 0x0000,
732 	},
733 	{
734 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_PTP, 0xffff,
735 		0x0000, 0x0000, 0x0000, 0x0000,
736 	},
737 	{
738 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_FCOE, 0xffff,
739 		0x0000, 0x0000, 0x0000, 0x0000,
740 	},
741 	{
742 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_CTAG, 0xffff,
743 		0x0000, 0x0000, 0x0000, 0x0000,
744 	},
745 	{
746 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_SBTAG, 0xffff,
747 		0x0000, 0x0000, 0x0000, 0x0000,
748 	},
749 	{
750 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_QINQ, 0xffff,
751 		0x0000, 0x0000, 0x0000, 0x0000,
752 	},
753 	{
754 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_ETAG, 0xffff,
755 		0x0000, 0x0000, 0x0000, 0x0000,
756 	},
757 	{
758 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_ITAG, 0xffff,
759 		0x0000, 0x0000, 0x0000, 0x0000,
760 	},
761 	{
762 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_MPLSU, 0xffff,
763 		0x0000, 0x0000, 0x0000, 0x0000,
764 	},
765 	{
766 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_MPLSM, 0xffff,
767 		0x0000, 0x0000, 0x0000, 0x0000,
768 	},
769 	{
770 		NPC_S_KPU1_ETHER, 0xff, NPC_ETYPE_NSH, 0xffff,
771 		0x0000, 0x0000, 0x0000, 0x0000,
772 	},
773 	{
774 		NPC_S_KPU1_ETHER, 0xff, 0x0000, 0xfc00,
775 		0x0000, 0x0000, 0x0000, 0x0000,
776 	},
777 	{
778 		NPC_S_KPU1_ETHER, 0xff, 0x0400, 0xfe00,
779 		0x0000, 0x0000, 0x0000, 0x0000,
780 	},
781 	{
782 		NPC_S_KPU1_ETHER, 0xff, 0x0000, 0x0000,
783 		0x0000, 0x0000, 0x0000, 0x0000,
784 	},
785 	{
786 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_IP, 0xffff,
787 		0x0000, 0x0000, 0x0000, 0x0000,
788 	},
789 	{
790 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_IP6, 0xffff,
791 		0x0000, 0x0000, 0x0000, 0x0000,
792 	},
793 	{
794 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_ARP, 0xffff,
795 		0x0000, 0x0000, 0x0000, 0x0000,
796 	},
797 	{
798 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_RARP, 0xffff,
799 		0x0000, 0x0000, 0x0000, 0x0000,
800 	},
801 	{
802 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_PTP, 0xffff,
803 		0x0000, 0x0000, 0x0000, 0x0000,
804 	},
805 	{
806 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_FCOE, 0xffff,
807 		0x0000, 0x0000, 0x0000, 0x0000,
808 	},
809 	{
810 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_CTAG, 0xffff,
811 		0x0000, 0x0000, 0x0000, 0x0000,
812 	},
813 	{
814 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_SBTAG, 0xffff,
815 		0x0000, 0x0000, 0x0000, 0x0000,
816 	},
817 	{
818 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_QINQ, 0xffff,
819 		0x0000, 0x0000, 0x0000, 0x0000,
820 	},
821 	{
822 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_ETAG, 0xffff,
823 		0x0000, 0x0000, 0x0000, 0x0000,
824 	},
825 	{
826 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_ITAG, 0xffff,
827 		0x0000, 0x0000, 0x0000, 0x0000,
828 	},
829 	{
830 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_MPLSU, 0xffff,
831 		0x0010, 0x0010, 0x0000, 0xffff,
832 	},
833 	{
834 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_MPLSM, 0xffff,
835 		0x0010, 0x0010, 0x0000, 0xffff,
836 	},
837 	{
838 		NPC_S_KPU1_PKI, 0xff, NPC_ETYPE_NSH, 0xffff,
839 		0x0000, 0x0000, 0x0000, 0x0000,
840 	},
841 	{
842 		NPC_S_KPU1_PKI, 0xff, 0x0000, 0x0000,
843 		0x0000, 0x0000, 0x0000, 0x0000,
844 	},
845 	{
846 		NPC_S_NA, 0X00, 0x0000, 0x0000,
847 		0x0000, 0x0000, 0x0000, 0x0000,
848 	},
849 };
850 
851 static struct npc_kpu_profile_cam kpu2_cam_entries[] = {
852 	{
853 		NPC_S_KPU2_CTAG, 0xff, NPC_ETYPE_IP, 0xffff,
854 		0x0000, 0x0000, 0x0000, 0x0000,
855 	},
856 	{
857 		NPC_S_KPU2_CTAG, 0xff, NPC_ETYPE_IP6, 0xffff,
858 		0x0000, 0x0000, 0x0000, 0x0000,
859 	},
860 	{
861 		NPC_S_KPU2_CTAG, 0xff, NPC_ETYPE_ARP, 0xffff,
862 		0x0000, 0x0000, 0x0000, 0x0000,
863 	},
864 	{
865 		NPC_S_KPU2_CTAG, 0xff, NPC_ETYPE_RARP, 0xffff,
866 		0x0000, 0x0000, 0x0000, 0x0000,
867 	},
868 	{
869 		NPC_S_KPU2_CTAG, 0xff, NPC_ETYPE_PTP, 0xffff,
870 		0x0000, 0x0000, 0x0000, 0x0000,
871 	},
872 	{
873 		NPC_S_KPU2_CTAG, 0xff, NPC_ETYPE_FCOE, 0xffff,
874 		0x0000, 0x0000, 0x0000, 0x0000,
875 	},
876 	{
877 		NPC_S_KPU2_CTAG, 0xff, NPC_ETYPE_MPLSU, 0xffff,
878 		0x0000, 0x0000, 0x0000, 0x0000,
879 	},
880 	{
881 		NPC_S_KPU2_CTAG, 0xff, NPC_ETYPE_MPLSM, 0xffff,
882 		0x0000, 0x0000, 0x0000, 0x0000,
883 	},
884 	{
885 		NPC_S_KPU2_CTAG, 0xff, NPC_ETYPE_NSH, 0xffff,
886 		0x0000, 0x0000, 0x0000, 0x0000,
887 	},
888 	{
889 		NPC_S_KPU2_CTAG, 0xff, 0x0000, 0x0000,
890 		0x0000, 0x0000, 0x0000, 0x0000,
891 	},
892 	{
893 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
894 		NPC_ETYPE_IP, 0xffff, 0x0000, 0x0000,
895 	},
896 	{
897 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
898 		NPC_ETYPE_IP6, 0xffff, 0x0000, 0x0000,
899 	},
900 	{
901 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
902 		NPC_ETYPE_ARP, 0xffff, 0x0000, 0x0000,
903 	},
904 	{
905 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
906 		NPC_ETYPE_RARP, 0xffff, 0x0000, 0x0000,
907 	},
908 	{
909 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
910 		NPC_ETYPE_PTP, 0xffff, 0x0000, 0x0000,
911 	},
912 	{
913 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
914 		NPC_ETYPE_FCOE, 0xffff, 0x0000, 0x0000,
915 	},
916 	{
917 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
918 		NPC_ETYPE_MPLSU, 0xffff, 0x0000, 0x0000,
919 	},
920 	{
921 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
922 		NPC_ETYPE_MPLSM, 0xffff, 0x0000, 0x0000,
923 	},
924 	{
925 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
926 		NPC_ETYPE_NSH, 0xffff, 0x0000, 0x0000,
927 	},
928 	{
929 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
930 		0x0000, 0x0000, 0x0000, 0x0000,
931 	},
932 	{
933 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
934 		NPC_ETYPE_CTAG, 0xffff, 0x0000, 0x0000,
935 	},
936 	{
937 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
938 		NPC_ETYPE_SBTAG, 0xffff, 0x0000, 0x0000,
939 	},
940 	{
941 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
942 		0x0000, 0x0000, NPC_ETYPE_IP, 0xffff,
943 	},
944 	{
945 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
946 		0x0000, 0x0000, NPC_ETYPE_IP6, 0xffff,
947 	},
948 	{
949 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
950 		0x0000, 0x0000, NPC_ETYPE_ARP, 0xffff,
951 	},
952 	{
953 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
954 		0x0000, 0x0000, NPC_ETYPE_RARP, 0xffff,
955 	},
956 	{
957 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
958 		0x0000, 0x0000, NPC_ETYPE_PTP, 0xffff,
959 	},
960 	{
961 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
962 		0x0000, 0x0000, NPC_ETYPE_FCOE, 0xffff,
963 	},
964 	{
965 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
966 		0x0000, 0x0000, NPC_ETYPE_MPLSU, 0xffff,
967 	},
968 	{
969 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
970 		0x0000, 0x0000, NPC_ETYPE_MPLSM, 0xffff,
971 	},
972 	{
973 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
974 		0x0000, 0x0000, NPC_ETYPE_NSH, 0xffff,
975 	},
976 	{
977 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
978 		0x0000, 0x0000, NPC_ETYPE_SBTAG, 0xffff,
979 	},
980 	{
981 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
982 		0x0000, 0x0000, NPC_ETYPE_CTAG, 0xffff,
983 	},
984 	{
985 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
986 		0x0000, 0x0000, 0x0000, 0x0000,
987 	},
988 	{
989 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_IP, 0xffff,
990 		0x0000, 0x0000, 0x0000, 0x0000,
991 	},
992 	{
993 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_IP6, 0xffff,
994 		0x0000, 0x0000, 0x0000, 0x0000,
995 	},
996 	{
997 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_ARP, 0xffff,
998 		0x0000, 0x0000, 0x0000, 0x0000,
999 	},
1000 	{
1001 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_RARP, 0xffff,
1002 		0x0000, 0x0000, 0x0000, 0x0000,
1003 	},
1004 	{
1005 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_PTP, 0xffff,
1006 		0x0000, 0x0000, 0x0000, 0x0000,
1007 	},
1008 	{
1009 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_FCOE, 0xffff,
1010 		0x0000, 0x0000, 0x0000, 0x0000,
1011 	},
1012 	{
1013 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_MPLSU, 0xffff,
1014 		0x0000, 0x0000, 0x0000, 0x0000,
1015 	},
1016 	{
1017 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_MPLSM, 0xffff,
1018 		0x0000, 0x0000, 0x0000, 0x0000,
1019 	},
1020 	{
1021 		NPC_S_KPU2_SBTAG, 0xff, NPC_ETYPE_NSH, 0xffff,
1022 		0x0000, 0x0000, 0x0000, 0x0000,
1023 	},
1024 	{
1025 		NPC_S_KPU2_SBTAG, 0xff, 0x0000, 0x0000,
1026 		0x0000, 0x0000, 0x0000, 0x0000,
1027 	},
1028 	{
1029 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1030 		NPC_ETYPE_IP, 0xffff, 0x0000, 0x0000,
1031 	},
1032 	{
1033 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1034 		NPC_ETYPE_IP6, 0xffff, 0x0000, 0x0000,
1035 	},
1036 	{
1037 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1038 		NPC_ETYPE_ARP, 0xffff, 0x0000, 0x0000,
1039 	},
1040 	{
1041 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1042 		NPC_ETYPE_RARP, 0xffff, 0x0000, 0x0000,
1043 	},
1044 	{
1045 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1046 		NPC_ETYPE_PTP, 0xffff, 0x0000, 0x0000,
1047 	},
1048 	{
1049 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1050 		NPC_ETYPE_FCOE, 0xffff, 0x0000, 0x0000,
1051 	},
1052 	{
1053 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1054 		NPC_ETYPE_MPLSU, 0xffff, 0x0000, 0x0000,
1055 	},
1056 	{
1057 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1058 		NPC_ETYPE_MPLSM, 0xffff, 0x0000, 0x0000,
1059 	},
1060 	{
1061 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1062 		NPC_ETYPE_NSH, 0xffff, 0x0000, 0x0000,
1063 	},
1064 	{
1065 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1066 		0x0000, 0x0000, 0x0000, 0x0000,
1067 	},
1068 	{
1069 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_QINQ, 0xffff,
1070 		NPC_ETYPE_CTAG, 0xffff, 0x0000, 0x0000,
1071 	},
1072 	{
1073 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_QINQ, 0xffff,
1074 		NPC_ETYPE_QINQ, 0xffff, 0x0000, 0x0000,
1075 	},
1076 	{
1077 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_IP, 0xffff,
1078 		0x0000, 0x0000, 0x0000, 0x0000,
1079 	},
1080 	{
1081 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_IP6, 0xffff,
1082 		0x0000, 0x0000, 0x0000, 0x0000,
1083 	},
1084 	{
1085 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_ARP, 0xffff,
1086 		0x0000, 0x0000, 0x0000, 0x0000,
1087 	},
1088 	{
1089 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_RARP, 0xffff,
1090 		0x0000, 0x0000, 0x0000, 0x0000,
1091 	},
1092 	{
1093 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_PTP, 0xffff,
1094 		0x0000, 0x0000, 0x0000, 0x0000,
1095 	},
1096 	{
1097 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_FCOE, 0xffff,
1098 		0x0000, 0x0000, 0x0000, 0x0000,
1099 	},
1100 	{
1101 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_MPLSU, 0xffff,
1102 		0x0000, 0x0000, 0x0000, 0x0000,
1103 	},
1104 	{
1105 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_MPLSM, 0xffff,
1106 		0x0000, 0x0000, 0x0000, 0x0000,
1107 	},
1108 	{
1109 		NPC_S_KPU2_QINQ, 0xff, NPC_ETYPE_NSH, 0xffff,
1110 		0x0000, 0x0000, 0x0000, 0x0000,
1111 	},
1112 	{
1113 		NPC_S_KPU2_QINQ, 0xff, 0x0000, 0x0000,
1114 		0x0000, 0x0000, 0x0000, 0x0000,
1115 	},
1116 	{
1117 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_IP, 0xffff,
1118 		0x0000, 0x0000, 0x0000, 0x0000,
1119 	},
1120 	{
1121 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_IP6, 0xffff,
1122 		0x0000, 0x0000, 0x0000, 0x0000,
1123 	},
1124 	{
1125 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_ARP, 0xffff,
1126 		0x0000, 0x0000, 0x0000, 0x0000,
1127 	},
1128 	{
1129 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_RARP, 0xffff,
1130 		0x0000, 0x0000, 0x0000, 0x0000,
1131 	},
1132 	{
1133 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_PTP, 0xffff,
1134 		0x0000, 0x0000, 0x0000, 0x0000,
1135 	},
1136 	{
1137 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_FCOE, 0xffff,
1138 		0x0000, 0x0000, 0x0000, 0x0000,
1139 	},
1140 	{
1141 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_MPLSU, 0xffff,
1142 		0x0000, 0x0000, 0x0000, 0x0000,
1143 	},
1144 	{
1145 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_MPLSM, 0xffff,
1146 		0x0000, 0x0000, 0x0000, 0x0000,
1147 	},
1148 	{
1149 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_NSH, 0xffff,
1150 		0x0000, 0x0000, 0x0000, 0x0000,
1151 	},
1152 	{
1153 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1154 		0x0000, 0x0000, 0x0000, 0x0000,
1155 	},
1156 	{
1157 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1158 		NPC_ETYPE_ITAG, 0xffff, 0x0000, 0x0000,
1159 	},
1160 	{
1161 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1162 		0x0000, 0x0000, 0x0000, 0x0000,
1163 	},
1164 	{
1165 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_QINQ, 0xffff,
1166 		0x0000, 0x0000, 0x0000, 0x0000,
1167 	},
1168 	{
1169 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
1170 		0x0000, 0x0000, NPC_ETYPE_IP, 0xffff,
1171 	},
1172 	{
1173 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
1174 		0x0000, 0x0000, NPC_ETYPE_IP6, 0xffff,
1175 	},
1176 	{
1177 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
1178 		0x0000, 0x0000, NPC_ETYPE_ARP, 0xffff,
1179 	},
1180 	{
1181 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
1182 		0x0000, 0x0000, NPC_ETYPE_SBTAG, 0xffff,
1183 	},
1184 	{
1185 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
1186 		0x0000, 0x0000, NPC_ETYPE_CTAG, 0xffff,
1187 	},
1188 	{
1189 		NPC_S_KPU2_ETAG, 0xff, NPC_ETYPE_ITAG, 0xffff,
1190 		0x0000, 0x0000, 0x0000, 0x0000,
1191 	},
1192 	{
1193 		NPC_S_KPU2_ETAG, 0xff, 0x0000, 0x0000,
1194 		0x0000, 0x0000, 0x0000, 0x0000,
1195 	},
1196 	{
1197 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_IP, 0xffff,
1198 		0x0000, 0x0000, 0x0000, 0x0000,
1199 	},
1200 	{
1201 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_IP6, 0xffff,
1202 		0x0000, 0x0000, 0x0000, 0x0000,
1203 	},
1204 	{
1205 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_ARP, 0xffff,
1206 		0x0000, 0x0000, 0x0000, 0x0000,
1207 	},
1208 	{
1209 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_RARP, 0xffff,
1210 		0x0000, 0x0000, 0x0000, 0x0000,
1211 	},
1212 	{
1213 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1214 		NPC_ETYPE_CTAG, 0xffff, NPC_ETYPE_IP, 0xffff,
1215 	},
1216 	{
1217 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1218 		NPC_ETYPE_CTAG, 0xffff, NPC_ETYPE_IP6, 0xffff,
1219 	},
1220 	{
1221 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1222 		NPC_ETYPE_CTAG, 0xffff, NPC_ETYPE_ARP, 0xffff,
1223 	},
1224 	{
1225 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1226 		NPC_ETYPE_CTAG, 0xffff, 0x0000, 0x0000,
1227 	},
1228 	{
1229 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1230 		NPC_ETYPE_IP, 0xffff, 0x0000, 0x0000,
1231 	},
1232 	{
1233 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1234 		NPC_ETYPE_IP6, 0xffff, 0x0000, 0x0000,
1235 	},
1236 	{
1237 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1238 		NPC_ETYPE_ARP, 0xffff, 0x0000, 0x0000,
1239 	},
1240 	{
1241 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1242 		0x0000, 0x0000, 0x0000, 0x0000,
1243 	},
1244 	{
1245 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1246 		NPC_ETYPE_IP, 0xffff, 0x0000, 0x0000,
1247 	},
1248 	{
1249 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1250 		NPC_ETYPE_IP6, 0xffff, 0x0000, 0x0000,
1251 	},
1252 	{
1253 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1254 		NPC_ETYPE_ARP, 0xffff, 0x0000, 0x0000,
1255 	},
1256 	{
1257 		NPC_S_KPU2_ITAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1258 		0x0000, 0x0000, 0x0000, 0x0000,
1259 	},
1260 	{
1261 		NPC_S_KPU2_ITAG, 0xff, 0x0000, 0x0000,
1262 		0x0000, 0x0000, 0x0000, 0x0000,
1263 	},
1264 	{
1265 		NPC_S_NA, 0X00, 0x0000, 0x0000,
1266 		0x0000, 0x0000, 0x0000, 0x0000,
1267 	},
1268 };
1269 
1270 static struct npc_kpu_profile_cam kpu3_cam_entries[] = {
1271 	{
1272 		NPC_S_KPU3_CTAG, 0xff, NPC_ETYPE_IP, 0xffff,
1273 		0x0000, 0x0000, 0x0000, 0x0000,
1274 	},
1275 	{
1276 		NPC_S_KPU3_CTAG, 0xff, NPC_ETYPE_IP6, 0xffff,
1277 		0x0000, 0x0000, 0x0000, 0x0000,
1278 	},
1279 	{
1280 		NPC_S_KPU3_CTAG, 0xff, NPC_ETYPE_ARP, 0xffff,
1281 		0x0000, 0x0000, 0x0000, 0x0000,
1282 	},
1283 	{
1284 		NPC_S_KPU3_CTAG, 0xff, NPC_ETYPE_RARP, 0xffff,
1285 		0x0000, 0x0000, 0x0000, 0x0000,
1286 	},
1287 	{
1288 		NPC_S_KPU3_CTAG, 0xff, NPC_ETYPE_PTP, 0xffff,
1289 		0x0000, 0x0000, 0x0000, 0x0000,
1290 	},
1291 	{
1292 		NPC_S_KPU3_CTAG, 0xff, NPC_ETYPE_FCOE, 0xffff,
1293 		0x0000, 0x0000, 0x0000, 0x0000,
1294 	},
1295 	{
1296 		NPC_S_KPU3_CTAG, 0xff, NPC_ETYPE_MPLSU, 0xffff,
1297 		0x0000, 0x0000, 0x0000, 0x0000,
1298 	},
1299 	{
1300 		NPC_S_KPU3_CTAG, 0xff, NPC_ETYPE_MPLSM, 0xffff,
1301 		0x0000, 0x0000, 0x0000, 0x0000,
1302 	},
1303 	{
1304 		NPC_S_KPU3_CTAG, 0xff, NPC_ETYPE_NSH, 0xffff,
1305 		0x0000, 0x0000, 0x0000, 0x0000,
1306 	},
1307 	{
1308 		NPC_S_KPU3_CTAG, 0xff, 0x0000, 0x0000,
1309 		0x0000, 0x0000, 0x0000, 0x0000,
1310 	},
1311 	{
1312 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1313 		NPC_ETYPE_IP, 0xffff, 0x0000, 0x0000,
1314 	},
1315 	{
1316 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1317 		NPC_ETYPE_IP6, 0xffff, 0x0000, 0x0000,
1318 	},
1319 	{
1320 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1321 		NPC_ETYPE_ARP, 0xffff, 0x0000, 0x0000,
1322 	},
1323 	{
1324 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1325 		NPC_ETYPE_RARP, 0xffff, 0x0000, 0x0000,
1326 	},
1327 	{
1328 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1329 		NPC_ETYPE_PTP, 0xffff, 0x0000, 0x0000,
1330 	},
1331 	{
1332 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1333 		NPC_ETYPE_FCOE, 0xffff, 0x0000, 0x0000,
1334 	},
1335 	{
1336 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1337 		NPC_ETYPE_MPLSU, 0xffff, 0x0000, 0x0000,
1338 	},
1339 	{
1340 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1341 		NPC_ETYPE_MPLSM, 0xffff, 0x0000, 0x0000,
1342 	},
1343 	{
1344 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1345 		NPC_ETYPE_NSH, 0xffff, 0x0000, 0x0000,
1346 	},
1347 	{
1348 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_IP, 0xffff,
1349 		0x0000, 0x0000, 0x0000, 0x0000,
1350 	},
1351 	{
1352 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_IP6, 0xffff,
1353 		0x0000, 0x0000, 0x0000, 0x0000,
1354 	},
1355 	{
1356 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_ARP, 0xffff,
1357 		0x0000, 0x0000, 0x0000, 0x0000,
1358 	},
1359 	{
1360 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_RARP, 0xffff,
1361 		0x0000, 0x0000, 0x0000, 0x0000,
1362 	},
1363 	{
1364 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_MPLSU, 0xffff,
1365 		0x0000, 0x0000, 0x0000, 0x0000,
1366 	},
1367 	{
1368 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_MPLSM, 0xffff,
1369 		0x0000, 0x0000, 0x0000, 0x0000,
1370 	},
1371 	{
1372 		NPC_S_KPU3_STAG, 0xff, NPC_ETYPE_NSH, 0xffff,
1373 		0x0000, 0x0000, 0x0000, 0x0000,
1374 	},
1375 	{
1376 		NPC_S_KPU3_STAG, 0xff, 0x0000, 0x0000,
1377 		0x0000, 0x0000, 0x0000, 0x0000,
1378 	},
1379 	{
1380 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1381 		NPC_ETYPE_IP, 0xffff, 0x0000, 0x0000,
1382 	},
1383 	{
1384 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1385 		NPC_ETYPE_IP6, 0xffff, 0x0000, 0x0000,
1386 	},
1387 	{
1388 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1389 		NPC_ETYPE_ARP, 0xffff, 0x0000, 0x0000,
1390 	},
1391 	{
1392 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1393 		NPC_ETYPE_RARP, 0xffff, 0x0000, 0x0000,
1394 	},
1395 	{
1396 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1397 		NPC_ETYPE_PTP, 0xffff, 0x0000, 0x0000,
1398 	},
1399 	{
1400 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1401 		NPC_ETYPE_FCOE, 0xffff, 0x0000, 0x0000,
1402 	},
1403 	{
1404 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1405 		NPC_ETYPE_MPLSU, 0xffff, 0x0000, 0x0000,
1406 	},
1407 	{
1408 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1409 		NPC_ETYPE_MPLSM, 0xffff, 0x0000, 0x0000,
1410 	},
1411 	{
1412 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_CTAG, 0xffff,
1413 		NPC_ETYPE_NSH, 0xffff, 0x0000, 0x0000,
1414 	},
1415 	{
1416 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_IP, 0xffff,
1417 		0x0000, 0x0000, 0x0000, 0x0000,
1418 	},
1419 	{
1420 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_IP6, 0xffff,
1421 		0x0000, 0x0000, 0x0000, 0x0000,
1422 	},
1423 	{
1424 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_ARP, 0xffff,
1425 		0x0000, 0x0000, 0x0000, 0x0000,
1426 	},
1427 	{
1428 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_RARP, 0xffff,
1429 		0x0000, 0x0000, 0x0000, 0x0000,
1430 	},
1431 	{
1432 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_PTP, 0xffff,
1433 		0x0000, 0x0000, 0x0000, 0x0000,
1434 	},
1435 	{
1436 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_FCOE, 0xffff,
1437 		0x0000, 0x0000, 0x0000, 0x0000,
1438 	},
1439 	{
1440 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_MPLSU, 0xffff,
1441 		0x0000, 0x0000, 0x0000, 0x0000,
1442 	},
1443 	{
1444 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_MPLSM, 0xffff,
1445 		0x0000, 0x0000, 0x0000, 0x0000,
1446 	},
1447 	{
1448 		NPC_S_KPU3_QINQ, 0xff, NPC_ETYPE_NSH, 0xffff,
1449 		0x0000, 0x0000, 0x0000, 0x0000,
1450 	},
1451 	{
1452 		NPC_S_KPU3_QINQ, 0xff, 0x0000, 0x0000,
1453 		0x0000, 0x0000, 0x0000, 0x0000,
1454 	},
1455 	{
1456 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_IP, 0xffff,
1457 		0x0000, 0x0000, 0x0000, 0x0000,
1458 	},
1459 	{
1460 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_IP6, 0xffff,
1461 		0x0000, 0x0000, 0x0000, 0x0000,
1462 	},
1463 	{
1464 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_ARP, 0xffff,
1465 		0x0000, 0x0000, 0x0000, 0x0000,
1466 	},
1467 	{
1468 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_RARP, 0xffff,
1469 		0x0000, 0x0000, 0x0000, 0x0000,
1470 	},
1471 	{
1472 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1473 		NPC_ETYPE_CTAG, 0xffff, NPC_ETYPE_IP, 0xffff,
1474 	},
1475 	{
1476 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1477 		NPC_ETYPE_CTAG, 0xffff, NPC_ETYPE_IP6, 0xffff,
1478 	},
1479 	{
1480 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1481 		NPC_ETYPE_CTAG, 0xffff, NPC_ETYPE_ARP, 0xffff,
1482 	},
1483 	{
1484 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1485 		NPC_ETYPE_IP, 0xffff, 0x0000, 0x0000,
1486 	},
1487 	{
1488 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1489 		NPC_ETYPE_IP6, 0xffff, 0x0000, 0x0000,
1490 	},
1491 	{
1492 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1493 		NPC_ETYPE_ARP, 0xffff, 0x0000, 0x0000,
1494 	},
1495 	{
1496 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1497 		NPC_ETYPE_CTAG, 0xffff, 0x0000, 0x0000,
1498 	},
1499 	{
1500 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_SBTAG, 0xffff,
1501 		0x0000, 0x0000, 0x0000, 0x0000,
1502 	},
1503 	{
1504 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1505 		NPC_ETYPE_IP, 0xffff, 0x0000, 0x0000,
1506 	},
1507 	{
1508 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1509 		NPC_ETYPE_IP6, 0xffff, 0x0000, 0x0000,
1510 	},
1511 	{
1512 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1513 		NPC_ETYPE_ARP, 0xffff, 0x0000, 0x0000,
1514 	},
1515 	{
1516 		NPC_S_KPU3_ITAG, 0xff, NPC_ETYPE_CTAG, 0xffff,
1517 		0x0000, 0x0000, 0x0000, 0x0000,
1518 	},
1519 	{
1520 		NPC_S_KPU3_ITAG, 0xff, 0x0000, 0x0000,
1521 		0x0000, 0x0000, 0x0000, 0x0000,
1522 	},
1523 	{
1524 		NPC_S_NA, 0X00, 0x0000, 0x0000,
1525 		0x0000, 0x0000, 0x0000, 0x0000,
1526 	},
1527 };
1528 
1529 static struct npc_kpu_profile_cam kpu4_cam_entries[] = {
1530 	{
1531 		NPC_S_KPU4_MPLS, 0xff, NPC_MPLS_S, NPC_MPLS_S,
1532 		0x0000, 0x0000, 0x0000, 0x0000,
1533 	},
1534 	{
1535 		NPC_S_KPU4_MPLS, 0xff, 0x0000, NPC_MPLS_S,
1536 		NPC_MPLS_S, NPC_MPLS_S, 0x0000, 0x0000,
1537 	},
1538 	{
1539 		NPC_S_KPU4_MPLS, 0xff, 0x0000, NPC_MPLS_S,
1540 		0x0000, NPC_MPLS_S, NPC_MPLS_S, NPC_MPLS_S,
1541 	},
1542 	{
1543 		NPC_S_KPU4_MPLS, 0xff, 0x0000, NPC_MPLS_S,
1544 		0x0000, NPC_MPLS_S, 0x0000, NPC_MPLS_S,
1545 	},
1546 	{
1547 		NPC_S_KPU4_NSH, 0xff, NPC_NSH_NP_IP, NPC_NSH_NP_MASK,
1548 		0x0000, 0x0000, 0x0000, 0x0000,
1549 	},
1550 	{
1551 		NPC_S_KPU4_NSH, 0xff, NPC_NSH_NP_IP6, NPC_NSH_NP_MASK,
1552 		0x0000, 0x0000, 0x0000, 0x0000,
1553 	},
1554 	{
1555 		NPC_S_KPU4_NSH, 0xff, NPC_NSH_NP_ETH, NPC_NSH_NP_MASK,
1556 		0x0000, 0x0000, 0x0000, 0x0000,
1557 	},
1558 	{
1559 		NPC_S_KPU4_NSH, 0xff, NPC_NSH_NP_NSH, NPC_NSH_NP_MASK,
1560 		0x0000, 0x0000, 0x0000, 0x0000,
1561 	},
1562 	{
1563 		NPC_S_KPU4_NSH, 0xff, NPC_NSH_NP_MPLS, NPC_NSH_NP_MASK,
1564 		0x0000, 0x0000, 0x0000, 0x0000,
1565 	},
1566 	{
1567 		NPC_S_NA, 0X00, 0x0000, 0x0000,
1568 		0x0000, 0x0000, 0x0000, 0x0000,
1569 	},
1570 };
1571 
1572 static struct npc_kpu_profile_cam kpu5_cam_entries[] = {
1573 	{
1574 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_TCP, 0x00ff,
1575 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
1576 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
1577 	},
1578 	{
1579 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_UDP, 0x00ff,
1580 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
1581 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
1582 	},
1583 	{
1584 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_SCTP, 0x00ff,
1585 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
1586 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
1587 	},
1588 	{
1589 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_ICMP, 0x00ff,
1590 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
1591 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
1592 	},
1593 	{
1594 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_IGMP, 0x00ff,
1595 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
1596 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
1597 	},
1598 	{
1599 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_ESP, 0x00ff,
1600 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
1601 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
1602 	},
1603 	{
1604 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_AH, 0x00ff,
1605 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
1606 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
1607 	},
1608 	{
1609 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_GRE, 0x00ff,
1610 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
1611 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
1612 	},
1613 	{
1614 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_IP, 0x00ff,
1615 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
1616 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
1617 	},
1618 	{
1619 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_IP6, 0x00ff,
1620 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
1621 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
1622 	},
1623 	{
1624 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_MPLS, 0x00ff,
1625 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
1626 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
1627 	},
1628 	{
1629 		NPC_S_KPU5_IP, 0xff, 0x0000, 0x0000,
1630 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
1631 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
1632 	},
1633 	{
1634 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_TCP, 0x00ff,
1635 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1636 	},
1637 	{
1638 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_UDP, 0x00ff,
1639 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1640 	},
1641 	{
1642 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_SCTP, 0x00ff,
1643 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1644 	},
1645 	{
1646 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_ICMP, 0x00ff,
1647 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1648 	},
1649 	{
1650 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_IGMP, 0x00ff,
1651 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1652 	},
1653 	{
1654 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_ESP, 0x00ff,
1655 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1656 	},
1657 	{
1658 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_AH, 0x00ff,
1659 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1660 	},
1661 	{
1662 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_GRE, 0x00ff,
1663 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1664 	},
1665 	{
1666 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_IP, 0x00ff,
1667 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1668 	},
1669 	{
1670 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_IP6, 0x00ff,
1671 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1672 	},
1673 	{
1674 		NPC_S_KPU5_IP, 0xff, NPC_IPNH_MPLS, 0x00ff,
1675 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1676 	},
1677 	{
1678 		NPC_S_KPU5_IP, 0xff, 0x0000, 0x0000,
1679 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1680 	},
1681 	{
1682 		NPC_S_KPU5_IP, 0xff, 0x0000, 0x0000,
1683 		0x0000, 0x0000, 0x0000, 0x0000,
1684 	},
1685 	{
1686 		NPC_S_KPU5_ARP, 0xff, 0x0000, 0x0000,
1687 		0x0000, 0x0000, 0x0000, 0x0000,
1688 	},
1689 	{
1690 		NPC_S_KPU5_RARP, 0xff, 0x0000, 0x0000,
1691 		0x0000, 0x0000, 0x0000, 0x0000,
1692 	},
1693 	{
1694 		NPC_S_KPU5_PTP, 0xff, 0x0000, 0x0000,
1695 		0x0000, 0x0000, 0x0000, 0x0000,
1696 	},
1697 	{
1698 		NPC_S_KPU5_FCOE, 0xff, 0x0000, 0x0000,
1699 		0x0000, 0x0000, 0x0000, 0x0000,
1700 	},
1701 	{
1702 		NPC_S_KPU5_IP6, 0xff, NPC_IPNH_TCP << 8, 0xff00,
1703 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
1704 	},
1705 	{
1706 		NPC_S_KPU5_IP6, 0xff, NPC_IPNH_UDP << 8, 0xff00,
1707 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
1708 	},
1709 	{
1710 		NPC_S_KPU5_IP6, 0xff, NPC_IPNH_SCTP << 8, 0xff00,
1711 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
1712 	},
1713 	{
1714 		NPC_S_KPU5_IP6, 0xff, NPC_IPNH_ICMP << 8, 0xff00,
1715 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
1716 	},
1717 	{
1718 		NPC_S_KPU5_IP6, 0xff, NPC_IPNH_ICMP6 << 8, 0xff00,
1719 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
1720 	},
1721 	{
1722 		NPC_S_KPU5_IP6, 0xff, NPC_IPNH_ESP << 8, 0xff00,
1723 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
1724 	},
1725 	{
1726 		NPC_S_KPU5_IP6, 0xff, NPC_IPNH_AH << 8, 0xff00,
1727 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
1728 	},
1729 	{
1730 		NPC_S_KPU5_IP6, 0xff, NPC_IPNH_GRE << 8, 0xff00,
1731 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
1732 	},
1733 	{
1734 		NPC_S_KPU5_IP6, 0xff, NPC_IPNH_IP6 << 8, 0xff00,
1735 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
1736 	},
1737 	{
1738 		NPC_S_KPU5_IP6, 0xff, NPC_IPNH_MPLS << 8, 0xff00,
1739 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
1740 	},
1741 	{
1742 		NPC_S_KPU5_IP6, 0xff, 0x0000, 0x0000,
1743 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
1744 	},
1745 	{
1746 		NPC_S_KPU5_IP6, 0xff, 0x0000, 0x0000,
1747 		0x0000, 0x0000, 0x0000, 0x0000,
1748 	},
1749 	{
1750 		NPC_S_KPU5_MPLS, 0xff, NPC_MPLS_S, NPC_MPLS_S,
1751 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
1752 	},
1753 	{
1754 		NPC_S_KPU5_MPLS, 0xff, NPC_MPLS_S, NPC_MPLS_S,
1755 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
1756 	},
1757 	{
1758 		NPC_S_KPU5_MPLS, 0xff, NPC_MPLS_S, NPC_MPLS_S,
1759 		0x0000, 0xffff, 0x0000, 0x0000,
1760 	},
1761 	{
1762 		NPC_S_KPU5_MPLS, 0xff, NPC_MPLS_S, NPC_MPLS_S,
1763 		0x0000, 0x0000, 0x0000, 0x0000,
1764 	},
1765 	{
1766 		NPC_S_KPU5_MPLS, 0xff, 0x0000, NPC_MPLS_S,
1767 		0x0000, 0x0000, 0x0000, 0x0000,
1768 	},
1769 	{
1770 		NPC_S_KPU5_MPLS_PL, 0xff, NPC_IP_VER_4, NPC_IP_VER_MASK,
1771 		0x0000, 0x0000, 0x0000, 0x0000,
1772 	},
1773 	{
1774 		NPC_S_KPU5_MPLS_PL, 0xff, NPC_IP_VER_6, NPC_IP_VER_MASK,
1775 		0x0000, 0x0000, 0x0000, 0x0000,
1776 	},
1777 	{
1778 		NPC_S_KPU5_MPLS_PL, 0xff, 0x0000, 0xffff,
1779 		0x0000, 0x0000, 0x0000, 0x0000,
1780 	},
1781 	{
1782 		NPC_S_KPU5_MPLS_PL, 0xff, 0x0000, 0x0000,
1783 		0x0000, 0x0000, 0x0000, 0x0000,
1784 	},
1785 	{
1786 		NPC_S_KPU5_NSH, 0xff, NPC_NSH_NP_IP, NPC_NSH_NP_MASK,
1787 		0x0000, 0x0000, 0x0000, 0x0000,
1788 	},
1789 	{
1790 		NPC_S_KPU5_NSH, 0xff, NPC_NSH_NP_IP6, NPC_NSH_NP_MASK,
1791 		0x0000, 0x0000, 0x0000, 0x0000,
1792 	},
1793 	{
1794 		NPC_S_KPU5_NSH, 0xff, NPC_NSH_NP_ETH, NPC_NSH_NP_MASK,
1795 		0x0000, 0x0000, 0x0000, 0x0000,
1796 	},
1797 	{
1798 		NPC_S_KPU5_NSH, 0xff, NPC_NSH_NP_NSH, NPC_NSH_NP_MASK,
1799 		0x0000, 0x0000, 0x0000, 0x0000,
1800 	},
1801 	{
1802 		NPC_S_KPU5_NSH, 0xff, NPC_NSH_NP_MPLS, NPC_NSH_NP_MASK,
1803 		0x0000, 0x0000, 0x0000, 0x0000,
1804 	},
1805 	{
1806 		NPC_S_NA, 0X00, 0x0000, 0x0000,
1807 		0x0000, 0x0000, 0x0000, 0x0000,
1808 	},
1809 };
1810 
1811 static struct npc_kpu_profile_cam kpu6_cam_entries[] = {
1812 	{
1813 		NPC_S_KPU6_IP6_EXT, 0xff, 0x0000, 0x0000, 0x0000,
1814 		0x0000, 0x0000, 0x0000,
1815 	},
1816 };
1817 
1818 static struct npc_kpu_profile_cam kpu7_cam_entries[] = {
1819 	{
1820 		NPC_S_KPU7_IP6_EXT, 0xff, 0x0000, 0x0000, 0x0000,
1821 		0x0000, 0x0000, 0x0000,
1822 	},
1823 };
1824 
1825 static struct npc_kpu_profile_cam kpu8_cam_entries[] = {
1826 	{
1827 		NPC_S_KPU8_TCP, 0xff, NPC_TCP_PORT_HTTP, 0xffff,
1828 		NPC_TCP_DATA_OFFSET_5, NPC_TCP_DATA_OFFSET_MASK, 0x0000, 0x0000,
1829 	},
1830 	{
1831 		NPC_S_KPU8_TCP, 0xff, NPC_TCP_PORT_HTTPS, 0xffff,
1832 		NPC_TCP_DATA_OFFSET_5, NPC_TCP_DATA_OFFSET_MASK, 0x0000, 0x0000,
1833 	},
1834 	{
1835 		NPC_S_KPU8_TCP, 0xff, NPC_TCP_PORT_PPTP, 0xffff,
1836 		NPC_TCP_DATA_OFFSET_5, NPC_TCP_DATA_OFFSET_MASK, 0x0000, 0x0000,
1837 	},
1838 	{
1839 		NPC_S_KPU8_TCP, 0xff, 0x0000, 0x0000,
1840 		NPC_TCP_DATA_OFFSET_5, NPC_TCP_DATA_OFFSET_MASK, 0x0000, 0x0000,
1841 	},
1842 	{
1843 		NPC_S_KPU8_TCP, 0xff, NPC_TCP_PORT_HTTP, 0xffff,
1844 		0x0000, 0x0000, 0x0000, 0x0000,
1845 	},
1846 	{
1847 		NPC_S_KPU8_TCP, 0xff, NPC_TCP_PORT_HTTPS, 0xffff,
1848 		0x0000, 0x0000, 0x0000, 0x0000,
1849 	},
1850 	{
1851 		NPC_S_KPU8_TCP, 0xff, NPC_TCP_PORT_PPTP, 0xffff,
1852 		0x0000, 0x0000, 0x0000, 0x0000,
1853 	},
1854 	{
1855 		NPC_S_KPU8_TCP, 0xff, 0x0000, 0x0000,
1856 		0x0000, 0x0000, 0x0000, 0x0000,
1857 	},
1858 	{
1859 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLAN, 0xffff,
1860 		NPC_VXLAN_I, NPC_VXLAN_I, 0x0000, 0xffff,
1861 	},
1862 	{
1863 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLAN, 0xffff,
1864 		0x0000, 0xffff, 0x0000, 0xffff,
1865 	},
1866 	{
1867 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLAN, 0xffff,
1868 		0x0000, 0x0000, 0x0000, 0x0000,
1869 	},
1870 	{
1871 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLANGPE, 0xffff,
1872 		NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1873 		NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1874 		NPC_VXLANGPE_NP_IP, NPC_VXLANGPE_NP_MASK,
1875 	},
1876 	{
1877 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLANGPE, 0xffff,
1878 		NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1879 		NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1880 		NPC_VXLANGPE_NP_IP6, NPC_VXLANGPE_NP_MASK,
1881 	},
1882 	{
1883 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLANGPE, 0xffff,
1884 		NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1885 		NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1886 		NPC_VXLANGPE_NP_ETH, NPC_VXLANGPE_NP_MASK,
1887 	},
1888 	{
1889 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLANGPE, 0xffff,
1890 		NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1891 		NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1892 		NPC_VXLANGPE_NP_NSH, NPC_VXLANGPE_NP_MASK,
1893 	},
1894 	{
1895 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLANGPE, 0xffff,
1896 		NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1897 		NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1898 		NPC_VXLANGPE_NP_MPLS, NPC_VXLANGPE_NP_MASK,
1899 	},
1900 	{
1901 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLANGPE, 0xffff,
1902 		NPC_VXLANGPE_P, NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1903 		NPC_VXLANGPE_NP_IP, NPC_VXLANGPE_NP_MASK,
1904 	},
1905 	{
1906 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLANGPE, 0xffff,
1907 		NPC_VXLANGPE_P, NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1908 		NPC_VXLANGPE_NP_IP6, NPC_VXLANGPE_NP_MASK,
1909 	},
1910 	{
1911 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLANGPE, 0xffff,
1912 		NPC_VXLANGPE_P, NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1913 		NPC_VXLANGPE_NP_ETH, NPC_VXLANGPE_NP_MASK,
1914 	},
1915 	{
1916 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLANGPE, 0xffff,
1917 		NPC_VXLANGPE_P, NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1918 		NPC_VXLANGPE_NP_NSH, NPC_VXLANGPE_NP_MASK,
1919 	},
1920 	{
1921 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLANGPE, 0xffff,
1922 		NPC_VXLANGPE_P, NPC_VXLANGPE_P | NPC_VXLANGPE_I,
1923 		NPC_VXLANGPE_NP_MPLS, NPC_VXLANGPE_NP_MASK,
1924 	},
1925 	{
1926 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLANGPE, 0xffff,
1927 		NPC_VXLANGPE_P, NPC_VXLANGPE_P, 0x0000, 0x0000,
1928 	},
1929 	{
1930 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_VXLANGPE, 0xffff,
1931 		0x0000, NPC_VXLANGPE_P, 0x0000, 0x0000,
1932 	},
1933 	{
1934 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GENEVE, 0xffff,
1935 		0x0000, NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT,
1936 		NPC_ETYPE_TRANS_ETH_BR, 0xffff,
1937 	},
1938 	{
1939 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GENEVE, 0xffff,
1940 		NPC_GENEVE_F_OAM, NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT,
1941 		NPC_ETYPE_TRANS_ETH_BR, 0xffff,
1942 	},
1943 	{
1944 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GENEVE, 0xffff,
1945 		NPC_GENEVE_F_CRI_OPT, NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT,
1946 		NPC_ETYPE_TRANS_ETH_BR, 0xffff,
1947 	},
1948 	{
1949 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GENEVE, 0xffff,
1950 		NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT,
1951 		NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT,
1952 		NPC_ETYPE_TRANS_ETH_BR, 0xffff,
1953 	},
1954 	{
1955 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GENEVE, 0xffff,
1956 		0x0000, NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT,
1957 		NPC_ETYPE_IP, 0xffff,
1958 	},
1959 	{
1960 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GENEVE, 0xffff,
1961 		NPC_GENEVE_F_OAM, NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT,
1962 		NPC_ETYPE_IP, 0xffff,
1963 	},
1964 	{
1965 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GENEVE, 0xffff,
1966 		NPC_GENEVE_F_CRI_OPT, NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT,
1967 		NPC_ETYPE_IP, 0xffff,
1968 	},
1969 	{
1970 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GENEVE, 0xffff,
1971 		NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT,
1972 		NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, NPC_ETYPE_IP, 0xffff,
1973 	},
1974 	{
1975 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GENEVE, 0xffff,
1976 		0x0000, NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT,
1977 		NPC_ETYPE_IP6, 0xffff,
1978 	},
1979 	{
1980 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GENEVE, 0xffff,
1981 		NPC_GENEVE_F_OAM, NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT,
1982 		NPC_ETYPE_IP6, 0xffff,
1983 	},
1984 	{
1985 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GENEVE, 0xffff,
1986 		NPC_GENEVE_F_CRI_OPT,
1987 		NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, NPC_ETYPE_IP6, 0xffff,
1988 	},
1989 	{
1990 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GENEVE, 0xffff,
1991 		NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT,
1992 		NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, NPC_ETYPE_IP6, 0xffff,
1993 	},
1994 	{
1995 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GTPC, 0xffff,
1996 		0x0000, 0x0000, 0x0000, 0x0000,
1997 	},
1998 	{
1999 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GTPU, 0xffff,
2000 		NPC_GTP_PT_GTP | NPC_GTP_VER1 | NPC_GTP_MT_G_PDU,
2001 		NPC_GTP_PT_MASK | NPC_GTP_VER_MASK | NPC_GTP_MT_MASK,
2002 		0x0000, 0x0000,
2003 	},
2004 	{
2005 		NPC_S_KPU8_UDP, 0xff, NPC_UDP_PORT_GTPU, 0xffff,
2006 		0x0000, 0x0000, 0x0000, 0x0000,
2007 	},
2008 	{
2009 		NPC_S_KPU8_UDP, 0xff, 0x0000, 0x0000,
2010 		0x0000, 0x0000, 0x0000, 0x0000,
2011 	},
2012 	{
2013 		NPC_S_KPU8_SCTP, 0xff, 0x0000, 0x0000,
2014 		0x0000, 0x0000, 0x0000, 0x0000,
2015 	},
2016 	{
2017 		NPC_S_KPU8_ICMP, 0xff, 0x0000, 0x0000,
2018 		0x0000, 0x0000, 0x0000, 0x0000,
2019 	},
2020 	{
2021 		NPC_S_KPU8_IGMP, 0xff, 0x0000, 0x0000,
2022 		0x0000, 0x0000, 0x0000, 0x0000,
2023 	},
2024 	{
2025 		NPC_S_KPU8_ICMP6, 0xff, 0x0000, 0x0000,
2026 		0x0000, 0x0000, 0x0000, 0x0000,
2027 	},
2028 	{
2029 		NPC_S_KPU8_ESP, 0xff, 0x0000, 0x0000,
2030 		0x0000, 0x0000, 0x0000, 0x0000,
2031 	},
2032 	{
2033 		NPC_S_KPU8_AH, 0xff, 0x0000, 0x0000,
2034 		0x0000, 0x0000, 0x0000, 0x0000,
2035 	},
2036 	{
2037 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_TRANS_ETH_BR, 0xffff,
2038 		NPC_GRE_F_KEY, 0xffff, 0x0000, 0x0000,
2039 	},
2040 	{
2041 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_TRANS_ETH_BR, 0xffff,
2042 		0x0000, 0x0000, 0x0000, 0x0000,
2043 	},
2044 	{
2045 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSU, 0xffff,
2046 		0x0000, 0xffff, 0x0000, 0x0000,
2047 	},
2048 	{
2049 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSU, 0xffff,
2050 		NPC_GRE_F_CSUM, 0xffff, 0x0000, 0x0000,
2051 	},
2052 	{
2053 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSU, 0xffff,
2054 		NPC_GRE_F_KEY, 0xffff, 0x0000, 0x0000,
2055 	},
2056 	{
2057 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSU, 0xffff,
2058 		NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2059 	},
2060 	{
2061 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSU, 0xffff,
2062 		NPC_GRE_F_CSUM | NPC_GRE_F_KEY, 0xffff, 0x0000, 0x0000,
2063 	},
2064 	{
2065 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSU, 0xffff,
2066 		NPC_GRE_F_CSUM | NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2067 	},
2068 	{
2069 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSU, 0xffff,
2070 		NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2071 	},
2072 	{
2073 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSU, 0xffff,
2074 		NPC_GRE_F_CSUM | NPC_GRE_F_KEY | NPC_GRE_F_SEQ,
2075 		0xffff, 0x0000, 0x0000,
2076 	},
2077 	{
2078 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSM, 0xffff,
2079 		0x0000, 0xffff, 0x0000, 0x0000,
2080 	},
2081 	{
2082 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSM, 0xffff,
2083 		NPC_GRE_F_CSUM, 0xffff, 0x0000, 0x0000,
2084 	},
2085 	{
2086 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSM, 0xffff,
2087 		NPC_GRE_F_KEY, 0xffff, 0x0000, 0x0000,
2088 	},
2089 	{
2090 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSM, 0xffff,
2091 		NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2092 	},
2093 	{
2094 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSM, 0xffff,
2095 		NPC_GRE_F_CSUM | NPC_GRE_F_KEY, 0xffff, 0x0000, 0x0000,
2096 	},
2097 	{
2098 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSM, 0xffff,
2099 		NPC_GRE_F_CSUM | NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2100 	},
2101 	{
2102 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSM, 0xffff,
2103 		NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2104 	},
2105 	{
2106 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_MPLSM, 0xffff,
2107 		NPC_GRE_F_CSUM | NPC_GRE_F_KEY | NPC_GRE_F_SEQ,
2108 		0xffff, 0x0000, 0x0000,
2109 	},
2110 	{
2111 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_NSH, 0xffff,
2112 		0x0000, 0xffff, 0x0000, 0x0000,
2113 	},
2114 	{
2115 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_NSH, 0xffff,
2116 		NPC_GRE_F_CSUM, 0xffff, 0x0000, 0x0000,
2117 	},
2118 	{
2119 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_NSH, 0xffff,
2120 		NPC_GRE_F_KEY, 0xffff, 0x0000, 0x0000,
2121 	},
2122 	{
2123 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_NSH, 0xffff,
2124 		NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2125 	},
2126 	{
2127 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_NSH, 0xffff,
2128 		NPC_GRE_F_CSUM | NPC_GRE_F_KEY, 0xffff, 0x0000, 0x0000,
2129 	},
2130 	{
2131 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_NSH, 0xffff,
2132 		NPC_GRE_F_CSUM | NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2133 	},
2134 	{
2135 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_NSH, 0xffff,
2136 		NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2137 	},
2138 	{
2139 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_NSH, 0xffff,
2140 		NPC_GRE_F_CSUM | NPC_GRE_F_KEY | NPC_GRE_F_SEQ,
2141 		0xffff, 0x0000, 0x0000,
2142 	},
2143 	{
2144 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP, 0xffff,
2145 		0x0000, 0xffff, 0x0000, 0x0000,
2146 	},
2147 	{
2148 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP, 0xffff,
2149 		NPC_GRE_F_CSUM, 0xffff, 0x0000, 0x0000,
2150 	},
2151 	{
2152 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP, 0xffff,
2153 		NPC_GRE_F_KEY, 0xffff, 0x0000, 0x0000,
2154 	},
2155 	{
2156 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP, 0xffff,
2157 		NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2158 	},
2159 	{
2160 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP, 0xffff,
2161 		NPC_GRE_F_CSUM | NPC_GRE_F_KEY, 0xffff, 0x0000, 0x0000,
2162 	},
2163 	{
2164 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP, 0xffff,
2165 		NPC_GRE_F_CSUM | NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2166 	},
2167 	{
2168 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP, 0xffff,
2169 		NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2170 	},
2171 	{
2172 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP, 0xffff,
2173 		NPC_GRE_F_CSUM | NPC_GRE_F_KEY | NPC_GRE_F_SEQ,
2174 		0xffff, 0x0000, 0x0000,
2175 	},
2176 	{
2177 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP6, 0xffff,
2178 		0x0000, 0xffff, 0x0000, 0x0000,
2179 	},
2180 	{
2181 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP6, 0xffff,
2182 		NPC_GRE_F_CSUM, 0xffff, 0x0000, 0x0000,
2183 	},
2184 	{
2185 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP6, 0xffff,
2186 		NPC_GRE_F_KEY, 0xffff, 0x0000, 0x0000,
2187 	},
2188 	{
2189 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP6, 0xffff,
2190 		NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2191 	},
2192 	{
2193 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP6, 0xffff,
2194 		NPC_GRE_F_CSUM | NPC_GRE_F_KEY, 0xffff, 0x0000, 0x0000,
2195 	},
2196 	{
2197 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP6, 0xffff,
2198 		NPC_GRE_F_CSUM | NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2199 	},
2200 	{
2201 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP6, 0xffff,
2202 		NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 0xffff, 0x0000, 0x0000,
2203 	},
2204 	{
2205 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_IP6, 0xffff,
2206 		NPC_GRE_F_CSUM | NPC_GRE_F_KEY | NPC_GRE_F_SEQ,
2207 		0xffff, 0x0000, 0x0000,
2208 	},
2209 	{
2210 		NPC_S_KPU8_GRE, 0xff, 0x0000, 0xffff,
2211 		NPC_GRE_F_ROUTE, 0x4fff, 0x0000, 0x0000,
2212 	},
2213 	{
2214 		NPC_S_KPU8_GRE, 0xff, 0x0000, 0xffff,
2215 		0x0000, 0x4fff, 0x0000, 0x0000,
2216 	},
2217 	{
2218 		NPC_S_KPU8_GRE, 0xff, 0x0000, 0xffff,
2219 		0x0000, 0x0003, 0x0000, 0x0000,
2220 	},
2221 	{
2222 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_PPP, 0xffff,
2223 		NPC_GRE_F_KEY | NPC_GRE_VER_1, 0xffff, 0x0000, 0x0000,
2224 	},
2225 	{
2226 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_PPP, 0xffff,
2227 		NPC_GRE_F_KEY | NPC_GRE_F_SEQ | NPC_GRE_VER_1,
2228 		0xffff, 0x0000, 0x0000,
2229 	},
2230 	{
2231 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_PPP, 0xffff,
2232 		NPC_GRE_F_KEY | NPC_GRE_F_ACK | NPC_GRE_VER_1,
2233 		0xffff, 0x0000, 0x0000,
2234 	},
2235 	{
2236 		NPC_S_KPU8_GRE, 0xff, NPC_ETYPE_PPP, 0xffff,
2237 		NPC_GRE_F_KEY | NPC_GRE_F_SEQ | NPC_GRE_F_ACK | NPC_GRE_VER_1,
2238 		0xffff, 0x0000, 0x0000,
2239 	},
2240 	{
2241 		NPC_S_KPU8_GRE, 0xff, 0x0000, 0xffff,
2242 		0x2001, 0xef7f, 0x0000, 0x0000,
2243 	},
2244 	{
2245 		NPC_S_KPU8_GRE, 0xff, 0x0000, 0xffff,
2246 		0x0001, 0x0003, 0x0000, 0x0000,
2247 	},
2248 	{
2249 		NPC_S_NA, 0X00, 0x0000, 0x0000,
2250 		0x0000, 0x0000, 0x0000, 0x0000,
2251 	},
2252 };
2253 
2254 static struct npc_kpu_profile_cam kpu9_cam_entries[] = {
2255 	{
2256 		NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 0xff, NPC_MPLS_S, NPC_MPLS_S,
2257 		0x0000, 0x0000, 0x0000, 0x0000,
2258 	},
2259 	{
2260 		NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 0xff, 0x0000, NPC_MPLS_S,
2261 		NPC_MPLS_S, NPC_MPLS_S, 0x0000, 0x0000,
2262 	},
2263 	{
2264 		NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 0xff, 0x0000, NPC_MPLS_S,
2265 		0x0000, NPC_MPLS_S, NPC_MPLS_S, NPC_MPLS_S,
2266 	},
2267 	{
2268 		NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 0xff, 0x0000, NPC_MPLS_S,
2269 		0x0000, NPC_MPLS_S, 0x0000, NPC_MPLS_S,
2270 	},
2271 	{
2272 		NPC_S_KPU9_TU_MPLS, 0xff, NPC_MPLS_S, NPC_MPLS_S,
2273 		0x0000, 0x0000, 0x0000, 0x0000,
2274 	},
2275 	{
2276 		NPC_S_KPU9_TU_MPLS, 0xff, 0x0000, NPC_MPLS_S,
2277 		NPC_MPLS_S, NPC_MPLS_S, 0x0000, 0x0000,
2278 	},
2279 	{
2280 		NPC_S_KPU9_TU_MPLS, 0xff, 0x0000, NPC_MPLS_S,
2281 		0x0000, NPC_MPLS_S, NPC_MPLS_S, NPC_MPLS_S,
2282 	},
2283 	{
2284 		NPC_S_KPU9_TU_MPLS, 0xff, 0x0000, NPC_MPLS_S,
2285 		0x0000, NPC_MPLS_S, 0x0000, NPC_MPLS_S,
2286 	},
2287 	{
2288 		NPC_S_KPU9_TU_NSH, 0xff, NPC_NSH_NP_IP, NPC_NSH_NP_MASK,
2289 		0x0000, 0x0000, 0x0000, 0x0000,
2290 	},
2291 	{
2292 		NPC_S_KPU9_TU_NSH, 0xff, NPC_NSH_NP_IP6, NPC_NSH_NP_MASK,
2293 		0x0000, 0x0000, 0x0000, 0x0000,
2294 	},
2295 	{
2296 		NPC_S_KPU9_TU_NSH, 0xff, NPC_NSH_NP_ETH, NPC_NSH_NP_MASK,
2297 		0x0000, 0x0000, 0x0000, 0x0000,
2298 	},
2299 	{
2300 		NPC_S_KPU9_TU_NSH, 0xff, NPC_NSH_NP_NSH, NPC_NSH_NP_MASK,
2301 		0x0000, 0x0000, 0x0000, 0x0000,
2302 	},
2303 	{
2304 		NPC_S_KPU9_TU_NSH, 0xff, NPC_NSH_NP_MPLS, NPC_NSH_NP_MASK,
2305 		0x0000, 0x0000, 0x0000, 0x0000,
2306 	},
2307 	{
2308 		NPC_S_NA, 0X00, 0x0000, 0x0000,
2309 		0x0000, 0x0000, 0x0000, 0x0000,
2310 	},
2311 };
2312 
2313 static struct npc_kpu_profile_cam kpu10_cam_entries[] = {
2314 	{
2315 		NPC_S_KPU10_TU_MPLS, 0xff, NPC_MPLS_S, NPC_MPLS_S,
2316 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
2317 	},
2318 	{
2319 		NPC_S_KPU10_TU_MPLS, 0xff, NPC_MPLS_S, NPC_MPLS_S,
2320 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
2321 	},
2322 	{
2323 		NPC_S_KPU10_TU_MPLS, 0xff, NPC_MPLS_S, NPC_MPLS_S,
2324 		0x0000, 0xffff, 0x0000, 0x0000,
2325 	},
2326 	{
2327 		NPC_S_KPU10_TU_MPLS, 0xff, NPC_MPLS_S, NPC_MPLS_S,
2328 		0x0000, 0x0000, 0x0000, 0x0000,
2329 	},
2330 	{
2331 		NPC_S_KPU10_TU_MPLS, 0xff, 0x0000, NPC_MPLS_S,
2332 		0x0000, 0x0000, 0x0000, 0x0000,
2333 	},
2334 	{
2335 		NPC_S_KPU10_TU_MPLS_PL, 0xff, NPC_IP_VER_4, NPC_IP_VER_MASK,
2336 		0x0000, 0x0000, 0x0000, 0x0000,
2337 	},
2338 	{
2339 		NPC_S_KPU10_TU_MPLS_PL, 0xff, NPC_IP_VER_6, NPC_IP_VER_MASK,
2340 		0x0000, 0x0000, 0x0000, 0x0000,
2341 	},
2342 	{
2343 		NPC_S_KPU10_TU_MPLS_PL, 0xff, 0x0000, 0xffff,
2344 		0x0000, 0x0000, 0x0000, 0x0000,
2345 	},
2346 	{
2347 		NPC_S_KPU10_TU_MPLS_PL, 0xff, 0x0000, 0x0000,
2348 		0x0000, 0x0000, 0x0000, 0x0000,
2349 	},
2350 	{
2351 		NPC_S_KPU10_TU_NSH, 0xff, NPC_NSH_NP_IP, NPC_NSH_NP_MASK,
2352 		0x0000, 0x0000, 0x0000, 0x0000,
2353 	},
2354 	{
2355 		NPC_S_KPU10_TU_NSH, 0xff, NPC_NSH_NP_IP6, NPC_NSH_NP_MASK,
2356 		0x0000, 0x0000, 0x0000, 0x0000,
2357 	},
2358 	{
2359 		NPC_S_KPU10_TU_NSH, 0xff, NPC_NSH_NP_ETH, NPC_NSH_NP_MASK,
2360 		0x0000, 0x0000, 0x0000, 0x0000,
2361 	},
2362 	{
2363 		NPC_S_KPU10_TU_NSH, 0xff, NPC_NSH_NP_NSH, NPC_NSH_NP_MASK,
2364 		0x0000, 0x0000, 0x0000, 0x0000,
2365 	},
2366 	{
2367 		NPC_S_KPU10_TU_NSH, 0xff, NPC_NSH_NP_MPLS, NPC_NSH_NP_MASK,
2368 		0x0000, 0x0000, 0x0000, 0x0000,
2369 	},
2370 	{
2371 		NPC_S_NA, 0X00, 0x0000, 0x0000,
2372 		0x0000, 0x0000, 0x0000, 0x0000,
2373 	},
2374 };
2375 
2376 static struct npc_kpu_profile_cam kpu11_cam_entries[] = {
2377 	{
2378 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_IP, 0xffff,
2379 		0x0000, 0x0000, 0x0000, 0x0000,
2380 	},
2381 	{
2382 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_IP6, 0xffff,
2383 		0x0000, 0x0000, 0x0000, 0x0000,
2384 	},
2385 	{
2386 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_ARP, 0xffff,
2387 		0x0000, 0x0000, 0x0000, 0x0000,
2388 	},
2389 	{
2390 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_CTAG, 0xffff,
2391 		NPC_ETYPE_IP, 0xffff, 0x0000, 0x0000,
2392 	},
2393 	{
2394 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_CTAG, 0xffff,
2395 		NPC_ETYPE_IP6, 0xffff, 0x0000, 0x0000,
2396 	},
2397 	{
2398 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_CTAG, 0xffff,
2399 		NPC_ETYPE_ARP, 0xffff, 0x0000, 0x0000,
2400 	},
2401 	{
2402 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_CTAG, 0xffff,
2403 		0x0000, 0x0000, 0x0000, 0x0000,
2404 	},
2405 	{
2406 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_SBTAG, 0xffff,
2407 		NPC_ETYPE_CTAG, 0xffff, NPC_ETYPE_IP, 0xffff,
2408 	},
2409 	{
2410 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_SBTAG, 0xffff,
2411 		NPC_ETYPE_CTAG, 0xffff, NPC_ETYPE_IP6, 0xffff,
2412 	},
2413 	{
2414 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_SBTAG, 0xffff,
2415 		NPC_ETYPE_CTAG, 0xffff, NPC_ETYPE_ARP, 0xffff,
2416 	},
2417 	{
2418 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_SBTAG, 0xffff,
2419 		NPC_ETYPE_CTAG, 0xffff, 0x0000, 0x0000,
2420 	},
2421 	{
2422 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_SBTAG, 0xffff,
2423 		NPC_ETYPE_IP, 0xffff, 0x0000, 0x0000,
2424 	},
2425 	{
2426 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_SBTAG, 0xffff,
2427 		NPC_ETYPE_IP6, 0xffff, 0x0000, 0x0000,
2428 	},
2429 	{
2430 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_SBTAG, 0xffff,
2431 		NPC_ETYPE_ARP, 0xffff, 0x0000, 0x0000,
2432 	},
2433 	{
2434 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_SBTAG, 0xffff,
2435 		0x0000, 0x0000, 0x0000, 0x0000,
2436 	},
2437 	{
2438 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_QINQ, 0xffff,
2439 		NPC_ETYPE_CTAG, 0xffff, NPC_ETYPE_IP, 0xffff,
2440 	},
2441 	{
2442 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_QINQ, 0xffff,
2443 		NPC_ETYPE_CTAG, 0xffff, NPC_ETYPE_IP6, 0xffff,
2444 	},
2445 	{
2446 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_QINQ, 0xffff,
2447 		NPC_ETYPE_CTAG, 0xffff, NPC_ETYPE_ARP, 0xffff,
2448 	},
2449 	{
2450 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_QINQ, 0xffff,
2451 		NPC_ETYPE_CTAG, 0xffff, 0x0000, 0x0000,
2452 	},
2453 	{
2454 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_QINQ, 0xffff,
2455 		NPC_ETYPE_IP, 0xffff, 0x0000, 0x0000,
2456 	},
2457 	{
2458 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_QINQ, 0xffff,
2459 		NPC_ETYPE_IP6, 0xffff, 0x0000, 0x0000,
2460 	},
2461 	{
2462 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_QINQ, 0xffff,
2463 		NPC_ETYPE_ARP, 0xffff, 0x0000, 0x0000,
2464 	},
2465 	{
2466 		NPC_S_KPU11_TU_ETHER, 0xff, NPC_ETYPE_QINQ, 0xffff,
2467 		0x0000, 0x0000, 0x0000, 0x0000,
2468 	},
2469 	{
2470 		NPC_S_KPU11_TU_ETHER, 0xff, 0x0000, 0x0000,
2471 		0x0000, 0x0000, 0x0000, 0x0000,
2472 	},
2473 	{
2474 		NPC_S_KPU11_TU_PPP, 0xff, 0x0000, 0x0000,
2475 		0x0000, 0x0000, 0x0000, 0x0000,
2476 	},
2477 	{
2478 		NPC_S_KPU11_TU_MPLS_IN_NSH, 0xff, 0x0000, 0x0000,
2479 		0x0000, 0x0000, 0x0000, 0x0000,
2480 	},
2481 	{
2482 		NPC_S_KPU11_TU_3RD_NSH, 0xff, 0x0000, 0x0000,
2483 		0x0000, 0x0000, 0x0000, 0x0000,
2484 	},
2485 	{
2486 		NPC_S_NA, 0X00, 0x0000, 0x0000,
2487 		0x0000, 0x0000, 0x0000, 0x0000,
2488 	},
2489 };
2490 
2491 static struct npc_kpu_profile_cam kpu12_cam_entries[] = {
2492 	{
2493 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_TCP, 0x00ff,
2494 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
2495 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
2496 	},
2497 	{
2498 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_UDP, 0x00ff,
2499 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
2500 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
2501 	},
2502 	{
2503 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_SCTP, 0x00ff,
2504 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
2505 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
2506 	},
2507 	{
2508 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_ICMP, 0x00ff,
2509 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
2510 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
2511 	},
2512 	{
2513 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_IGMP, 0x00ff,
2514 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
2515 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
2516 	},
2517 	{
2518 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_ESP, 0x00ff,
2519 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
2520 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
2521 	},
2522 	{
2523 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_AH, 0x00ff,
2524 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
2525 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
2526 	},
2527 	{
2528 		NPC_S_KPU12_TU_IP, 0xff, 0x0000, 0x0000,
2529 		NPC_IP_VER_4 | NPC_IP_HDR_LEN_5,
2530 		NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 0x0000, 0x0000,
2531 	},
2532 	{
2533 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_TCP, 0x00ff,
2534 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
2535 	},
2536 	{
2537 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_UDP, 0x00ff,
2538 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
2539 	},
2540 	{
2541 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_SCTP, 0x00ff,
2542 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
2543 	},
2544 	{
2545 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_ICMP, 0x00ff,
2546 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
2547 	},
2548 	{
2549 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_IGMP, 0x00ff,
2550 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
2551 	},
2552 	{
2553 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_ESP, 0x00ff,
2554 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
2555 	},
2556 	{
2557 		NPC_S_KPU12_TU_IP, 0xff, NPC_IPNH_AH, 0x00ff,
2558 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
2559 	},
2560 	{
2561 		NPC_S_KPU12_TU_IP, 0xff, 0x0000, 0x0000,
2562 		NPC_IP_VER_4, NPC_IP_VER_MASK, 0x0000, 0x0000,
2563 	},
2564 	{
2565 		NPC_S_KPU12_TU_IP, 0xff, 0x0000, 0x0000,
2566 		0x0000, 0x0000, 0x0000, 0x0000,
2567 	},
2568 	{
2569 		NPC_S_KPU12_TU_ARP, 0xff, 0x0000, 0x0000,
2570 		0x0000, 0x0000, 0x0000, 0x0000,
2571 	},
2572 	{
2573 		NPC_S_KPU12_TU_IP6, 0xff, NPC_IPNH_TCP << 8, 0xff00,
2574 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
2575 	},
2576 	{
2577 		NPC_S_KPU12_TU_IP6, 0xff, NPC_IPNH_UDP << 8, 0xff00,
2578 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
2579 	},
2580 	{
2581 		NPC_S_KPU12_TU_IP6, 0xff, NPC_IPNH_SCTP << 8, 0xff00,
2582 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
2583 	},
2584 	{
2585 		NPC_S_KPU12_TU_IP6, 0xff, NPC_IPNH_ICMP << 8, 0xff00,
2586 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
2587 	},
2588 	{
2589 		NPC_S_KPU12_TU_IP6, 0xff, NPC_IPNH_ICMP6 << 8, 0xff00,
2590 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
2591 	},
2592 	{
2593 		NPC_S_KPU12_TU_IP6, 0xff, NPC_IPNH_ESP << 8, 0xff00,
2594 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
2595 	},
2596 	{
2597 		NPC_S_KPU12_TU_IP6, 0xff, NPC_IPNH_AH << 8, 0xff00,
2598 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
2599 	},
2600 	{
2601 		NPC_S_KPU12_TU_IP6, 0xff, 0x0000, 0x0000,
2602 		NPC_IP_VER_6, NPC_IP_VER_MASK, 0x0000, 0x0000,
2603 	},
2604 	{
2605 		NPC_S_KPU12_TU_IP6, 0xff, 0x0000, 0x0000,
2606 		0x0000, 0x0000, 0x0000, 0x0000,
2607 	},
2608 	{
2609 		NPC_S_NA, 0X00, 0x0000, 0x0000,
2610 		0x0000, 0x0000, 0x0000, 0x0000,
2611 	},
2612 };
2613 
2614 static struct npc_kpu_profile_cam kpu13_cam_entries[] = {
2615 	{
2616 		NPC_S_KPU13_TU_IP6_EXT, 0xff, 0x0000, 0x0000,
2617 		0x0000, 0x0000, 0x0000, 0x0000,
2618 	},
2619 };
2620 
2621 static struct npc_kpu_profile_cam kpu14_cam_entries[] = {
2622 	{
2623 		NPC_S_KPU14_TU_IP6_EXT, 0xff, 0x0000, 0x0000,
2624 		0x0000, 0x0000, 0x0000, 0x0000,
2625 	},
2626 };
2627 
2628 static struct npc_kpu_profile_cam kpu15_cam_entries[] = {
2629 	{
2630 		NPC_S_KPU15_TU_TCP, 0xff, NPC_TCP_PORT_HTTP, 0xffff,
2631 		NPC_TCP_DATA_OFFSET_5, NPC_TCP_DATA_OFFSET_MASK, 0x0000, 0x0000,
2632 	},
2633 	{
2634 		NPC_S_KPU15_TU_TCP, 0xff, NPC_TCP_PORT_HTTPS, 0xffff,
2635 		NPC_TCP_DATA_OFFSET_5, NPC_TCP_DATA_OFFSET_MASK, 0x0000, 0x0000,
2636 	},
2637 	{
2638 		NPC_S_KPU15_TU_TCP, 0xff, NPC_TCP_PORT_PPTP, 0xffff,
2639 		NPC_TCP_DATA_OFFSET_5, NPC_TCP_DATA_OFFSET_MASK, 0x0000, 0x0000,
2640 	},
2641 	{
2642 		NPC_S_KPU15_TU_TCP, 0xff, 0x0000, 0x0000,
2643 		NPC_TCP_DATA_OFFSET_5, NPC_TCP_DATA_OFFSET_MASK, 0x0000, 0x0000,
2644 	},
2645 	{
2646 		NPC_S_KPU15_TU_TCP, 0xff, NPC_TCP_PORT_HTTP, 0xffff,
2647 		0x0000, 0x0000, 0x0000, 0x0000,
2648 	},
2649 	{
2650 		NPC_S_KPU15_TU_TCP, 0xff, NPC_TCP_PORT_HTTPS, 0xffff,
2651 		0x0000, 0x0000, 0x0000, 0x0000,
2652 	},
2653 	{
2654 		NPC_S_KPU15_TU_TCP, 0xff, NPC_TCP_PORT_PPTP, 0xffff,
2655 		0x0000, 0x0000, 0x0000, 0x0000,
2656 	},
2657 	{
2658 		NPC_S_KPU15_TU_TCP, 0xff, 0x0000, 0x0000,
2659 		0x0000, 0x0000, 0x0000, 0x0000,
2660 	},
2661 	{
2662 		NPC_S_KPU15_TU_UDP, 0xff, 0x0000, 0x0000,
2663 		0x0000, 0x0000, 0x0000, 0x0000,
2664 	},
2665 	{
2666 		NPC_S_KPU15_TU_SCTP, 0xff, 0x0000, 0x0000,
2667 		0x0000, 0x0000, 0x0000, 0x0000,
2668 	},
2669 	{
2670 		NPC_S_KPU15_TU_ICMP, 0xff, 0x0000, 0x0000,
2671 		0x0000, 0x0000, 0x0000, 0x0000,
2672 	},
2673 	{
2674 		NPC_S_KPU15_TU_IGMP, 0xff, 0x0000, 0x0000,
2675 		0x0000, 0x0000, 0x0000, 0x0000,
2676 	},
2677 	{
2678 		NPC_S_KPU15_TU_ICMP6, 0xff, 0x0000, 0x0000,
2679 		0x0000, 0x0000, 0x0000, 0x0000,
2680 	},
2681 	{
2682 		NPC_S_KPU15_TU_ESP, 0xff, 0x0000, 0x0000,
2683 		0x0000, 0x0000, 0x0000, 0x0000,
2684 	},
2685 	{
2686 		NPC_S_KPU15_TU_AH, 0xff, 0x0000, 0x0000,
2687 		0x0000, 0x0000, 0x0000, 0x0000,
2688 	},
2689 	{
2690 		NPC_S_NA, 0X00, 0x0000, 0x0000,
2691 		0x0000, 0x0000, 0x0000, 0x0000,
2692 	},
2693 };
2694 
2695 static struct npc_kpu_profile_cam kpu16_cam_entries[] = {
2696 	{
2697 		NPC_S_KPU16_TCP_DATA, 0xff, 0x0000, 0x0000,
2698 		0x0000, 0x0000, 0x0000, 0x0000,
2699 	},
2700 	{
2701 		NPC_S_KPU16_HTTP_DATA, 0xff, 0x0000, 0x0000,
2702 		0x0000, 0x0000, 0x0000, 0x0000,
2703 	},
2704 	{
2705 		NPC_S_KPU16_HTTPS_DATA, 0xff, 0x0000, 0x0000,
2706 		0x0000, 0x0000, 0x0000, 0x0000,
2707 	},
2708 	{
2709 		NPC_S_KPU16_PPTP_DATA, 0xff, 0x0000, 0x0000,
2710 		0x0000, 0x0000, 0x0000, 0x0000,
2711 	},
2712 	{
2713 		NPC_S_KPU16_UDP_DATA, 0xff, 0x0000, 0x0000,
2714 		0x0000, 0x0000, 0x0000, 0x0000,
2715 	},
2716 };
2717 
2718 static struct npc_kpu_profile_action kpu1_action_entries[] = {
2719 	{
2720 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
2721 		3, 0, NPC_S_KPU5_IP, 14, 1,
2722 		NPC_LID_LA, NPC_LT_LA_ETHER, 0, 0, 0,
2723 		0, 0,
2724 	},
2725 	{
2726 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
2727 		3, 0, NPC_S_KPU5_IP6, 14, 1,
2728 		NPC_LID_LA, NPC_LT_LA_ETHER, 0, 0, 0,
2729 		0, 0,
2730 	},
2731 	{
2732 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2733 		3, 0, NPC_S_KPU5_ARP, 14, 1,
2734 		NPC_LID_LA, NPC_LT_LA_ETHER, 0, 0, 0,
2735 		0, 0,
2736 	},
2737 	{
2738 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2739 		3, 0, NPC_S_KPU5_RARP, 14, 1,
2740 		NPC_LID_LA, NPC_LT_LA_ETHER, 0, 0, 0,
2741 		0, 0,
2742 	},
2743 	{
2744 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2745 		3, 0, NPC_S_KPU5_PTP, 14, 1,
2746 		NPC_LID_LA, NPC_LT_LA_ETHER, 0, 0, 0,
2747 		0, 0,
2748 	},
2749 	{
2750 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2751 		3, 0, NPC_S_KPU5_FCOE, 14, 1,
2752 		NPC_LID_LA, NPC_LT_LA_ETHER, 0, 0, 0,
2753 		0, 0,
2754 	},
2755 	{
2756 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 0,
2757 		0, 0, NPC_S_KPU2_CTAG, 14, 1,
2758 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_ETHER_VLAN, 0, 0,
2759 		0, 0,
2760 	},
2761 	{
2762 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 20,
2763 		0, 0, NPC_S_KPU2_SBTAG, 14, 1,
2764 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_ETHER_VLAN, 0, 0,
2765 		0, 0,
2766 	},
2767 	{
2768 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 0,
2769 		0, 0, NPC_S_KPU2_QINQ, 14, 1,
2770 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_ETHER_VLAN, 0, 0,
2771 		0, 0,
2772 	},
2773 	{
2774 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 10, 24,
2775 		0, 0, NPC_S_KPU2_ETAG, 14, 1,
2776 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_ETHER_ETAG, 0, 0,
2777 		0, 0,
2778 	},
2779 	{
2780 		NPC_ERRLEV_RE, NPC_EC_NOERR, 16, 20, 24,
2781 		0, 0, NPC_S_KPU2_ITAG, 14, 1,
2782 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_ETHER_ITAG, 0, 0,
2783 		0, 0,
2784 	},
2785 	{
2786 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
2787 		2, 0, NPC_S_KPU4_MPLS, 14, 1,
2788 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_ETHER_MPLS, 0, 0,
2789 		0, 0,
2790 	},
2791 	{
2792 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
2793 		2, 0, NPC_S_KPU4_MPLS, 14, 1,
2794 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_ETHER_MPLS, 0, 0,
2795 		0, 0,
2796 	},
2797 	{
2798 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
2799 		2, 0, NPC_S_KPU4_NSH, 14, 1,
2800 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_ETHER_NSH, 0, 0,
2801 		0, 0,
2802 	},
2803 	{
2804 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2805 		0, 1, NPC_S_NA, 0, 1,
2806 		NPC_LID_LA, NPC_LT_LA_8023, 0, 0, 0,
2807 		0, 0,
2808 	},
2809 	{
2810 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2811 		0, 1, NPC_S_NA, 0, 1,
2812 		NPC_LID_LA, NPC_LT_LA_8023, 0, 0, 0,
2813 		0, 0,
2814 	},
2815 	{
2816 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2817 		0, 1, NPC_S_NA, 0, 1,
2818 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_ETYPE_UNK, 0, 0,
2819 		0, 0,
2820 	},
2821 	{
2822 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
2823 		3, 0, NPC_S_KPU5_IP, 14, 1,
2824 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI, 0, 0,
2825 		0, 0,
2826 	},
2827 	{
2828 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
2829 		3, 0, NPC_S_KPU5_IP6, 14, 1,
2830 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI, 0, 0,
2831 		0, 0,
2832 	},
2833 	{
2834 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2835 		3, 0, NPC_S_KPU5_ARP, 14, 1,
2836 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI, 0, 0,
2837 		0, 0,
2838 	},
2839 	{
2840 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2841 		3, 0, NPC_S_KPU5_RARP, 14, 1,
2842 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI, 0, 0,
2843 		0, 0,
2844 	},
2845 	{
2846 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2847 		3, 0, NPC_S_KPU5_PTP, 14, 1,
2848 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI, 0, 0,
2849 		0, 0,
2850 	},
2851 	{
2852 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2853 		3, 0, NPC_S_KPU5_FCOE, 14, 1,
2854 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI, 0, 0,
2855 		0, 0,
2856 	},
2857 	{
2858 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 0,
2859 		0, 0, NPC_S_KPU2_CTAG, 14, 1,
2860 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI_VLAN, 0, 0,
2861 		0, 0,
2862 	},
2863 	{
2864 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 20,
2865 		0, 0, NPC_S_KPU2_SBTAG, 14, 1,
2866 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI_VLAN, 0, 0,
2867 		0, 0,
2868 	},
2869 	{
2870 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 0,
2871 		0, 0, NPC_S_KPU2_QINQ, 14, 1,
2872 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI_VLAN, 0, 0,
2873 		0, 0,
2874 	},
2875 	{
2876 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 10, 24,
2877 		0, 0, NPC_S_KPU2_ETAG, 14, 1,
2878 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI_ETAG, 0, 0,
2879 		0, 0,
2880 	},
2881 	{
2882 		NPC_ERRLEV_RE, NPC_EC_NOERR, 16, 20, 24,
2883 		0, 0, NPC_S_KPU2_ITAG, 14, 1,
2884 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI_ITAG, 0, 0,
2885 		0, 0,
2886 	},
2887 	{
2888 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
2889 		2, 0, NPC_S_KPU4_MPLS, 14, 1,
2890 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI_MPLS, 0, 0,
2891 		0, 0,
2892 	},
2893 	{
2894 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
2895 		2, 0, NPC_S_KPU4_MPLS, 14, 1,
2896 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI_MPLS, 0, 0,
2897 		0, 0,
2898 	},
2899 	{
2900 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
2901 		2, 0, NPC_S_KPU4_NSH, 14, 1,
2902 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_PKI_NSH, 0, 0,
2903 		0, 0,
2904 	},
2905 	{
2906 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2907 		0, 1, NPC_S_NA, 0, 1,
2908 		NPC_LID_LA, NPC_LT_LA_ETHER, NPC_F_ETYPE_UNK, 0, 0,
2909 		0, 0,
2910 	},
2911 	{
2912 		NPC_ERRLEV_LA, NPC_EC_L2_K1, 0, 0, 0,
2913 		0, 1, NPC_S_NA, 0, 0,
2914 		NPC_LID_LA, NPC_LT_NA, 0, 0, 0,
2915 		0, 0,
2916 	},
2917 };
2918 
2919 static struct npc_kpu_profile_action kpu2_action_entries[] = {
2920 	{
2921 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
2922 		2, 0, NPC_S_KPU5_IP, 4, 1,
2923 		NPC_LID_LB, NPC_LT_LB_CTAG, 0, 0, 0,
2924 		0, 0,
2925 	},
2926 	{
2927 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
2928 		2, 0, NPC_S_KPU5_IP6, 4, 1,
2929 		NPC_LID_LB, NPC_LT_LB_CTAG, 0, 0, 0,
2930 		0, 0,
2931 	},
2932 	{
2933 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2934 		2, 0, NPC_S_KPU5_ARP, 4, 1,
2935 		NPC_LID_LB, NPC_LT_LB_CTAG, 0, 0, 0,
2936 		0, 0,
2937 	},
2938 	{
2939 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2940 		2, 0, NPC_S_KPU5_RARP, 4, 1,
2941 		NPC_LID_LB, NPC_LT_LB_CTAG, 0, 0, 0,
2942 		0, 0,
2943 	},
2944 	{
2945 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2946 		2, 0, NPC_S_KPU5_PTP, 4, 1,
2947 		NPC_LID_LB, NPC_LT_LB_CTAG, 0, 0, 0,
2948 		0, 0,
2949 	},
2950 	{
2951 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2952 		2, 0, NPC_S_KPU5_FCOE, 4, 1,
2953 		NPC_LID_LB, NPC_LT_LB_CTAG, 0, 0, 0,
2954 		0, 0,
2955 	},
2956 	{
2957 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
2958 		1, 0, NPC_S_KPU4_MPLS, 4, 1,
2959 		NPC_LID_LB, NPC_LT_LB_CTAG, 0, 0, 0,
2960 		0, 0,
2961 	},
2962 	{
2963 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
2964 		1, 0, NPC_S_KPU4_MPLS, 4, 1,
2965 		NPC_LID_LB, NPC_LT_LB_CTAG, 0, 0, 0,
2966 		0, 0,
2967 	},
2968 	{
2969 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
2970 		1, 0, NPC_S_KPU4_NSH, 4, 1,
2971 		NPC_LID_LB, NPC_LT_LB_CTAG, 0, 0, 0,
2972 		0, 0,
2973 	},
2974 	{
2975 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2976 		0, 1, NPC_S_NA, 0, 1,
2977 		NPC_LID_LB, NPC_LT_LB_CTAG, NPC_F_ETYPE_UNK, 0, 0,
2978 		0, 0,
2979 	},
2980 	{
2981 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
2982 		2, 0, NPC_S_KPU5_IP, 8, 1,
2983 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_STAG_CTAG, 0, 0,
2984 		0, 0,
2985 	},
2986 	{
2987 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
2988 		2, 0, NPC_S_KPU5_IP6, 8, 1,
2989 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_STAG_CTAG, 0, 0,
2990 		0, 0,
2991 	},
2992 	{
2993 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
2994 		2, 0, NPC_S_KPU5_ARP, 8, 1,
2995 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_STAG_CTAG, 0, 0,
2996 		0, 0,
2997 	},
2998 	{
2999 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3000 		2, 0, NPC_S_KPU5_RARP, 8, 1,
3001 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_STAG_CTAG, 0, 0,
3002 		0, 0,
3003 	},
3004 	{
3005 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3006 		2, 0, NPC_S_KPU5_PTP, 8, 1,
3007 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_STAG_CTAG, 0, 0,
3008 		0, 0,
3009 	},
3010 	{
3011 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3012 		2, 0, NPC_S_KPU5_FCOE, 8, 1,
3013 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_STAG_CTAG, 0, 0,
3014 		0, 0,
3015 	},
3016 	{
3017 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3018 		1, 0, NPC_S_KPU4_MPLS, 8, 1,
3019 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_STAG_CTAG, 0, 0,
3020 		0, 0,
3021 	},
3022 	{
3023 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3024 		1, 0, NPC_S_KPU4_MPLS, 8, 1,
3025 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_STAG_CTAG, 0, 0,
3026 		0, 0,
3027 	},
3028 	{
3029 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3030 		1, 0, NPC_S_KPU4_NSH, 8, 1,
3031 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_STAG_CTAG, 0, 0,
3032 		0, 0,
3033 	},
3034 	{
3035 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3036 		0, 1, NPC_S_NA, 0, 1,
3037 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_STAG_CTAG_UNK, 0, 0,
3038 		0, 0,
3039 	},
3040 	{
3041 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 0,
3042 		0, 0, NPC_S_KPU3_CTAG, 8, 1,
3043 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_STAG_STAG_CTAG, 0, 0,
3044 		0, 0,
3045 	},
3046 	{
3047 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 0,
3048 		0, 0, NPC_S_KPU3_STAG, 8, 1,
3049 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_STAG_STAG_STAG, 0, 0,
3050 		0, 0,
3051 	},
3052 	{
3053 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3054 		2, 0, NPC_S_KPU5_IP, 22, 1,
3055 		NPC_LID_LB, NPC_LT_LB_BTAG, NPC_F_BTAG_ITAG, 0, 0,
3056 		0, 0,
3057 	},
3058 	{
3059 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3060 		2, 0, NPC_S_KPU5_IP6, 22, 1,
3061 		NPC_LID_LB, NPC_LT_LB_BTAG, NPC_F_BTAG_ITAG, 0, 0,
3062 		0, 0,
3063 	},
3064 	{
3065 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3066 		2, 0, NPC_S_KPU5_ARP, 22, 1,
3067 		NPC_LID_LB, NPC_LT_LB_BTAG, NPC_F_BTAG_ITAG, 0, 0,
3068 		0, 0,
3069 	},
3070 	{
3071 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3072 		2, 0, NPC_S_KPU5_RARP, 22, 1,
3073 		NPC_LID_LB, NPC_LT_LB_BTAG, NPC_F_BTAG_ITAG, 0, 0,
3074 		0, 0,
3075 	},
3076 	{
3077 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3078 		2, 0, NPC_S_KPU5_PTP, 22, 1,
3079 		NPC_LID_LB, NPC_LT_LB_BTAG, NPC_F_BTAG_ITAG, 0, 0,
3080 		0, 0,
3081 	},
3082 	{
3083 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3084 		2, 0, NPC_S_KPU5_FCOE, 22, 1,
3085 		NPC_LID_LB, NPC_LT_LB_BTAG, NPC_F_BTAG_ITAG, 0, 0,
3086 		0, 0,
3087 	},
3088 	{
3089 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3090 		1, 0, NPC_S_KPU4_MPLS, 22, 1,
3091 		NPC_LID_LB, NPC_LT_LB_BTAG, NPC_F_BTAG_ITAG, 0, 0,
3092 		0, 0,
3093 	},
3094 	{
3095 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3096 		1, 0, NPC_S_KPU4_MPLS, 22, 1,
3097 		NPC_LID_LB, NPC_LT_LB_BTAG, NPC_F_BTAG_ITAG, 0, 0,
3098 		0, 0,
3099 	},
3100 	{
3101 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3102 		1, 0, NPC_S_KPU4_NSH, 22, 1,
3103 		NPC_LID_LB, NPC_LT_LB_BTAG, NPC_F_BTAG_ITAG, 0, 0,
3104 		0, 0,
3105 	},
3106 	{
3107 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3108 		0, 0, NPC_S_KPU3_STAG, 22, 1,
3109 		NPC_LID_LB, NPC_LT_LB_BTAG, NPC_F_BTAG_ITAG_STAG, 0, 0,
3110 		0, 0,
3111 	},
3112 	{
3113 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3114 		0, 0, NPC_S_KPU3_CTAG, 22, 1,
3115 		NPC_LID_LB, NPC_LT_LB_BTAG, NPC_F_BTAG_ITAG_CTAG, 0, 0,
3116 		0, 0,
3117 	},
3118 	{
3119 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3120 		0, 1, NPC_S_NA, 0, 1,
3121 		NPC_LID_LB, NPC_LT_LB_BTAG, NPC_F_BTAG_ITAG_UNK, 0, 0,
3122 		0, 0,
3123 	},
3124 	{
3125 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3126 		2, 0, NPC_S_KPU5_IP, 4, 1,
3127 		NPC_LID_LB, NPC_LT_LB_STAG, 0, 0, 0,
3128 		0, 0,
3129 	},
3130 	{
3131 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3132 		2, 0, NPC_S_KPU5_IP6, 4, 1,
3133 		NPC_LID_LB, NPC_LT_LB_STAG, 0, 0, 0,
3134 		0, 0,
3135 	},
3136 	{
3137 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3138 		2, 0, NPC_S_KPU5_ARP, 4, 1,
3139 		NPC_LID_LB, NPC_LT_LB_STAG, 0, 0, 0,
3140 		0, 0,
3141 	},
3142 	{
3143 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3144 		2, 0, NPC_S_KPU5_RARP, 4, 1,
3145 		NPC_LID_LB, NPC_LT_LB_STAG, 0, 0, 0,
3146 		0, 0,
3147 	},
3148 	{
3149 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3150 		2, 0, NPC_S_KPU5_PTP, 4, 1,
3151 		NPC_LID_LB, NPC_LT_LB_STAG, 0, 0, 0,
3152 		0, 0,
3153 	},
3154 	{
3155 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3156 		2, 0, NPC_S_KPU5_FCOE, 4, 1,
3157 		NPC_LID_LB, NPC_LT_LB_STAG, 0, 0, 0,
3158 		0, 0,
3159 	},
3160 	{
3161 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3162 		1, 0, NPC_S_KPU4_MPLS, 4, 1,
3163 		NPC_LID_LB, NPC_LT_LB_STAG, 0, 0, 0,
3164 		0, 0,
3165 	},
3166 	{
3167 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3168 		1, 0, NPC_S_KPU4_MPLS, 4, 1,
3169 		NPC_LID_LB, NPC_LT_LB_STAG, 0, 0, 0,
3170 		0, 0,
3171 	},
3172 	{
3173 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3174 		1, 0, NPC_S_KPU4_NSH, 4, 1,
3175 		NPC_LID_LB, NPC_LT_LB_STAG, 0, 0, 0,
3176 		0, 0,
3177 	},
3178 	{
3179 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3180 		0, 1, NPC_S_NA, 0, 1,
3181 		NPC_LID_LB, NPC_LT_LB_STAG, NPC_F_ETYPE_UNK, 0, 0,
3182 		0, 0,
3183 	},
3184 	{
3185 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3186 		2, 0, NPC_S_KPU5_IP, 8, 1,
3187 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_QINQ_CTAG, 0, 0,
3188 		0, 0,
3189 	},
3190 	{
3191 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3192 		2, 0, NPC_S_KPU5_IP6, 8, 1,
3193 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_QINQ_CTAG, 0, 0,
3194 		0, 0,
3195 	},
3196 	{
3197 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3198 		2, 0, NPC_S_KPU5_ARP, 8, 1,
3199 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_QINQ_CTAG, 0, 0,
3200 		0, 0,
3201 	},
3202 	{
3203 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3204 		2, 0, NPC_S_KPU5_RARP, 8, 1,
3205 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_QINQ_CTAG, 0, 0,
3206 		0, 0,
3207 	},
3208 	{
3209 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3210 		2, 0, NPC_S_KPU5_PTP, 8, 1,
3211 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_QINQ_CTAG, 0, 0,
3212 		0, 0,
3213 	},
3214 	{
3215 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3216 		2, 0, NPC_S_KPU5_FCOE, 8, 1,
3217 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_QINQ_CTAG, 0, 0,
3218 		0, 0,
3219 	},
3220 	{
3221 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3222 		1, 0, NPC_S_KPU4_MPLS, 8, 1,
3223 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_QINQ_CTAG, 0, 0,
3224 		0, 0,
3225 	},
3226 	{
3227 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3228 		1, 0, NPC_S_KPU4_MPLS, 8, 1,
3229 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_QINQ_CTAG, 0, 0,
3230 		0, 0,
3231 	},
3232 	{
3233 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3234 		1, 0, NPC_S_KPU4_NSH, 8, 1,
3235 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_QINQ_CTAG, 0, 0,
3236 		0, 0,
3237 	},
3238 	{
3239 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3240 		0, 1, NPC_S_NA, 0, 1,
3241 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_QINQ_CTAG_UNK, 0, 0,
3242 		0, 0,
3243 	},
3244 	{
3245 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 0,
3246 		0, 0, NPC_S_KPU3_CTAG, 8, 1,
3247 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_QINQ_QINQ_CTAG, 0, 0,
3248 		0, 0,
3249 	},
3250 	{
3251 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 0,
3252 		0, 0, NPC_S_KPU3_QINQ, 8, 1,
3253 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_QINQ_QINQ_QINQ, 0, 0,
3254 		0, 0,
3255 	},
3256 	{
3257 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3258 		2, 0, NPC_S_KPU5_IP, 4, 1,
3259 		NPC_LID_LB, NPC_LT_LB_QINQ, 0, 0, 0,
3260 		0, 0,
3261 	},
3262 	{
3263 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3264 		2, 0, NPC_S_KPU5_IP6, 4, 1,
3265 		NPC_LID_LB, NPC_LT_LB_QINQ, 0, 0, 0,
3266 		0, 0,
3267 	},
3268 	{
3269 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3270 		2, 0, NPC_S_KPU5_ARP, 4, 1,
3271 		NPC_LID_LB, NPC_LT_LB_QINQ, 0, 0, 0,
3272 		0, 0,
3273 	},
3274 	{
3275 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3276 		2, 0, NPC_S_KPU5_RARP, 4, 1,
3277 		NPC_LID_LB, NPC_LT_LB_QINQ, 0, 0, 0,
3278 		0, 0,
3279 	},
3280 	{
3281 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3282 		2, 0, NPC_S_KPU5_PTP, 4, 1,
3283 		NPC_LID_LB, NPC_LT_LB_QINQ, 0, 0, 0,
3284 		0, 0,
3285 	},
3286 	{
3287 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3288 		2, 0, NPC_S_KPU5_FCOE, 4, 1,
3289 		NPC_LID_LB, NPC_LT_LB_QINQ, 0, 0, 0,
3290 		0, 0,
3291 	},
3292 	{
3293 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3294 		1, 0, NPC_S_KPU4_MPLS, 4, 1,
3295 		NPC_LID_LB, NPC_LT_LB_QINQ, 0, 0, 0,
3296 		0, 0,
3297 	},
3298 	{
3299 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3300 		1, 0, NPC_S_KPU4_MPLS, 4, 1,
3301 		NPC_LID_LB, NPC_LT_LB_QINQ, 0, 0, 0,
3302 		0, 0,
3303 	},
3304 	{
3305 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3306 		1, 0, NPC_S_KPU4_NSH, 4, 1,
3307 		NPC_LID_LB, NPC_LT_LB_QINQ, 0, 0, 0,
3308 		0, 0,
3309 	},
3310 	{
3311 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3312 		0, 1, NPC_S_NA, 0, 1,
3313 		NPC_LID_LB, NPC_LT_LB_QINQ, NPC_F_ETYPE_UNK, 0, 0,
3314 		0, 0,
3315 	},
3316 	{
3317 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3318 		2, 0, NPC_S_KPU5_IP, 8, 1,
3319 		NPC_LID_LB, NPC_LT_LB_ETAG, 0, 0, 0,
3320 		0, 0,
3321 	},
3322 	{
3323 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3324 		2, 0, NPC_S_KPU5_IP6, 8, 1,
3325 		NPC_LID_LB, NPC_LT_LB_ETAG, 0, 0, 0,
3326 		0, 0,
3327 	},
3328 	{
3329 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3330 		2, 0, NPC_S_KPU5_ARP, 8, 1,
3331 		NPC_LID_LB, NPC_LT_LB_ETAG, 0, 0, 0,
3332 		0, 0,
3333 	},
3334 	{
3335 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3336 		2, 0, NPC_S_KPU5_RARP, 8, 1,
3337 		NPC_LID_LB, NPC_LT_LB_ETAG, 0, 0, 0,
3338 		0, 0,
3339 	},
3340 	{
3341 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3342 		2, 0, NPC_S_KPU5_PTP, 8, 1,
3343 		NPC_LID_LB, NPC_LT_LB_ETAG, 0, 0, 0,
3344 		0, 0,
3345 	},
3346 	{
3347 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3348 		2, 0, NPC_S_KPU5_FCOE, 8, 1,
3349 		NPC_LID_LB, NPC_LT_LB_ETAG, 0, 0, 0,
3350 		0, 0,
3351 	},
3352 	{
3353 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3354 		1, 0, NPC_S_KPU4_MPLS, 8, 1,
3355 		NPC_LID_LB, NPC_LT_LB_ETAG, 1, 0, 0,
3356 		0, 0,
3357 	},
3358 	{
3359 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3360 		1, 0, NPC_S_KPU4_MPLS, 8, 1,
3361 		NPC_LID_LB, NPC_LT_LB_ETAG, 2, 0, 0,
3362 		0, 0,
3363 	},
3364 	{
3365 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3366 		1, 0, NPC_S_KPU4_NSH, 8, 1,
3367 		NPC_LID_LB, NPC_LT_LB_ETAG, 2, 0, 0,
3368 		0, 0,
3369 	},
3370 	{
3371 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3372 		0, 0, NPC_S_KPU3_CTAG, 8, 1,
3373 		NPC_LID_LB, NPC_LT_LB_ETAG, NPC_F_ETAG_CTAG, 0, 0,
3374 		0, 0,
3375 	},
3376 	{
3377 		NPC_ERRLEV_RE, NPC_EC_NOERR, 16, 20, 24,
3378 		0, 0, NPC_S_KPU3_ITAG, 12, 1,
3379 		NPC_LID_LB, NPC_LT_LB_ETAG, NPC_F_ETAG_BTAG_ITAG, 0, 0,
3380 		0, 0,
3381 	},
3382 	{
3383 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 0,
3384 		0, 0, NPC_S_KPU3_STAG, 8, 1,
3385 		NPC_LID_LB, NPC_LT_LB_ETAG, NPC_F_ETAG_STAG, 0, 0,
3386 		0, 0,
3387 	},
3388 	{
3389 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 0,
3390 		0, 0, NPC_S_KPU3_QINQ, 8, 1,
3391 		NPC_LID_LB, NPC_LT_LB_ETAG, NPC_F_ETAG_QINQ, 0, 0,
3392 		0, 0,
3393 	},
3394 	{
3395 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3396 		2, 0, NPC_S_KPU5_IP, 26, 1,
3397 		NPC_LID_LB, NPC_LT_LB_ETAG, NPC_F_ETAG_ITAG, 0, 0,
3398 		0, 0,
3399 	},
3400 	{
3401 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3402 		2, 0, NPC_S_KPU5_IP6, 26, 1,
3403 		NPC_LID_LB, NPC_LT_LB_ETAG, NPC_F_ETAG_ITAG, 0, 0,
3404 		0, 0,
3405 	},
3406 	{
3407 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3408 		2, 0, NPC_S_KPU5_ARP, 26, 1,
3409 		NPC_LID_LB, NPC_LT_LB_ETAG, NPC_F_ETAG_ITAG, 0, 0,
3410 		0, 0,
3411 	},
3412 	{
3413 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3414 		0, 0, NPC_S_KPU3_STAG, 26, 1,
3415 		NPC_LID_LB, NPC_LT_LB_ETAG, NPC_F_ETAG_ITAG_STAG, 0, 0,
3416 		0, 0,
3417 	},
3418 	{
3419 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3420 		0, 0, NPC_S_KPU3_CTAG, 26, 1,
3421 		NPC_LID_LB, NPC_LT_LB_ETAG, NPC_F_ETAG_ITAG_CTAG, 0, 0,
3422 		0, 0,
3423 	},
3424 	{
3425 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3426 		0, 1, NPC_S_NA, 0, 1,
3427 		NPC_LID_LB, NPC_LT_LB_ETAG, NPC_F_ETAG_ITAG_UNK, 0, 0,
3428 		0, 0,
3429 	},
3430 	{
3431 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3432 		0, 1, NPC_S_NA, 0, 1,
3433 		NPC_LID_LB, NPC_LT_LB_ETAG, NPC_F_ETYPE_UNK, 0, 0,
3434 		0, 0,
3435 	},
3436 	{
3437 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3438 		2, 0, NPC_S_KPU5_IP, 18, 1,
3439 		NPC_LID_LB, NPC_LT_LB_ITAG, 0, 0, 0,
3440 		0, 0,
3441 	},
3442 	{
3443 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3444 		2, 0, NPC_S_KPU5_IP6, 18, 1,
3445 		NPC_LID_LB, NPC_LT_LB_ITAG, 0, 0, 0,
3446 		0, 0,
3447 	},
3448 	{
3449 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3450 		2, 0, NPC_S_KPU5_ARP, 18, 1,
3451 		NPC_LID_LB, NPC_LT_LB_ITAG, 0, 0, 0,
3452 		0, 0,
3453 	},
3454 	{
3455 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3456 		2, 0, NPC_S_KPU5_RARP, 18, 1,
3457 		NPC_LID_LB, NPC_LT_LB_ITAG, 0, 0, 0,
3458 		0, 0,
3459 	},
3460 	{
3461 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3462 		2, 0, NPC_S_KPU5_IP, 26, 1,
3463 		NPC_LID_LB, NPC_LT_LB_ITAG, NPC_F_ITAG_STAG_CTAG, 0, 0,
3464 		0, 0,
3465 	},
3466 	{
3467 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3468 		2, 0, NPC_S_KPU5_IP6, 26, 1,
3469 		NPC_LID_LB, NPC_LT_LB_ITAG, NPC_F_ITAG_STAG_CTAG, 0, 0,
3470 		0, 0,
3471 	},
3472 	{
3473 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3474 		2, 0, NPC_S_KPU5_ARP, 26, 1,
3475 		NPC_LID_LB, NPC_LT_LB_ITAG, NPC_F_ITAG_STAG_CTAG, 0, 0,
3476 		0, 0,
3477 	},
3478 	{
3479 		NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 0, 0, 0,
3480 		0, 1, NPC_S_NA, 0, 0,
3481 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3482 		0, 0,
3483 	},
3484 	{
3485 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3486 		2, 0, NPC_S_KPU5_IP, 22, 1,
3487 		NPC_LID_LB, NPC_LT_LB_ITAG, NPC_F_ITAG_STAG, 0, 0,
3488 		0, 0,
3489 	},
3490 	{
3491 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3492 		2, 0, NPC_S_KPU5_IP6, 22, 1,
3493 		NPC_LID_LB, NPC_LT_LB_ITAG, NPC_F_ITAG_STAG, 0, 0,
3494 		0, 0,
3495 	},
3496 	{
3497 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3498 		2, 0, NPC_S_KPU5_ARP, 22, 1,
3499 		NPC_LID_LB, NPC_LT_LB_ITAG, NPC_F_ITAG_STAG, 0, 0,
3500 		0, 0,
3501 	},
3502 	{
3503 		NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 0, 0, 0,
3504 		0, 1, NPC_S_NA, 0, 0,
3505 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3506 		0, 0,
3507 	},
3508 	{
3509 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3510 		2, 0, NPC_S_KPU5_IP, 22, 1,
3511 		NPC_LID_LB, NPC_LT_LB_ITAG, NPC_F_ITAG_CTAG, 0, 0,
3512 		0, 0,
3513 	},
3514 	{
3515 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3516 		2, 0, NPC_S_KPU5_IP6, 22, 1,
3517 		NPC_LID_LB, NPC_LT_LB_ITAG, NPC_F_ITAG_CTAG, 0, 0,
3518 		0, 0,
3519 	},
3520 	{
3521 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3522 		2, 0, NPC_S_KPU5_ARP, 22, 1,
3523 		NPC_LID_LB, NPC_LT_LB_ITAG, NPC_F_ITAG_CTAG, 0, 0,
3524 		0, 0,
3525 	},
3526 	{
3527 		NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 0, 0, 0,
3528 		0, 1, NPC_S_NA, 0, 0,
3529 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3530 		0, 0,
3531 	},
3532 	{
3533 		NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 0, 0, 0,
3534 		0, 1, NPC_S_NA, 0, 0,
3535 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3536 		0, 0,
3537 	},
3538 	{
3539 		NPC_ERRLEV_LB, NPC_EC_L2_K3, 0, 0, 0,
3540 		0, 1, NPC_S_NA, 0, 0,
3541 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3542 		0, 0,
3543 	},
3544 };
3545 
3546 static struct npc_kpu_profile_action kpu3_action_entries[] = {
3547 	{
3548 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3549 		1, 0, NPC_S_KPU5_IP, 4, 0,
3550 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3551 		0, 0,
3552 	},
3553 	{
3554 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3555 		1, 0, NPC_S_KPU5_IP6, 4, 0,
3556 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3557 		0, 0,
3558 	},
3559 	{
3560 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3561 		1, 0, NPC_S_KPU5_ARP, 4, 0,
3562 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3563 		0, 0,
3564 	},
3565 	{
3566 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3567 		1, 0, NPC_S_KPU5_RARP, 4, 0,
3568 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3569 		0, 0,
3570 	},
3571 	{
3572 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3573 		1, 0, NPC_S_KPU5_PTP, 4, 0,
3574 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3575 		0, 0,
3576 	},
3577 	{
3578 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3579 		1, 0, NPC_S_KPU5_FCOE, 4, 0,
3580 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3581 		0, 0,
3582 	},
3583 	{
3584 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3585 		0, 0, NPC_S_KPU4_MPLS, 4, 0,
3586 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3587 		0, 0,
3588 	},
3589 	{
3590 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3591 		0, 0, NPC_S_KPU4_MPLS, 4, 0,
3592 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3593 		0, 0,
3594 	},
3595 	{
3596 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3597 		0, 0, NPC_S_KPU4_NSH, 4, 0,
3598 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3599 		0, 0,
3600 	},
3601 	{
3602 		NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 0, 0, 0,
3603 		0, 1, NPC_S_NA, 0, 0,
3604 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3605 		0, 0,
3606 	},
3607 	{
3608 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3609 		1, 0, NPC_S_KPU5_IP, 8, 0,
3610 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3611 		0, 0,
3612 	},
3613 	{
3614 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3615 		1, 0, NPC_S_KPU5_IP6, 8, 0,
3616 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3617 		0, 0,
3618 	},
3619 	{
3620 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3621 		1, 0, NPC_S_KPU5_ARP, 8, 0,
3622 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3623 		0, 0,
3624 	},
3625 	{
3626 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3627 		1, 0, NPC_S_KPU5_RARP, 8, 0,
3628 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3629 		0, 0,
3630 	},
3631 	{
3632 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3633 		1, 0, NPC_S_KPU5_PTP, 8, 0,
3634 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3635 		0, 0,
3636 	},
3637 	{
3638 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3639 		1, 0, NPC_S_KPU5_FCOE, 8, 0,
3640 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3641 		0, 0,
3642 	},
3643 	{
3644 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3645 		0, 0, NPC_S_KPU4_MPLS, 8, 0,
3646 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3647 		0, 0,
3648 	},
3649 	{
3650 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3651 		0, 0, NPC_S_KPU4_MPLS, 8, 0,
3652 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3653 		0, 0,
3654 	},
3655 	{
3656 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3657 		0, 0, NPC_S_KPU4_NSH, 8, 0,
3658 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3659 		0, 0,
3660 	},
3661 	{
3662 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3663 		1, 0, NPC_S_KPU5_IP, 4, 0,
3664 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3665 		0, 0,
3666 	},
3667 	{
3668 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3669 		1, 0, NPC_S_KPU5_IP6, 4, 0,
3670 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3671 		0, 0,
3672 	},
3673 	{
3674 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3675 		1, 0, NPC_S_KPU5_ARP, 4, 0,
3676 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3677 		0, 0,
3678 	},
3679 	{
3680 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3681 		1, 0, NPC_S_KPU5_RARP, 4, 0,
3682 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3683 		0, 0,
3684 	},
3685 	{
3686 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3687 		0, 0, NPC_S_KPU4_MPLS, 4, 0,
3688 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3689 		0, 0,
3690 	},
3691 	{
3692 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3693 		0, 0, NPC_S_KPU4_MPLS, 4, 0,
3694 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3695 		0, 0,
3696 	},
3697 	{
3698 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3699 		0, 0, NPC_S_KPU4_NSH, 4, 0,
3700 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3701 		0, 0,
3702 	},
3703 	{
3704 		NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 0, 0, 0,
3705 		0, 1, NPC_S_NA, 0, 0,
3706 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3707 		0, 0,
3708 	},
3709 	{
3710 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3711 		1, 0, NPC_S_KPU5_IP, 8, 0,
3712 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3713 		0, 0,
3714 	},
3715 	{
3716 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3717 		1, 0, NPC_S_KPU5_IP6, 8, 0,
3718 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3719 		0, 0,
3720 	},
3721 	{
3722 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3723 		1, 0, NPC_S_KPU5_ARP, 8, 0,
3724 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3725 		0, 0,
3726 	},
3727 	{
3728 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3729 		1, 0, NPC_S_KPU5_RARP, 8, 0,
3730 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3731 		0, 0,
3732 	},
3733 	{
3734 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3735 		1, 0, NPC_S_KPU5_PTP, 8, 0,
3736 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3737 		0, 0,
3738 	},
3739 	{
3740 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3741 		1, 0, NPC_S_KPU5_FCOE, 8, 0,
3742 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3743 		0, 0,
3744 	},
3745 	{
3746 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3747 		0, 0, NPC_S_KPU4_MPLS, 8, 0,
3748 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3749 		0, 0,
3750 	},
3751 	{
3752 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3753 		0, 0, NPC_S_KPU4_MPLS, 8, 0,
3754 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3755 		0, 0,
3756 	},
3757 	{
3758 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3759 		0, 0, NPC_S_KPU4_NSH, 8, 0,
3760 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3761 		0, 0,
3762 	},
3763 	{
3764 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3765 		1, 0, NPC_S_KPU5_IP, 4, 0,
3766 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3767 		0, 0,
3768 	},
3769 	{
3770 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3771 		1, 0, NPC_S_KPU5_IP6, 4, 0,
3772 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3773 		0, 0,
3774 	},
3775 	{
3776 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3777 		1, 0, NPC_S_KPU5_ARP, 4, 0,
3778 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3779 		0, 0,
3780 	},
3781 	{
3782 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3783 		1, 0, NPC_S_KPU5_RARP, 4, 0,
3784 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3785 		0, 0,
3786 	},
3787 	{
3788 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3789 		1, 0, NPC_S_KPU5_PTP, 4, 0,
3790 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3791 		0, 0,
3792 	},
3793 	{
3794 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3795 		1, 0, NPC_S_KPU5_FCOE, 4, 0,
3796 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3797 		0, 0,
3798 	},
3799 	{
3800 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3801 		0, 0, NPC_S_KPU4_MPLS, 4, 0,
3802 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3803 		0, 0,
3804 	},
3805 	{
3806 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
3807 		0, 0, NPC_S_KPU4_MPLS, 4, 0,
3808 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3809 		0, 0,
3810 	},
3811 	{
3812 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3813 		0, 0, NPC_S_KPU4_NSH, 4, 0,
3814 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3815 		0, 0,
3816 	},
3817 	{
3818 		NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 0, 0, 0,
3819 		0, 1, NPC_S_NA, 0, 0,
3820 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3821 		0, 0,
3822 	},
3823 	{
3824 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3825 		2, 0, NPC_S_KPU5_IP, 18, 0,
3826 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3827 		0, 0,
3828 	},
3829 	{
3830 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3831 		2, 0, NPC_S_KPU5_IP6, 18, 0,
3832 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3833 		0, 0,
3834 	},
3835 	{
3836 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3837 		2, 0, NPC_S_KPU5_ARP, 18, 0,
3838 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3839 		0, 0,
3840 	},
3841 	{
3842 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3843 		2, 0, NPC_S_KPU5_RARP, 18, 0,
3844 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3845 		0, 0,
3846 	},
3847 	{
3848 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3849 		1, 0, NPC_S_KPU5_IP, 26, 0,
3850 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3851 		0, 0,
3852 	},
3853 	{
3854 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3855 		1, 0, NPC_S_KPU5_IP6, 26, 0,
3856 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3857 		0, 0,
3858 	},
3859 	{
3860 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3861 		1, 0, NPC_S_KPU5_ARP, 26, 0,
3862 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3863 		0, 0,
3864 	},
3865 	{
3866 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3867 		1, 0, NPC_S_KPU5_IP, 22, 0,
3868 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3869 		0, 0,
3870 	},
3871 	{
3872 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3873 		1, 0, NPC_S_KPU5_IP6, 22, 0,
3874 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3875 		0, 0,
3876 	},
3877 	{
3878 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3879 		1, 0, NPC_S_KPU5_ARP, 22, 0,
3880 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3881 		0, 0,
3882 	},
3883 	{
3884 		NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 0, 0, 0,
3885 		0, 1, NPC_S_NA, 0, 0,
3886 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3887 		0, 0,
3888 	},
3889 	{
3890 		NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 0, 0, 0,
3891 		0, 1, NPC_S_NA, 0, 0,
3892 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3893 		0, 0,
3894 	},
3895 	{
3896 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3897 		1, 0, NPC_S_KPU5_IP, 22, 0,
3898 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3899 		0, 0,
3900 	},
3901 	{
3902 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3903 		1, 0, NPC_S_KPU5_IP6, 22, 0,
3904 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3905 		0, 0,
3906 	},
3907 	{
3908 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3909 		1, 0, NPC_S_KPU5_ARP, 22, 0,
3910 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3911 		0, 0,
3912 	},
3913 	{
3914 		NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 0, 0, 0,
3915 		0, 1, NPC_S_NA, 0, 0,
3916 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3917 		0, 0,
3918 	},
3919 	{
3920 		NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 0, 0, 0,
3921 		0, 1, NPC_S_NA, 0, 0,
3922 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3923 		0, 0,
3924 	},
3925 	{
3926 		NPC_ERRLEV_LB, NPC_EC_L2_K3, 0, 0, 0,
3927 		0, 1, NPC_S_NA, 0, 0,
3928 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
3929 		0, 0,
3930 	},
3931 };
3932 
3933 static struct npc_kpu_profile_action kpu4_action_entries[] = {
3934 	{
3935 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3936 		0, 0, NPC_S_KPU5_MPLS_PL, 4, 1,
3937 		NPC_LID_LC, NPC_LT_LC_MPLS, 0, 0, 0,
3938 		0, 0,
3939 	},
3940 	{
3941 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3942 		0, 0, NPC_S_KPU5_MPLS_PL, 8, 1,
3943 		NPC_LID_LC, NPC_LT_LC_MPLS, NPC_F_MPLS_2_LABELS, 0, 0,
3944 		0, 0,
3945 	},
3946 	{
3947 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3948 		0, 0, NPC_S_KPU5_MPLS_PL, 12, 1,
3949 		NPC_LID_LC, NPC_LT_LC_MPLS, NPC_F_MPLS_3_LABELS, 0, 0,
3950 		0, 0,
3951 	},
3952 	{
3953 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 4, 0,
3954 		0, 0, NPC_S_KPU5_MPLS, 12, 1,
3955 		NPC_LID_LC, NPC_LT_LC_MPLS, NPC_F_MPLS_4_LABELS, 0, 0,
3956 		0, 0,
3957 	},
3958 	{
3959 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
3960 		7, 0, NPC_S_KPU12_TU_IP, 0, 1,
3961 		NPC_LID_LC, NPC_LT_LC_NSH, 0, 1, 0x3f,
3962 		0, 2,
3963 	},
3964 	{
3965 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
3966 		7, 0, NPC_S_KPU12_TU_IP6, 0, 1,
3967 		NPC_LID_LC, NPC_LT_LC_NSH, 0, 1, 0x3f,
3968 		0, 2,
3969 	},
3970 	{
3971 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
3972 		6, 0, NPC_S_KPU11_TU_ETHER, 0, 1,
3973 		NPC_LID_LC, NPC_LT_LC_NSH, 0, 1, 0x3f,
3974 		0, 2,
3975 	},
3976 	{
3977 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
3978 		0, 0, NPC_S_KPU5_NSH, 0, 1,
3979 		NPC_LID_LC, NPC_LT_LC_NSH, 0, 1, 0x3f,
3980 		0, 2,
3981 	},
3982 	{
3983 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
3984 		4, 0, NPC_S_KPU9_TU_MPLS, 0, 1,
3985 		NPC_LID_LC, NPC_LT_LC_NSH, 0, 1, 0x3f,
3986 		0, 2,
3987 	},
3988 	{
3989 		NPC_ERRLEV_LB, NPC_EC_L2_K4, 0, 0, 0,
3990 		0, 1, NPC_S_NA, 0, 0,
3991 		NPC_LID_LC, NPC_LT_NA, 0, 0, 0,
3992 		0, 0,
3993 	},
3994 };
3995 
3996 static struct npc_kpu_profile_action kpu5_action_entries[] = {
3997 	{
3998 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 12, 0,
3999 		2, 0, NPC_S_KPU8_TCP, 20, 1,
4000 		NPC_LID_LC, NPC_LT_LC_IP, 0, 0, 0,
4001 		0, 0,
4002 	},
4003 	{
4004 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 8, 10,
4005 		2, 0, NPC_S_KPU8_UDP, 20, 1,
4006 		NPC_LID_LC, NPC_LT_LC_IP, 0, 0, 0,
4007 		0, 0,
4008 	},
4009 	{
4010 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4011 		2, 0, NPC_S_KPU8_SCTP, 20, 1,
4012 		NPC_LID_LC, NPC_LT_LC_IP, 0, 0, 0,
4013 		0, 0,
4014 	},
4015 	{
4016 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4017 		2, 0, NPC_S_KPU8_ICMP, 20, 1,
4018 		NPC_LID_LC, NPC_LT_LC_IP, 0, 0, 0,
4019 		0, 0,
4020 	},
4021 	{
4022 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4023 		2, 0, NPC_S_KPU8_IGMP, 20, 1,
4024 		NPC_LID_LC, NPC_LT_LC_IP, 0, 0, 0,
4025 		0, 0,
4026 	},
4027 	{
4028 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4029 		0, 0, NPC_S_KPU8_ESP, 20, 1,
4030 		NPC_LID_LC, NPC_LT_LC_IP, 0, 0, 0,
4031 		0, 0,
4032 	},
4033 	{
4034 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4035 		0, 0, NPC_S_KPU8_AH, 20, 1,
4036 		NPC_LID_LC, NPC_LT_LC_IP, 0, 0, 0,
4037 		0, 0,
4038 	},
4039 	{
4040 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4041 		2, 0, NPC_S_KPU8_GRE, 20, 1,
4042 		NPC_LID_LC, NPC_LT_LC_IP, 0, 0, 0,
4043 		0, 0,
4044 	},
4045 	{
4046 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4047 		6, 0, NPC_S_KPU12_TU_IP, 20, 1,
4048 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_IP_IN_IP, 0, 0,
4049 		0, 0,
4050 	},
4051 	{
4052 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4053 		6, 0, NPC_S_KPU12_TU_IP6, 20, 1,
4054 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_6TO4, 0, 0,
4055 		0, 0,
4056 	},
4057 	{
4058 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4059 		3, 0, NPC_S_KPU9_TU_MPLS, 20, 1,
4060 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_MPLS_IN_IP, 0, 0,
4061 		0, 0,
4062 	},
4063 	{
4064 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4065 		0, 1, NPC_S_NA, 0, 1,
4066 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_UNK_PROTO, 0, 0,
4067 		0, 0,
4068 	},
4069 	{
4070 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 12, 0,
4071 		2, 0, NPC_S_KPU8_TCP, 0, 1,
4072 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
4073 		0, 2,
4074 	},
4075 	{
4076 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 8, 10,
4077 		2, 0, NPC_S_KPU8_UDP, 0, 1,
4078 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
4079 		0, 2,
4080 	},
4081 	{
4082 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4083 		2, 0, NPC_S_KPU8_SCTP, 0, 1,
4084 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
4085 		0, 2,
4086 	},
4087 	{
4088 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4089 		2, 0, NPC_S_KPU8_ICMP, 0, 1,
4090 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
4091 		0, 2,
4092 	},
4093 	{
4094 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4095 		2, 0, NPC_S_KPU8_IGMP, 0, 1,
4096 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
4097 		0, 2,
4098 	},
4099 	{
4100 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4101 		0, 0, NPC_S_KPU8_ESP, 0, 1,
4102 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
4103 		0, 2,
4104 	},
4105 	{
4106 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4107 		0, 0, NPC_S_KPU8_AH, 0, 1,
4108 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
4109 		0, 2,
4110 	},
4111 	{
4112 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4113 		2, 0, NPC_S_KPU8_GRE, 0, 1,
4114 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
4115 		0, 2,
4116 	},
4117 	{
4118 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4119 		6, 0, NPC_S_KPU12_TU_IP, 0, 1,
4120 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_IP_IN_IP_HAS_OPTIONS, 0, 0xf,
4121 		0, 2,
4122 	},
4123 	{
4124 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4125 		6, 0, NPC_S_KPU12_TU_IP6, 0, 1,
4126 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_6TO4_HAS_OPTIONS, 0, 0xf,
4127 		0, 2,
4128 	},
4129 	{
4130 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4131 		3, 0, NPC_S_KPU9_TU_MPLS, 20, 1,
4132 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_MPLS_IN_IP_HAS_OPTIONS,
4133 		0, 0xf, 0, 2,
4134 	},
4135 	{
4136 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4137 		0, 1, NPC_S_NA, 0, 1,
4138 		NPC_LID_LC, NPC_LT_LC_IP, NPC_F_IP_UNK_PROTO_HAS_OPTIONS, 0, 0,
4139 		0, 0,
4140 	},
4141 	{
4142 		NPC_ERRLEV_LC, NPC_EC_IP_VER, 0, 0, 0,
4143 		0, 1, NPC_S_NA, 0, 1,
4144 		NPC_LID_LC, NPC_LT_LC_IP, 0, 0, 0,
4145 		0, 0,
4146 	},
4147 	{
4148 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4149 		0, 1, NPC_S_NA, 0, 1,
4150 		NPC_LID_LC, NPC_LT_LC_ARP, 0, 0, 0,
4151 		0, 0,
4152 	},
4153 	{
4154 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4155 		0, 1, NPC_S_NA, 0, 1,
4156 		NPC_LID_LC, NPC_LT_LC_RARP, 0, 0, 0,
4157 		0, 0,
4158 	},
4159 	{
4160 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4161 		0, 1, NPC_S_NA, 0, 1,
4162 		NPC_LID_LC, NPC_LT_LC_PTP, 0, 0, 0,
4163 		0, 0,
4164 	},
4165 	{
4166 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4167 		0, 1, NPC_S_NA, 0, 1,
4168 		NPC_LID_LC, NPC_LT_LC_FCOE, 0, 0, 0,
4169 		0, 0,
4170 	},
4171 	{
4172 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 12, 0,
4173 		2, 0, NPC_S_KPU8_TCP, 40, 1,
4174 		NPC_LID_LC, NPC_LT_LC_IP6, 0, 0, 0,
4175 		0, 0,
4176 	},
4177 	{
4178 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 8, 10,
4179 		2, 0, NPC_S_KPU8_UDP, 40, 1,
4180 		NPC_LID_LC, NPC_LT_LC_IP6, 0, 0, 0,
4181 		0, 0,
4182 	},
4183 	{
4184 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4185 		2, 0, NPC_S_KPU8_SCTP, 40, 1,
4186 		NPC_LID_LC, NPC_LT_LC_IP6, 0, 0, 0,
4187 		0, 0,
4188 	},
4189 	{
4190 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4191 		2, 0, NPC_S_KPU8_ICMP, 40, 1,
4192 		NPC_LID_LC, NPC_LT_LC_IP6, 0, 0, 0,
4193 		0, 0,
4194 	},
4195 	{
4196 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4197 		2, 0, NPC_S_KPU8_ICMP6, 40, 1,
4198 		NPC_LID_LC, NPC_LT_LC_IP6, 0, 0, 0,
4199 		0, 0,
4200 	},
4201 	{
4202 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4203 		2, 0, NPC_S_KPU8_ESP, 40, 1,
4204 		NPC_LID_LC, NPC_LT_LC_IP6, 0, 0, 0,
4205 		0, 0,
4206 	},
4207 	{
4208 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4209 		2, 0, NPC_S_KPU8_AH, 40, 1,
4210 		NPC_LID_LC, NPC_LT_LC_IP6, 0, 0, 0,
4211 		0, 0,
4212 	},
4213 	{
4214 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4215 		2, 0, NPC_S_KPU8_GRE, 40, 1,
4216 		NPC_LID_LC, NPC_LT_LC_IP6, 0, 0, 0,
4217 		0, 0,
4218 	},
4219 	{
4220 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4221 		6, 0, NPC_S_KPU12_TU_IP6, 40, 1,
4222 		NPC_LID_LC, NPC_LT_LC_IP6, NPC_F_IP6_TUN_IP6, 0, 0,
4223 		0, 0,
4224 	},
4225 	{
4226 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4227 		3, 0, NPC_S_KPU9_TU_MPLS, 40, 1,
4228 		NPC_LID_LC, NPC_LT_LC_IP6, NPC_F_IP6_MPLS_IN_IP, 0, 0,
4229 		0, 0,
4230 	},
4231 	{
4232 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4233 		0, 0, NPC_S_KPU6_IP6_EXT, 0, 1,
4234 		NPC_LID_LC, NPC_LT_LC_IP6, NPC_F_IP6_HAS_EXT, 0, 0,
4235 		0, 0,
4236 	},
4237 	{
4238 		NPC_ERRLEV_LC, NPC_EC_IP6_VER, 0, 0, 0,
4239 		0, 1, NPC_S_NA, 0, 1,
4240 		NPC_LID_LC, NPC_LT_LC_IP6, 0, 0, 0,
4241 		0, 0,
4242 	},
4243 	{
4244 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4245 		6, 0, NPC_S_KPU12_TU_IP, 4, 0,
4246 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
4247 		0, 0,
4248 	},
4249 	{
4250 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4251 		6, 0, NPC_S_KPU12_TU_IP6, 4, 0,
4252 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
4253 		0, 0,
4254 	},
4255 	{
4256 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4257 		5, 0, NPC_S_KPU11_TU_ETHER, 8, 0,
4258 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
4259 		0, 0,
4260 	},
4261 	{
4262 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4263 		5, 0, NPC_S_KPU11_TU_ETHER, 4, 0,
4264 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
4265 		0, 0,
4266 	},
4267 	{
4268 		NPC_ERRLEV_LB, NPC_EC_L2_MPLS_2MANY, 0, 0, 0,
4269 		0, 1, NPC_S_NA, 0, 0,
4270 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
4271 		0, 0,
4272 	},
4273 	{
4274 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4275 		6, 0, NPC_S_KPU12_TU_IP, 0, 0,
4276 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
4277 		0, 0,
4278 	},
4279 	{
4280 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4281 		6, 0, NPC_S_KPU12_TU_IP6, 0, 0,
4282 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
4283 		0, 0,
4284 	},
4285 	{
4286 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4287 		5, 0, NPC_S_KPU11_TU_ETHER, 4, 0,
4288 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
4289 		0, 0,
4290 	},
4291 	{
4292 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4293 		5, 0, NPC_S_KPU11_TU_ETHER, 0, 0,
4294 		NPC_LID_LB, NPC_LT_NA, 0, 0, 0,
4295 		0, 0,
4296 	},
4297 	{
4298 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4299 		6, 0, NPC_S_KPU12_TU_IP, 0, 0,
4300 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
4301 		0, 2,
4302 	},
4303 	{
4304 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4305 		6, 0, NPC_S_KPU12_TU_IP6, 0, 0,
4306 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
4307 		0, 2,
4308 	},
4309 	{
4310 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4311 		5, 0, NPC_S_KPU11_TU_ETHER, 0, 0,
4312 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
4313 		0, 2,
4314 	},
4315 	{
4316 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4317 		5, 0, NPC_S_KPU11_TU_3RD_NSH, 0, 0,
4318 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
4319 		0, 2,
4320 	},
4321 	{
4322 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4323 		3, 0, NPC_S_KPU9_TU_MPLS, 0, 0,
4324 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
4325 		0, 2,
4326 	},
4327 	{
4328 		NPC_ERRLEV_LC, NPC_EC_UNK, 0, 0, 0,
4329 		0, 1, NPC_S_NA, 0, 0,
4330 		NPC_LID_LC, NPC_LT_NA, 0, 0, 0,
4331 		0, 0,
4332 	},
4333 };
4334 
4335 static struct npc_kpu_profile_action kpu6_action_entries[] = {
4336 	{
4337 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4338 		0, 1, NPC_S_NA, 0, 0,
4339 		NPC_LID_LC, NPC_LT_NA, 0, 0, 0,
4340 		0, 0,
4341 	},
4342 };
4343 
4344 static struct npc_kpu_profile_action kpu7_action_entries[] = {
4345 	{
4346 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4347 		0, 1, NPC_S_NA, 0, 0,
4348 		NPC_LID_LC, NPC_LT_NA, 0, 0, 0,
4349 		0, 0,
4350 	},
4351 };
4352 
4353 static struct npc_kpu_profile_action kpu8_action_entries[] = {
4354 	{
4355 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4356 		7, 0, NPC_S_KPU16_HTTP_DATA, 20, 1,
4357 		NPC_LID_LD, NPC_LT_LD_TCP, NPC_F_TCP_HTTP, 0, 0,
4358 		0, 0,
4359 	},
4360 	{
4361 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4362 		7, 0, NPC_S_KPU16_HTTPS_DATA, 20, 1,
4363 		NPC_LID_LD, NPC_LT_LD_TCP, NPC_F_TCP_HTTPS, 0, 0,
4364 		0, 0,
4365 	},
4366 	{
4367 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4368 		7, 0, NPC_S_KPU16_PPTP_DATA, 20, 1,
4369 		NPC_LID_LD, NPC_LT_LD_TCP, NPC_F_TCP_PPTP, 0, 0,
4370 		0, 0,
4371 	},
4372 	{
4373 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4374 		7, 0, NPC_S_KPU16_TCP_DATA, 20, 1,
4375 		NPC_LID_LD, NPC_LT_LD_TCP, NPC_F_TCP_UNK_PORT, 0, 0,
4376 		0, 0,
4377 	},
4378 	{
4379 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4380 		7, 0, NPC_S_KPU16_HTTP_DATA, 0, 1,
4381 		NPC_LID_LD, NPC_LT_LD_TCP, NPC_F_TCP_HTTP_HAS_OPTIONS,
4382 		12, 0xf0, 1, 2,
4383 	},
4384 	{
4385 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4386 		7, 0, NPC_S_KPU16_HTTPS_DATA, 0, 1,
4387 		NPC_LID_LD, NPC_LT_LD_TCP, NPC_F_TCP_HTTPS_HAS_OPTIONS,
4388 		12, 0xf0, 1, 2,
4389 	},
4390 	{
4391 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4392 		7, 0, NPC_S_KPU16_PPTP_DATA, 0, 1,
4393 		NPC_LID_LD, NPC_LT_LD_TCP, NPC_F_TCP_PPTP_HAS_OPTIONS,
4394 		12, 0xf0, 1, 2,
4395 	},
4396 	{
4397 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4398 		7, 0, NPC_S_KPU16_TCP_DATA, 0, 1,
4399 		NPC_LID_LD, NPC_LT_LD_TCP, NPC_F_TCP_UNK_PORT_HAS_OPTIONS,
4400 		12, 0xf0, 1, 2,
4401 	},
4402 	{
4403 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4404 		2, 0, NPC_S_KPU11_TU_ETHER, 16, 1,
4405 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLAN, 0, 0,
4406 		0, 0,
4407 	},
4408 	{
4409 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4410 		2, 0, NPC_S_KPU11_TU_ETHER, 16, 1,
4411 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLAN_NOVNI, 0, 0,
4412 		0, 0,
4413 	},
4414 	{
4415 		NPC_ERRLEV_LD, NPC_EC_VXLAN, 0, 0, 0,
4416 		0, 1, NPC_S_NA, 0, 0,
4417 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
4418 		0, 0,
4419 	},
4420 	{
4421 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4422 		3, 0, NPC_S_KPU12_TU_IP, 16, 1,
4423 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLANGPE, 0, 0,
4424 		0, 0,
4425 	},
4426 	{
4427 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4428 		3, 0, NPC_S_KPU12_TU_IP6, 16, 1,
4429 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLANGPE, 0, 0,
4430 		0, 0,
4431 	},
4432 	{
4433 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4434 		2, 0, NPC_S_KPU11_TU_ETHER, 16, 1,
4435 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLANGPE, 0, 0,
4436 		0, 0,
4437 	},
4438 	{
4439 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4440 		0, 0, NPC_S_KPU9_TU_NSH, 16, 1,
4441 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLANGPE_NSH, 0, 0,
4442 		0, 0,
4443 	},
4444 	{
4445 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4446 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 16, 1,
4447 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLANGPE_MPLS, 0, 0,
4448 		0, 0,
4449 	},
4450 	{
4451 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4452 		3, 0, NPC_S_KPU12_TU_IP, 16, 1,
4453 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLANGPE_NOVNI, 0, 0,
4454 		0, 0,
4455 	},
4456 	{
4457 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4458 		3, 0, NPC_S_KPU12_TU_IP6, 16, 1,
4459 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLANGPE_NOVNI, 0, 0,
4460 		0, 0,
4461 	},
4462 	{
4463 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4464 		2, 0, NPC_S_KPU11_TU_ETHER, 16, 1,
4465 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLANGPE_NOVNI, 0, 0,
4466 		0, 0,
4467 	},
4468 	{
4469 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4470 		0, 0, NPC_S_KPU9_TU_NSH, 16, 1,
4471 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLANGPE_NOVNI_NSH, 0, 0,
4472 		0, 0,
4473 	},
4474 	{
4475 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4476 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 16, 1,
4477 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLANGPE_NOVNI_MPLS, 0, 0,
4478 		0, 0,
4479 	},
4480 	{
4481 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4482 		0, 1, NPC_S_NA, 0, 1,
4483 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLANGPE_UNK, 0, 0,
4484 		0, 0,
4485 	},
4486 	{
4487 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4488 		0, 1, NPC_S_NA, 0, 1,
4489 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_VXLANGPE_NONP, 0, 0,
4490 		0, 0,
4491 	},
4492 	{
4493 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4494 		2, 0, NPC_S_KPU11_TU_ETHER, 16, 1,
4495 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GENEVE, 8, 0x3f,
4496 		0, 2,
4497 	},
4498 	{
4499 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4500 		2, 0, NPC_S_KPU11_TU_ETHER, 16, 1,
4501 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GENEVE_OAM, 8, 0x3f,
4502 		0, 2,
4503 	},
4504 	{
4505 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4506 		2, 0, NPC_S_KPU11_TU_ETHER, 16, 1,
4507 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GENEVE_CRI_OPT, 8, 0x3f,
4508 		0, 2,
4509 	},
4510 	{
4511 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4512 		2, 0, NPC_S_KPU11_TU_ETHER, 16, 1,
4513 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GENEVE_OAM_CRI_OPT,
4514 		8, 0x3f, 0, 2,
4515 	},
4516 	{
4517 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4518 		3, 0, NPC_S_KPU12_TU_IP, 16, 1,
4519 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GENEVE, 8, 0x3f,
4520 		0, 2,
4521 	},
4522 	{
4523 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4524 		3, 0, NPC_S_KPU12_TU_IP, 16, 1,
4525 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GENEVE_OAM,
4526 		8, 0x3f, 0, 2,
4527 	},
4528 	{
4529 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4530 		3, 0, NPC_S_KPU12_TU_IP, 16, 1,
4531 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GENEVE_CRI_OPT,
4532 		8, 0x3f, 0, 2,
4533 	},
4534 	{
4535 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4536 		3, 0, NPC_S_KPU12_TU_IP, 16, 1,
4537 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GENEVE_OAM_CRI_OPT,
4538 		8, 0x3f, 0, 2,
4539 	},
4540 	{
4541 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4542 		3, 0, NPC_S_KPU12_TU_IP6, 16, 1,
4543 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GENEVE, 8, 0x3f,
4544 		0, 2,
4545 	},
4546 	{
4547 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4548 		3, 0, NPC_S_KPU12_TU_IP6, 16, 1,
4549 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GENEVE_OAM, 8, 0x3f,
4550 		0, 2,
4551 	},
4552 	{
4553 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4554 		3, 0, NPC_S_KPU12_TU_IP6, 16, 1,
4555 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GENEVE_CRI_OPT,
4556 		8, 0x3f, 0, 2,
4557 	},
4558 	{
4559 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4560 		3, 0, NPC_S_KPU12_TU_IP6, 16, 1,
4561 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GENEVE_OAM_CRI_OPT,
4562 		8, 0x3f, 0, 2,
4563 	},
4564 	{
4565 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4566 		0, 1, NPC_S_NA, 0, 1,
4567 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GTP_GTPC, 0, 0,
4568 		0, 0,
4569 	},
4570 	{
4571 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4572 		3, 0, NPC_S_KPU12_TU_IP, 16, 1,
4573 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GTP_GTPU_G_PDU, 0, 0,
4574 		0, 0,
4575 	},
4576 	{
4577 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4578 		0, 1, NPC_S_NA, 0, 1,
4579 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_GTP_GTPU_UNK, 0, 0,
4580 		0, 0,
4581 	},
4582 	{
4583 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4584 		7, 0, NPC_S_KPU16_UDP_DATA, 8, 1,
4585 		NPC_LID_LD, NPC_LT_LD_UDP, NPC_F_UDP_UNK_PORT, 0, 0,
4586 		0, 0,
4587 	},
4588 	{
4589 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4590 		0, 1, NPC_S_NA, 0, 1,
4591 		NPC_LID_LD, NPC_LT_LD_SCTP, 0, 0, 0,
4592 		0, 0,
4593 	},
4594 	{
4595 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4596 		0, 1, NPC_S_NA, 0, 1,
4597 		NPC_LID_LD, NPC_LT_LD_ICMP, 0, 0, 0,
4598 		0, 0,
4599 	},
4600 	{
4601 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4602 		0, 1, NPC_S_NA, 0, 1,
4603 		NPC_LID_LD, NPC_LT_LD_IGMP, 0, 0, 0,
4604 		0, 0,
4605 	},
4606 	{
4607 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4608 		0, 1, NPC_S_NA, 0, 1,
4609 		NPC_LID_LD, NPC_LT_LD_ICMP6, 0, 0, 0,
4610 		0, 0,
4611 	},
4612 	{
4613 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4614 		0, 1, NPC_S_NA, 0, 1,
4615 		NPC_LID_LD, NPC_LT_LD_ESP, 0, 0, 0,
4616 		0, 0,
4617 	},
4618 	{
4619 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4620 		0, 1, NPC_S_NA, 0, 1,
4621 		NPC_LID_LD, NPC_LT_LD_AH, 0, 0, 0,
4622 		0, 0,
4623 	},
4624 	{
4625 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
4626 		2, 0, NPC_S_KPU11_TU_ETHER, 8, 1,
4627 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_NVGRE, 0, 0,
4628 		0, 0,
4629 	},
4630 	{
4631 		NPC_ERRLEV_LD, NPC_EC_NVGRE, 0, 0, 0,
4632 		0, 1, NPC_S_NA, 0, 0,
4633 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
4634 		0, 0,
4635 	},
4636 	{
4637 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4638 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 4, 1,
4639 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, 0, 0, 0,
4640 		0, 0,
4641 	},
4642 	{
4643 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4644 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 8, 1,
4645 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_CSUM, 0, 0,
4646 		0, 0,
4647 	},
4648 	{
4649 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4650 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 8, 1,
4651 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_KEY, 0, 0,
4652 		0, 0,
4653 	},
4654 	{
4655 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4656 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 8, 1,
4657 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_SEQ, 0, 0,
4658 		0, 0,
4659 	},
4660 	{
4661 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4662 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 12, 1,
4663 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_CSUM_KEY, 0, 0,
4664 		0, 0,
4665 	},
4666 	{
4667 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4668 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 12, 1,
4669 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_CSUM_SEQ, 0, 0,
4670 		0, 0,
4671 	},
4672 	{
4673 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4674 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 12, 1,
4675 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_KEY_SEQ, 0, 0,
4676 		0, 0,
4677 	},
4678 	{
4679 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4680 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 16, 1,
4681 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_CSUM_KEY_SEQ,
4682 		0, 0, 0, 0,
4683 	},
4684 	{
4685 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4686 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 4, 1,
4687 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, 0, 0, 0,
4688 		0, 0,
4689 	},
4690 	{
4691 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4692 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 8, 1,
4693 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_CSUM, 0, 0,
4694 		0, 0,
4695 	},
4696 	{
4697 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4698 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 8, 1,
4699 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_KEY, 0, 0,
4700 		0, 0,
4701 	},
4702 	{
4703 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4704 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 8, 1,
4705 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_SEQ, 0, 0,
4706 		0, 0,
4707 	},
4708 	{
4709 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4710 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 12, 1,
4711 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_CSUM_KEY, 0, 0,
4712 		0, 0,
4713 	},
4714 	{
4715 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4716 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 12, 1,
4717 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_CSUM_SEQ, 0, 0,
4718 		0, 0,
4719 	},
4720 	{
4721 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4722 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 12, 1,
4723 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_KEY_SEQ, 0, 0,
4724 		0, 0,
4725 	},
4726 	{
4727 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 6, 10,
4728 		0, 0, NPC_S_KPU9_TU_MPLS_IN_GRE_VXLAN, 16, 1,
4729 		NPC_LID_LD, NPC_LT_LD_GRE_MPLS, NPC_F_GRE_HAS_CSUM_KEY_SEQ,
4730 		0, 0, 0, 0,
4731 	},
4732 	{
4733 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4734 		0, 0, NPC_S_KPU9_TU_NSH, 4, 1,
4735 		NPC_LID_LD, NPC_LT_LD_GRE_NSH, 0, 0, 0,
4736 		0, 0,
4737 	},
4738 	{
4739 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4740 		0, 0, NPC_S_KPU9_TU_NSH, 8, 1,
4741 		NPC_LID_LD, NPC_LT_LD_GRE_NSH, NPC_F_GRE_HAS_CSUM, 0, 0,
4742 		0, 0,
4743 	},
4744 	{
4745 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4746 		0, 0, NPC_S_KPU9_TU_NSH, 8, 1,
4747 		NPC_LID_LD, NPC_LT_LD_GRE_NSH, NPC_F_GRE_HAS_KEY, 0, 0,
4748 		0, 0,
4749 	},
4750 	{
4751 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4752 		0, 0, NPC_S_KPU9_TU_NSH, 8, 1,
4753 		NPC_LID_LD, NPC_LT_LD_GRE_NSH, NPC_F_GRE_HAS_SEQ, 0, 0,
4754 		0, 0,
4755 	},
4756 	{
4757 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4758 		0, 0, NPC_S_KPU9_TU_NSH, 12, 1,
4759 		NPC_LID_LD, NPC_LT_LD_GRE_NSH, NPC_F_GRE_HAS_CSUM_KEY, 0, 0,
4760 		0, 0,
4761 	},
4762 	{
4763 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4764 		0, 0, NPC_S_KPU9_TU_NSH, 12, 1,
4765 		NPC_LID_LD, NPC_LT_LD_GRE_NSH, NPC_F_GRE_HAS_CSUM_SEQ, 0, 0,
4766 		0, 0,
4767 	},
4768 	{
4769 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4770 		0, 0, NPC_S_KPU9_TU_NSH, 12, 1,
4771 		NPC_LID_LD, NPC_LT_LD_GRE_NSH, NPC_F_GRE_HAS_KEY_SEQ, 0, 0,
4772 		0, 0,
4773 	},
4774 	{
4775 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
4776 		0, 0, NPC_S_KPU9_TU_NSH, 16, 1,
4777 		NPC_LID_LD, NPC_LT_LD_GRE_NSH, NPC_F_GRE_HAS_CSUM_KEY_SEQ, 0, 0,
4778 		0, 0,
4779 	},
4780 	{
4781 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4782 		3, 0, NPC_S_KPU12_TU_IP, 4, 1,
4783 		NPC_LID_LD, NPC_LT_LD_GRE, 0, 0, 0,
4784 		0, 0,
4785 	},
4786 	{
4787 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4788 		3, 0, NPC_S_KPU12_TU_IP, 8, 1,
4789 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_CSUM, 0, 0,
4790 		0, 0,
4791 	},
4792 	{
4793 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4794 		3, 0, NPC_S_KPU12_TU_IP, 8, 1,
4795 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_KEY, 0, 0,
4796 		0, 0,
4797 	},
4798 	{
4799 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4800 		3, 0, NPC_S_KPU12_TU_IP, 8, 1,
4801 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_SEQ, 0, 0,
4802 		0, 0,
4803 	},
4804 	{
4805 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4806 		3, 0, NPC_S_KPU12_TU_IP, 12, 1,
4807 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_CSUM_KEY, 0, 0,
4808 		0, 0,
4809 	},
4810 	{
4811 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4812 		3, 0, NPC_S_KPU12_TU_IP, 12, 1,
4813 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_CSUM_SEQ, 0, 0,
4814 		0, 0,
4815 	},
4816 	{
4817 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4818 		3, 0, NPC_S_KPU12_TU_IP, 12, 1,
4819 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_KEY_SEQ, 0, 0,
4820 		0, 0,
4821 	},
4822 	{
4823 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4824 		3, 0, NPC_S_KPU12_TU_IP, 16, 1,
4825 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_CSUM_KEY_SEQ, 0, 0,
4826 		0, 0,
4827 	},
4828 	{
4829 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4830 		3, 0, NPC_S_KPU12_TU_IP6, 4, 1,
4831 		NPC_LID_LD, NPC_LT_LD_GRE, 0, 0, 0,
4832 		0, 0,
4833 	},
4834 	{
4835 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4836 		3, 0, NPC_S_KPU12_TU_IP6, 8, 1,
4837 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_CSUM, 0, 0,
4838 		0, 0,
4839 	},
4840 	{
4841 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4842 		3, 0, NPC_S_KPU12_TU_IP6, 8, 1,
4843 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_KEY, 0, 0,
4844 		0, 0,
4845 	},
4846 	{
4847 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4848 		3, 0, NPC_S_KPU12_TU_IP6, 8, 1,
4849 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_SEQ, 0, 0,
4850 		0, 0,
4851 	},
4852 	{
4853 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4854 		3, 0, NPC_S_KPU12_TU_IP6, 12, 1,
4855 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_CSUM_KEY, 0, 0,
4856 		0, 0,
4857 	},
4858 	{
4859 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4860 		3, 0, NPC_S_KPU12_TU_IP6, 12, 1,
4861 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_CSUM_SEQ, 0, 0,
4862 		0, 0,
4863 	},
4864 	{
4865 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4866 		3, 0, NPC_S_KPU12_TU_IP6, 12, 1,
4867 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_KEY_SEQ, 0, 0,
4868 		0, 0,
4869 	},
4870 	{
4871 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4872 		3, 0, NPC_S_KPU12_TU_IP6, 16, 1,
4873 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_CSUM_KEY_SEQ, 0, 0,
4874 		0, 0,
4875 	},
4876 	{
4877 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4878 		0, 1, NPC_S_NA, 0, 1,
4879 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_HAS_ROUTE, 0, 0,
4880 		0, 0,
4881 	},
4882 	{
4883 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4884 		0, 1, NPC_S_NA, 0, 1,
4885 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_UNK_PROTO, 0, 0,
4886 		0, 0,
4887 	},
4888 	{
4889 		NPC_ERRLEV_LD, NPC_EC_GRE, 0, 0, 0,
4890 		0, 1, NPC_S_NA, 0, 0,
4891 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
4892 		0, 0,
4893 	},
4894 	{
4895 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4896 		2, 0, NPC_S_KPU11_TU_PPP, 8, 1,
4897 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_VER1, 0, 0,
4898 		0, 0,
4899 	},
4900 	{
4901 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4902 		2, 0, NPC_S_KPU11_TU_PPP, 12, 1,
4903 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_VER1_HAS_SEQ, 0, 0,
4904 		0, 0,
4905 	},
4906 	{
4907 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4908 		2, 0, NPC_S_KPU11_TU_PPP, 12, 1,
4909 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_VER1_HAS_ACK, 0, 0,
4910 		0, 0,
4911 	},
4912 	{
4913 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4914 		2, 0, NPC_S_KPU11_TU_PPP, 16, 1,
4915 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_VER1_HAS_SEQ_ACK, 0, 0,
4916 		0, 0,
4917 	},
4918 	{
4919 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4920 		0, 1, NPC_S_NA, 0, 1,
4921 		NPC_LID_LD, NPC_LT_LD_GRE, NPC_F_GRE_VER1_UNK_PROTO, 0, 0,
4922 		0, 0,
4923 	},
4924 	{
4925 		NPC_ERRLEV_LD, NPC_EC_GRE_VER1, 0, 0, 0,
4926 		0, 1, NPC_S_NA, 0, 0,
4927 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
4928 		0, 0,
4929 	},
4930 	{
4931 		NPC_ERRLEV_LD, NPC_EC_UNK, 0, 0, 0,
4932 		0, 1, NPC_S_NA, 0, 0,
4933 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
4934 		0, 0,
4935 	},
4936 };
4937 
4938 static struct npc_kpu_profile_action kpu9_action_entries[] = {
4939 	{
4940 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4941 		0, 0, NPC_S_KPU10_TU_MPLS_PL, 4, 0,
4942 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
4943 		0, 0,
4944 	},
4945 	{
4946 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4947 		0, 0, NPC_S_KPU10_TU_MPLS_PL, 8, 0,
4948 		NPC_LID_LD, NPC_LT_NA, NPC_F_MPLS_2_LABELS, 0, 0,
4949 		0, 0,
4950 	},
4951 	{
4952 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4953 		0, 0, NPC_S_KPU10_TU_MPLS_PL, 12, 0,
4954 		NPC_LID_LD, NPC_LT_NA, NPC_F_MPLS_3_LABELS, 0, 0,
4955 		0, 0,
4956 	},
4957 	{
4958 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 4, 0,
4959 		0, 0, NPC_S_KPU10_TU_MPLS, 12, 0,
4960 		NPC_LID_LD, NPC_LT_NA, NPC_F_MPLS_4_LABELS, 0, 0,
4961 		0, 0,
4962 	},
4963 	{
4964 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4965 		0, 0, NPC_S_KPU10_TU_MPLS_PL, 4, 1,
4966 		NPC_LID_LD, NPC_LT_LD_TU_MPLS, 0, 0, 0,
4967 		0, 0,
4968 	},
4969 	{
4970 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4971 		0, 0, NPC_S_KPU10_TU_MPLS_PL, 8, 1,
4972 		NPC_LID_LD, NPC_LT_LD_TU_MPLS, NPC_F_MPLS_2_LABELS, 0, 0,
4973 		0, 0,
4974 	},
4975 	{
4976 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
4977 		0, 0, NPC_S_KPU10_TU_MPLS_PL, 12, 1,
4978 		NPC_LID_LD, NPC_LT_LD_TU_MPLS, NPC_F_MPLS_3_LABELS, 0, 0,
4979 		0, 0,
4980 	},
4981 	{
4982 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 4, 0,
4983 		0, 0, NPC_S_KPU10_TU_MPLS, 12, 1,
4984 		NPC_LID_LD, NPC_LT_LD_TU_MPLS, NPC_F_MPLS_4_LABELS, 0, 0,
4985 		0, 0,
4986 	},
4987 	{
4988 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
4989 		2, 0, NPC_S_KPU12_TU_IP, 0, 0,
4990 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
4991 		0, 2,
4992 	},
4993 	{
4994 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
4995 		2, 0, NPC_S_KPU12_TU_IP6, 0, 0,
4996 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
4997 		0, 2,
4998 	},
4999 	{
5000 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
5001 		1, 0, NPC_S_KPU11_TU_ETHER, 0, 0,
5002 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
5003 		0, 2,
5004 	},
5005 	{
5006 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
5007 		0, 0, NPC_S_KPU10_TU_NSH, 0, 0,
5008 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
5009 		0, 2,
5010 	},
5011 	{
5012 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5013 		1, 0, NPC_S_KPU11_TU_MPLS_IN_NSH, 0, 0,
5014 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
5015 		0, 2,
5016 	},
5017 	{
5018 		NPC_ERRLEV_LE, NPC_EC_UNK, 0, 0, 0,
5019 		0, 1, NPC_S_NA, 0, 0,
5020 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
5021 		0, 0,
5022 	},
5023 };
5024 
5025 static struct npc_kpu_profile_action kpu10_action_entries[] = {
5026 	{
5027 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
5028 		1, 0, NPC_S_KPU12_TU_IP, 4, 0,
5029 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
5030 		0, 0,
5031 	},
5032 	{
5033 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
5034 		1, 0, NPC_S_KPU12_TU_IP6, 4, 0,
5035 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
5036 		0, 0,
5037 	},
5038 	{
5039 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
5040 		0, 0, NPC_S_KPU11_TU_ETHER, 8, 0,
5041 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
5042 		0, 0,
5043 	},
5044 	{
5045 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
5046 		0, 0, NPC_S_KPU11_TU_ETHER, 4, 0,
5047 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
5048 		0, 0,
5049 	},
5050 	{
5051 		NPC_ERRLEV_LB, NPC_EC_L2_MPLS_2MANY, 0, 0, 0,
5052 		0, 1, NPC_S_NA, 0, 0,
5053 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
5054 		0, 0,
5055 	},
5056 	{
5057 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
5058 		1, 0, NPC_S_KPU12_TU_IP, 0, 0,
5059 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
5060 		0, 0,
5061 	},
5062 	{
5063 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
5064 		1, 0, NPC_S_KPU12_TU_IP6, 0, 0,
5065 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
5066 		0, 0,
5067 	},
5068 	{
5069 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
5070 		0, 0, NPC_S_KPU11_TU_ETHER, 4, 0,
5071 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
5072 		0, 0,
5073 	},
5074 	{
5075 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
5076 		0, 0, NPC_S_KPU11_TU_ETHER, 0, 0,
5077 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
5078 		0, 0,
5079 	},
5080 	{
5081 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
5082 		1, 0, NPC_S_KPU12_TU_IP, 0, 0,
5083 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
5084 		0, 2,
5085 	},
5086 	{
5087 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
5088 		1, 0, NPC_S_KPU12_TU_IP6, 0, 0,
5089 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
5090 		0, 2,
5091 	},
5092 	{
5093 		NPC_ERRLEV_RE, NPC_EC_NOERR, 12, 16, 20,
5094 		0, 0, NPC_S_KPU11_TU_ETHER, 0, 0,
5095 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
5096 		0, 2,
5097 	},
5098 	{
5099 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
5100 		0, 0, NPC_S_KPU11_TU_3RD_NSH, 0, 0,
5101 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
5102 		0, 2,
5103 	},
5104 	{
5105 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5106 		0, 0, NPC_S_KPU11_TU_MPLS_IN_NSH, 0, 0,
5107 		NPC_LID_LD, NPC_LT_NA, 0, 1, 0x3f,
5108 		0, 2,
5109 	},
5110 	{
5111 		NPC_ERRLEV_LE, NPC_EC_UNK, 0, 0, 0,
5112 		0, 1, NPC_S_NA, 0, 0,
5113 		NPC_LID_LD, NPC_LT_NA, 0, 0, 0,
5114 		0, 0,
5115 	},
5116 };
5117 
5118 static struct npc_kpu_profile_action kpu11_action_entries[] = {
5119 	{
5120 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
5121 		0, 0, NPC_S_KPU12_TU_IP, 14, 1,
5122 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, 0, 0, 0,
5123 		0, 0,
5124 	},
5125 	{
5126 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
5127 		0, 0, NPC_S_KPU12_TU_IP6, 14, 1,
5128 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, 0, 0, 0,
5129 		0, 0,
5130 	},
5131 	{
5132 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5133 		0, 0, NPC_S_KPU12_TU_ARP, 14, 1,
5134 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, 0, 0, 0,
5135 		0, 0,
5136 	},
5137 	{
5138 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
5139 		0, 0, NPC_S_KPU12_TU_IP, 18, 1,
5140 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_CTAG, 0, 0,
5141 		0, 0,
5142 	},
5143 	{
5144 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
5145 		0, 0, NPC_S_KPU12_TU_IP6, 18, 1,
5146 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_CTAG, 0, 0,
5147 		0, 0,
5148 	},
5149 	{
5150 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5151 		0, 0, NPC_S_KPU12_TU_ARP, 18, 1,
5152 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_CTAG, 0, 0,
5153 		0, 0,
5154 	},
5155 	{
5156 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5157 		0, 1, NPC_S_NA, 0, 1,
5158 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_CTAG_UNK, 0, 0,
5159 		0, 0,
5160 	},
5161 	{
5162 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
5163 		0, 0, NPC_S_KPU12_TU_IP, 22, 1,
5164 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_STAG_CTAG, 0, 0,
5165 		0, 0,
5166 	},
5167 	{
5168 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
5169 		0, 0, NPC_S_KPU12_TU_IP6, 22, 1,
5170 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_STAG_CTAG, 0, 0,
5171 		0, 0,
5172 	},
5173 	{
5174 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5175 		0, 0, NPC_S_KPU12_TU_ARP, 22, 1,
5176 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_STAG_CTAG, 0, 0,
5177 		0, 0,
5178 	},
5179 	{
5180 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5181 		0, 1, NPC_S_NA, 0, 1,
5182 		NPC_LID_LE, NPC_LT_LE_TU_ETHER,
5183 		NPC_F_TU_ETHER_STAG_CTAG_UNK, 0, 0, 0, 0,
5184 	},
5185 	{
5186 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
5187 		0, 0, NPC_S_KPU12_TU_IP, 18, 1,
5188 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_STAG, 0, 0,
5189 		0, 0,
5190 	},
5191 	{
5192 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
5193 		0, 0, NPC_S_KPU12_TU_IP6, 18, 1,
5194 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_STAG, 0, 0,
5195 		0, 0,
5196 	},
5197 	{
5198 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5199 		0, 0, NPC_S_KPU12_TU_ARP, 18, 1,
5200 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_STAG, 0, 0,
5201 		0, 0,
5202 	},
5203 	{
5204 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5205 		0, 1, NPC_S_NA, 0, 1,
5206 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_STAG_UNK, 0, 0,
5207 		0, 0,
5208 	},
5209 	{
5210 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
5211 		0, 0, NPC_S_KPU12_TU_IP, 22, 1,
5212 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_QINQ_CTAG, 0, 0,
5213 		0, 0,
5214 	},
5215 	{
5216 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
5217 		0, 0, NPC_S_KPU12_TU_IP6, 22, 1,
5218 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_QINQ_CTAG, 0, 0,
5219 		0, 0,
5220 	},
5221 	{
5222 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5223 		0, 0, NPC_S_KPU12_TU_ARP, 22, 1,
5224 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_QINQ_CTAG, 0, 0,
5225 		0, 0,
5226 	},
5227 	{
5228 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5229 		0, 1, NPC_S_NA, 0, 1,
5230 		NPC_LID_LE, NPC_LT_LE_TU_ETHER,
5231 		NPC_F_TU_ETHER_QINQ_CTAG_UNK, 0, 0, 0, 0,
5232 	},
5233 	{
5234 		NPC_ERRLEV_RE, NPC_EC_NOERR, 8, 0, 0,
5235 		0, 0, NPC_S_KPU12_TU_IP, 18, 1,
5236 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_QINQ, 0, 0,
5237 		0, 0,
5238 	},
5239 	{
5240 		NPC_ERRLEV_RE, NPC_EC_NOERR, 6, 0, 0,
5241 		0, 0, NPC_S_KPU12_TU_IP6, 18, 1,
5242 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_QINQ, 0, 0,
5243 		0, 0,
5244 	},
5245 	{
5246 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5247 		0, 0, NPC_S_KPU12_TU_ARP, 18, 1,
5248 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_QINQ, 0, 0,
5249 		0, 0,
5250 	},
5251 	{
5252 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5253 		0, 1, NPC_S_NA, 0, 1,
5254 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_QINQ_UNK, 0, 0,
5255 		0, 0,
5256 	},
5257 	{
5258 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5259 		0, 1, NPC_S_NA, 0, 1,
5260 		NPC_LID_LE, NPC_LT_LE_TU_ETHER, NPC_F_TU_ETHER_UNK, 0, 0,
5261 		0, 0,
5262 	},
5263 	{
5264 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5265 		0, 1, NPC_S_NA, 0, 1,
5266 		NPC_LID_LE, NPC_LT_LE_TU_PPP, 0, 0, 0,
5267 		0, 0,
5268 	},
5269 	{
5270 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5271 		0, 1, NPC_S_NA, 0, 1,
5272 		NPC_LID_LE, NPC_LT_LE_TU_MPLS_IN_NSH, 0, 0, 0,
5273 		0, 0,
5274 	},
5275 	{
5276 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5277 		0, 1, NPC_S_NA, 0, 1,
5278 		NPC_LID_LE, NPC_LT_LE_TU_3RD_NSH, 0, 0, 0,
5279 		0, 0,
5280 	},
5281 	{
5282 		NPC_ERRLEV_LE, NPC_EC_UNK, 0, 0, 0,
5283 		0, 1, NPC_S_NA, 0, 0,
5284 		NPC_LID_LE, NPC_LT_NA, 0, 0, 0,
5285 		0, 0,
5286 	},
5287 };
5288 
5289 static struct npc_kpu_profile_action kpu12_action_entries[] = {
5290 	{
5291 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 12, 0,
5292 		2, 0, NPC_S_KPU15_TU_TCP, 20, 1,
5293 		NPC_LID_LF, NPC_LT_LF_TU_IP, 0, 0, 0,
5294 		0, 0,
5295 	},
5296 	{
5297 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
5298 		2, 0, NPC_S_KPU15_TU_UDP, 20, 1,
5299 		NPC_LID_LF, NPC_LT_LF_TU_IP, 0, 0, 0,
5300 		0, 0,
5301 	},
5302 	{
5303 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5304 		2, 0, NPC_S_KPU15_TU_SCTP, 20, 1,
5305 		NPC_LID_LF, NPC_LT_LF_TU_IP, 0, 0, 0,
5306 		0, 0,
5307 	},
5308 	{
5309 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5310 		2, 0, NPC_S_KPU15_TU_ICMP, 20, 1,
5311 		NPC_LID_LF, NPC_LT_LF_TU_IP, 0, 0, 0,
5312 		0, 0,
5313 	},
5314 	{
5315 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5316 		2, 0, NPC_S_KPU15_TU_IGMP, 20, 1,
5317 		NPC_LID_LF, NPC_LT_LF_TU_IP, 0, 0, 0,
5318 		0, 0,
5319 	},
5320 	{
5321 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5322 		2, 0, NPC_S_KPU15_TU_ESP, 20, 1,
5323 		NPC_LID_LF, NPC_LT_LF_TU_IP, 0, 0, 0,
5324 		0, 0,
5325 	},
5326 	{
5327 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5328 		2, 0, NPC_S_KPU15_TU_AH, 20, 1,
5329 		NPC_LID_LF, NPC_LT_LF_TU_IP, 0, 0, 0,
5330 		0, 0,
5331 	},
5332 	{
5333 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5334 		0, 1, NPC_S_NA, 0, 1,
5335 		NPC_LID_LF, NPC_LT_LF_TU_IP, NPC_F_IP_UNK_PROTO, 0, 0,
5336 		0, 0,
5337 	},
5338 	{
5339 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 12, 0,
5340 		2, 0, NPC_S_KPU15_TU_TCP, 0, 1,
5341 		NPC_LID_LF, NPC_LT_LF_TU_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
5342 		0, 2,
5343 	},
5344 	{
5345 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
5346 		2, 0, NPC_S_KPU15_TU_UDP, 0, 1,
5347 		NPC_LID_LF, NPC_LT_LF_TU_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
5348 		0, 2,
5349 	},
5350 	{
5351 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5352 		2, 0, NPC_S_KPU15_TU_SCTP, 0, 1,
5353 		NPC_LID_LF, NPC_LT_LF_TU_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
5354 		0, 2,
5355 	},
5356 	{
5357 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5358 		2, 0, NPC_S_KPU15_TU_ICMP, 0, 1,
5359 		NPC_LID_LF, NPC_LT_LF_TU_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
5360 		0, 2,
5361 	},
5362 	{
5363 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5364 		2, 0, NPC_S_KPU15_TU_IGMP, 0, 1,
5365 		NPC_LID_LF, NPC_LT_LF_TU_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
5366 		0, 2,
5367 	},
5368 	{
5369 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5370 		2, 0, NPC_S_KPU15_TU_ESP, 0, 1,
5371 		NPC_LID_LF, NPC_LT_LF_TU_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
5372 		0, 2,
5373 	},
5374 	{
5375 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5376 		2, 0, NPC_S_KPU15_TU_AH, 0, 1,
5377 		NPC_LID_LF, NPC_LT_LF_TU_IP, NPC_F_IP_HAS_OPTIONS, 0, 0xf,
5378 		0, 2,
5379 	},
5380 	{
5381 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5382 		0, 1, NPC_S_NA, 0, 1,
5383 		NPC_LID_LF, NPC_LT_LF_TU_IP,
5384 		NPC_F_IP_UNK_PROTO_HAS_OPTIONS, 0, 0, 0, 0,
5385 	},
5386 	{
5387 		NPC_ERRLEV_LF, NPC_EC_IP_VER, 0, 0, 0,
5388 		0, 1, NPC_S_NA, 0, 1,
5389 		NPC_LID_LF, NPC_LT_LF_TU_IP, 0, 0, 0,
5390 		0, 0,
5391 	},
5392 	{
5393 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5394 		0, 1, NPC_S_NA, 0, 1,
5395 		NPC_LID_LF, NPC_LT_LF_TU_ARP, 0, 0, 0,
5396 		0, 0,
5397 	},
5398 	{
5399 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 12, 0,
5400 		2, 0, NPC_S_KPU15_TU_TCP, 40, 1,
5401 		NPC_LID_LF, NPC_LT_LF_TU_IP6, 0, 0, 0,
5402 		0, 0,
5403 	},
5404 	{
5405 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
5406 		2, 0, NPC_S_KPU15_TU_UDP, 40, 1,
5407 		NPC_LID_LF, NPC_LT_LF_TU_IP6, 0, 0, 0,
5408 		0, 0,
5409 	},
5410 	{
5411 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5412 		2, 0, NPC_S_KPU15_TU_SCTP, 40, 1,
5413 		NPC_LID_LF, NPC_LT_LF_TU_IP6, 0, 0, 0,
5414 		0, 0,
5415 	},
5416 	{
5417 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5418 		2, 0, NPC_S_KPU15_TU_ICMP, 40, 1,
5419 		NPC_LID_LF, NPC_LT_LF_TU_IP6, 0, 0, 0,
5420 		0, 0,
5421 	},
5422 	{
5423 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5424 		2, 0, NPC_S_KPU15_TU_ICMP6, 40, 1,
5425 		NPC_LID_LF, NPC_LT_LF_TU_IP6, 0, 0, 0,
5426 		0, 0,
5427 	},
5428 	{
5429 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5430 		2, 0, NPC_S_KPU15_TU_ESP, 40, 1,
5431 		NPC_LID_LC, NPC_LT_LF_TU_IP6, 0, 0, 0,
5432 		0, 0,
5433 	},
5434 	{
5435 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5436 		2, 0, NPC_S_KPU15_TU_AH, 40, 1,
5437 		NPC_LID_LC, NPC_LT_LF_TU_IP6, 0, 0, 0,
5438 		0, 0,
5439 	},
5440 	{
5441 		NPC_ERRLEV_RE, NPC_EC_NOERR, 2, 0, 0,
5442 		0, 0, NPC_S_KPU13_TU_IP6_EXT, 0, 1,
5443 		NPC_LID_LF, NPC_LT_LF_TU_IP6, NPC_F_IP6_HAS_EXT, 0, 0,
5444 		0, 0,
5445 	},
5446 	{
5447 		NPC_ERRLEV_LF, NPC_EC_IP6_VER, 0, 0, 0,
5448 		0, 1, NPC_S_NA, 0, 1,
5449 		NPC_LID_LF, NPC_LT_LF_TU_IP6, 0, 0, 0,
5450 		0, 0,
5451 	},
5452 	{
5453 		NPC_ERRLEV_LF, NPC_EC_UNK, 0, 0, 0,
5454 		0, 1, NPC_S_NA, 0, 0,
5455 		NPC_LID_LF, NPC_LT_NA, 0, 0, 0,
5456 		0, 0,
5457 	},
5458 };
5459 
5460 static struct npc_kpu_profile_action kpu13_action_entries[] = {
5461 	{
5462 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5463 		0, 1, NPC_S_NA, 0, 0,
5464 		NPC_LID_LC, NPC_LT_NA, 0, 0, 0,
5465 		0, 0,
5466 	},
5467 };
5468 
5469 static struct npc_kpu_profile_action kpu14_action_entries[] = {
5470 	{
5471 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5472 		0, 1, NPC_S_NA, 0, 0,
5473 		NPC_LID_LC, NPC_LT_NA, 0, 0, 0,
5474 		0, 0,
5475 	},
5476 };
5477 
5478 static struct npc_kpu_profile_action kpu15_action_entries[] = {
5479 	{
5480 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5481 		0, 0, NPC_S_KPU16_HTTP_DATA, 20, 1,
5482 		NPC_LID_LG, NPC_LT_LG_TU_TCP, NPC_F_TCP_HTTP, 0, 0,
5483 		0, 0,
5484 	},
5485 	{
5486 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5487 		0, 0, NPC_S_KPU16_HTTPS_DATA, 20, 1,
5488 		NPC_LID_LG, NPC_LT_LG_TU_TCP, NPC_F_TCP_HTTPS, 0, 0,
5489 		0, 0,
5490 	},
5491 	{
5492 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5493 		0, 0, NPC_S_KPU16_PPTP_DATA, 20, 1,
5494 		NPC_LID_LD, NPC_LT_LG_TU_TCP, NPC_F_TCP_PPTP, 0, 0,
5495 		0, 0,
5496 	},
5497 	{
5498 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5499 		0, 0, NPC_S_KPU16_TCP_DATA, 20, 1,
5500 		NPC_LID_LG, NPC_LT_LG_TU_TCP, NPC_F_TCP_UNK_PORT, 0, 0,
5501 		0, 0,
5502 	},
5503 	{
5504 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5505 		0, 0, NPC_S_KPU16_HTTP_DATA, 0, 1,
5506 		NPC_LID_LG, NPC_LT_LG_TU_TCP, NPC_F_TCP_HTTP_HAS_OPTIONS,
5507 		12, 0xf0, 1, 2,
5508 	},
5509 	{
5510 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5511 		0, 0, NPC_S_KPU16_HTTPS_DATA, 0, 1,
5512 		NPC_LID_LG, NPC_LT_LG_TU_TCP, NPC_F_TCP_HTTPS_HAS_OPTIONS,
5513 		12, 0xf0, 1, 2,
5514 	},
5515 	{
5516 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5517 		0, 0, NPC_S_KPU16_PPTP_DATA, 0, 1,
5518 		NPC_LID_LG, NPC_LT_LG_TU_TCP, NPC_F_TCP_PPTP_HAS_OPTIONS,
5519 		12, 0xf0, 1, 2,
5520 	},
5521 	{
5522 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5523 		0, 0, NPC_S_KPU16_TCP_DATA, 0, 1,
5524 		NPC_LID_LG, NPC_LT_LG_TU_TCP, NPC_F_TCP_UNK_PORT_HAS_OPTIONS,
5525 		12, 0xf0, 1, 2,
5526 	},
5527 	{
5528 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5529 		0, 0, NPC_S_KPU16_UDP_DATA, 8, 1,
5530 		NPC_LID_LG, NPC_LT_LG_TU_UDP, NPC_F_UDP_UNK_PORT, 0, 0,
5531 		0, 0,
5532 	},
5533 	{
5534 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5535 		0, 1, NPC_S_NA, 0, 1,
5536 		NPC_LID_LG, NPC_LT_LG_TU_SCTP, 0, 0, 0,
5537 		0, 0,
5538 	},
5539 	{
5540 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5541 		0, 1, NPC_S_NA, 0, 1,
5542 		NPC_LID_LG, NPC_LT_LG_TU_ICMP, 0, 0, 0,
5543 		0, 0,
5544 	},
5545 	{
5546 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5547 		0, 1, NPC_S_NA, 0, 1,
5548 		NPC_LID_LG, NPC_LT_LG_TU_IGMP, 0, 0, 0,
5549 		0, 0,
5550 	},
5551 	{
5552 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5553 		0, 1, NPC_S_NA, 0, 1,
5554 		NPC_LID_LG, NPC_LT_LG_TU_ICMP6, 0, 0, 0,
5555 		0, 0,
5556 	},
5557 	{
5558 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5559 		0, 1, NPC_S_NA, 0, 1,
5560 		NPC_LID_LG, NPC_LT_LG_TU_ESP, 0, 0, 0,
5561 		0, 0,
5562 	},
5563 	{
5564 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5565 		0, 1, NPC_S_NA, 0, 1,
5566 		NPC_LID_LG, NPC_LT_LG_TU_AH, 0, 0, 0,
5567 		0, 0,
5568 	},
5569 	{
5570 		NPC_ERRLEV_LG, NPC_EC_L4, 0, 0, 0,
5571 		0, 1, NPC_S_NA, 0, 0,
5572 		NPC_LID_LG, NPC_LT_NA, 0, 0, 0,
5573 		0, 0,
5574 	},
5575 };
5576 
5577 static struct npc_kpu_profile_action kpu16_action_entries[] = {
5578 	{
5579 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5580 		0, 1, NPC_S_NA, 0, 1,
5581 		NPC_LID_LH, NPC_LT_LH_TCP_DATA, 0, 0, 0,
5582 		0, 0,
5583 	},
5584 	{
5585 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5586 		0, 1, NPC_S_NA, 0, 1,
5587 		NPC_LID_LH, NPC_LT_LH_HTTP_DATA, 0, 0, 0,
5588 		0, 0,
5589 	},
5590 	{
5591 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5592 		0, 1, NPC_S_NA, 0, 1,
5593 		NPC_LID_LH, NPC_LT_LH_HTTPS_DATA, 0, 0, 0,
5594 		0, 0,
5595 	},
5596 	{
5597 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5598 		0, 1, NPC_S_NA, 0, 1,
5599 		NPC_LID_LH, NPC_LT_LH_PPTP_DATA, 0, 0, 0,
5600 		0, 0,
5601 	},
5602 	{
5603 		NPC_ERRLEV_RE, NPC_EC_NOERR, 0, 0, 0,
5604 		0, 1, NPC_S_NA, 0, 1,
5605 		NPC_LID_LH, NPC_LT_LH_UDP_DATA, 0, 0, 0,
5606 		0, 0,
5607 	},
5608 };
5609 
5610 static struct npc_kpu_profile npc_kpu_profiles[] = {
5611 	{
5612 		ARRAY_SIZE(kpu1_cam_entries),
5613 		ARRAY_SIZE(kpu1_action_entries),
5614 		&kpu1_cam_entries[0],
5615 		&kpu1_action_entries[0],
5616 	},
5617 	{
5618 		ARRAY_SIZE(kpu2_cam_entries),
5619 		ARRAY_SIZE(kpu2_action_entries),
5620 		&kpu2_cam_entries[0],
5621 		&kpu2_action_entries[0],
5622 	},
5623 	{
5624 		ARRAY_SIZE(kpu3_cam_entries),
5625 		ARRAY_SIZE(kpu3_action_entries),
5626 		&kpu3_cam_entries[0],
5627 		&kpu3_action_entries[0],
5628 	},
5629 	{
5630 		ARRAY_SIZE(kpu4_cam_entries),
5631 		ARRAY_SIZE(kpu4_action_entries),
5632 		&kpu4_cam_entries[0],
5633 		&kpu4_action_entries[0],
5634 	},
5635 	{
5636 		ARRAY_SIZE(kpu5_cam_entries),
5637 		ARRAY_SIZE(kpu5_action_entries),
5638 		&kpu5_cam_entries[0],
5639 		&kpu5_action_entries[0],
5640 	},
5641 	{
5642 		ARRAY_SIZE(kpu6_cam_entries),
5643 		ARRAY_SIZE(kpu6_action_entries),
5644 		&kpu6_cam_entries[0],
5645 		&kpu6_action_entries[0],
5646 	},
5647 	{
5648 		ARRAY_SIZE(kpu7_cam_entries),
5649 		ARRAY_SIZE(kpu7_action_entries),
5650 		&kpu7_cam_entries[0],
5651 		&kpu7_action_entries[0],
5652 	},
5653 	{
5654 		ARRAY_SIZE(kpu8_cam_entries),
5655 		ARRAY_SIZE(kpu8_action_entries),
5656 		&kpu8_cam_entries[0],
5657 		&kpu8_action_entries[0],
5658 	},
5659 	{
5660 		ARRAY_SIZE(kpu9_cam_entries),
5661 		ARRAY_SIZE(kpu9_action_entries),
5662 		&kpu9_cam_entries[0],
5663 		&kpu9_action_entries[0],
5664 	},
5665 	{
5666 		ARRAY_SIZE(kpu10_cam_entries),
5667 		ARRAY_SIZE(kpu10_action_entries),
5668 		&kpu10_cam_entries[0],
5669 		&kpu10_action_entries[0],
5670 	},
5671 	{
5672 		ARRAY_SIZE(kpu11_cam_entries),
5673 		ARRAY_SIZE(kpu11_action_entries),
5674 		&kpu11_cam_entries[0],
5675 		&kpu11_action_entries[0],
5676 	},
5677 	{
5678 		ARRAY_SIZE(kpu12_cam_entries),
5679 		ARRAY_SIZE(kpu12_action_entries),
5680 		&kpu12_cam_entries[0],
5681 		&kpu12_action_entries[0],
5682 	},
5683 	{
5684 		ARRAY_SIZE(kpu13_cam_entries),
5685 		ARRAY_SIZE(kpu13_action_entries),
5686 		&kpu13_cam_entries[0],
5687 		&kpu13_action_entries[0],
5688 	},
5689 	{
5690 		ARRAY_SIZE(kpu14_cam_entries),
5691 		ARRAY_SIZE(kpu14_action_entries),
5692 		&kpu14_cam_entries[0],
5693 		&kpu14_action_entries[0],
5694 	},
5695 	{
5696 		ARRAY_SIZE(kpu15_cam_entries),
5697 		ARRAY_SIZE(kpu15_action_entries),
5698 		&kpu15_cam_entries[0],
5699 		&kpu15_action_entries[0],
5700 	},
5701 	{
5702 		ARRAY_SIZE(kpu16_cam_entries),
5703 		ARRAY_SIZE(kpu16_action_entries),
5704 		&kpu16_cam_entries[0],
5705 		&kpu16_action_entries[0],
5706 	},
5707 };
5708 
5709 #endif /* NPC_PROFILE_H */
5710